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