]> andersk Git - moira.git/blob - lib/mr_private.h
Private data to the sms server and library.
[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.2  1987-05-31 22:07:06  wesommer
12  *      Private data to the sms server and library.
13  *
14  * Revision 1.1  87/05/20  03:12:00  wesommer
15  * Initial revision
16  * 
17  */
18
19 #include <stdio.h>
20 #include <gdb.h>
21 #include <sms.h>
22
23 typedef struct sms_params {
24         int sms_size;
25         int sms_version_no;
26         union {
27                 int procno;     /* for call */
28                 int status;     /* for reply */
29         } u;
30 #define sms_procno u.procno
31 #define sms_status u.status
32         int sms_argc;
33         char **sms_argv;
34         int *sms_argl;
35         char *sms_flattened;
36         int sms_state;
37 } sms_params;
38
39 extern CONNECTION _sms_conn;
40
41 extern OPERATION _sms_send_op, _sms_recv_op;
42 extern int sms_start_recv(), sms_start_send();
43 extern int sms_inited;
44
45 #define SMS_GDB_SERV "sms:#8973"
46
47 /*
48  * You are in a maze of twisty little FSM's, all different.
49  */
50
51 #define S_RECV_START 1
52 #define S_RECV_DATA 2
53 #define S_DECODE_DATA 3
54
55 #define EVER (;;)
56         
This page took 0.091512 seconds and 5 git commands to generate.