]> andersk Git - moira.git/blobdiff - lib/mr_private.h
Diane Delgado's changes for a fixed table-locking order
[moira.git] / lib / mr_private.h
index 91f925b6c12bff98023f17f0483848d9ba7d1802..720c3cdce78d5eb5fa1ac3c5aaa6037837f034c4 100644 (file)
@@ -5,14 +5,38 @@
  *
  *     Copyright (C) 1987 by the Massachusetts Institute of Technology
  *
- *     Private declarations of the SMS library.
- * 
- *     $Log$
- *     Revision 1.1  1987-05-20 03:12:00  wesommer
- *     Initial revision
- *
+ *     Private declarations of the Moira library.
+ */
+
+#include "mr_proto.h"
+
+extern CONNECTION _mr_conn;
+extern OPERATION _mr_send_op, _mr_recv_op;
+
+extern int mr_inited;
+extern int sending_version_no;
+
+/*
+ * You are in a maze of twisty little FSM's, all different.
  */
 
-#include <gdb.h>
-#include <sms.h>
+#define S_RECV_START 1
+#define S_RECV_DATA 2
+#define S_DECODE_DATA 3
+
+#define EVER (;;)
+       
+#define CHECK_CONNECTED {if (!_mr_conn) return MR_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 */
+
+
 
This page took 0.044362 seconds and 4 git commands to generate.