]> andersk Git - moira.git/blob - lib/mr_private.h
Initial revision
[moira.git] / lib / mr_private.h
1 /*
2  *      $Source$
3  *      $Author$
4  *      $Header$
5  *
6  *      Copyright (C) 1987 by the Massachusetts Institute of Technology
7  *
8  *      Private declarations of the SMS library.
9  * 
10  *      $Log$
11  *      Revision 1.3  1987-06-16 17:48:39  wesommer
12  *      Clean up memory allocation, indenting.
13  *
14  * Revision 1.2  87/05/31  22:07:06  wesommer
15  * Private data to the sms server and library.
16  * 
17  * Revision 1.1  87/05/20  03:12:00  wesommer
18  * Initial revision
19  * 
20  */
21
22 #include "sms_proto.h"
23
24 extern CONNECTION _sms_conn;
25 extern OPERATION _sms_send_op, _sms_recv_op;
26
27 extern int sms_inited;
28
29 /*
30  * You are in a maze of twisty little FSM's, all different.
31  */
32
33 #define S_RECV_START 1
34 #define S_RECV_DATA 2
35 #define S_DECODE_DATA 3
36
37 #define EVER (;;)
38         
39 #define CHECK_CONNECTED {if (!_sms_conn) return SMS_NOT_CONNECTED;}
40
41 /*
42  * There should be an include file for these..
43  */
44         
45 extern char *malloc();
46 #ifndef htonl
47 extern u_long htonl(), ntohl();
48 extern u_short htons(), ntohs();
49 #endif htonl
50
51
52
This page took 0.037423 seconds and 5 git commands to generate.