* Private declarations of the SMS library.
*
* $Log$
- * Revision 1.1 1987-05-20 03:12:00 wesommer
- * Initial revision
+ * 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
+ *
*/
-#include <gdb.h>
-#include <sms.h>
+#include "sms_proto.h"
+
+extern CONNECTION _sms_conn;
+extern OPERATION _sms_send_op, _sms_recv_op;
+
+extern int sms_inited;
+extern int sending_version_no;
+
+/*
+ * You are in a maze of twisty little FSM's, all different.
+ */
+
+#define S_RECV_START 1
+#define S_RECV_DATA 2
+#define S_DECODE_DATA 3
+
+#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
+
+