6 * Copyright (C) 1987 by the Massachusetts Institute of Technology
8 * Private declarations of the SMS library.
11 * Revision 1.4 1988-04-19 12:42:49 mar
12 * declared version number variable
14 * Revision 1.3 87/06/16 17:48:39 wesommer
15 * Clean up memory allocation, indenting.
17 * Revision 1.2 87/05/31 22:07:06 wesommer
18 * Private data to the sms server and library.
20 * Revision 1.1 87/05/20 03:12:00 wesommer
25 #include "sms_proto.h"
27 extern CONNECTION _sms_conn;
28 extern OPERATION _sms_send_op, _sms_recv_op;
30 extern int sms_inited;
31 extern int sending_version_no;
34 * You are in a maze of twisty little FSM's, all different.
37 #define S_RECV_START 1
39 #define S_DECODE_DATA 3
43 #define CHECK_CONNECTED {if (!_sms_conn) return SMS_NOT_CONNECTED;}
46 * There should be an include file for these..
49 extern char *malloc();
51 extern u_long htonl(), ntohl();
52 extern u_short htons(), ntohs();