]> andersk Git - moira.git/blobdiff - lib/mr_private.h
Fix another freeing-memory-we-didn't-malloc bug in AddMachine. This
[moira.git] / lib / mr_private.h
index 7bdf2125723be3c9da5ebe7bd85cebe31a1b52c0..d769f397439a80700bae540d82a75bdc852e0eb3 100644 (file)
@@ -5,29 +5,15 @@
  *
  *     Copyright (C) 1987 by the Massachusetts Institute of Technology
  *
- *     Private declarations of the SMS library.
- * 
- *     $Log$
- *     Revision 1.4  1988-04-19 12:42:49  mar
- *     declared version number variable
- *
- * Revision 1.3  87/06/16  17:48:39  wesommer
- * Clean up memory allocation, indenting.
- * 
- * Revision 1.2  87/05/31  22:07:06  wesommer
- * Private data to the sms server and library.
- * 
- * Revision 1.1  87/05/20  03:12:00  wesommer
- * Initial revision
- * 
+ *     Private declarations of the Moira library.
  */
 
-#include "sms_proto.h"
+#include "mr_proto.h"
 
-extern CONNECTION _sms_conn;
-extern OPERATION _sms_send_op, _sms_recv_op;
+extern CONNECTION _mr_conn;
+extern OPERATION _mr_send_op, _mr_recv_op;
 
-extern int sms_inited;
+extern int mr_inited;
 extern int sending_version_no;
 
 /*
@@ -40,17 +26,4 @@ extern int sending_version_no;
 
 #define EVER (;;)
        
-#define CHECK_CONNECTED {if (!_sms_conn) return SMS_NOT_CONNECTED;}
-
-/*
- * There should be an include file for these..
- */
-       
-extern char *malloc();
-#ifndef htonl
-extern u_long htonl(), ntohl();
-extern u_short htons(), ntohs();
-#endif htonl
-
-
-
+#define CHECK_CONNECTED {if (!_mr_conn) return MR_NOT_CONNECTED;}
This page took 0.036851 seconds and 4 git commands to generate.