]> andersk Git - moira.git/blob - lib/mr_private.h
906a233e512bdfaf698d377fbffac8e770fd5b0b
[moira.git] / lib / mr_private.h
1 /* $Id $
2  *
3  * Private declarations of the Moira library.
4  *
5  * Copyright (C) 1987-1998 by the Massachusetts Institute of Technology
6  * For copying and distribution information, please see the file
7  * <mit-copyright.h>.
8  */
9
10 #include "mr_proto.h"
11
12 extern CONNECTION _mr_conn;
13 extern OPERATION _mr_send_op, _mr_recv_op;
14
15 extern int mr_inited;
16 extern int sending_version_no;
17
18 /*
19  * You are in a maze of twisty little FSM's, all different.
20  */
21
22 #define S_RECV_START 1
23 #define S_RECV_DATA 2
24 #define S_DECODE_DATA 3
25
26 #define EVER (;;)
27
28 #define CHECK_CONNECTED {if (!_mr_conn) return MR_NOT_CONNECTED;}
29
30 /* prototypes from mr_call.h */
31 int mr_do_call(struct mr_params *params, struct mr_params **reply);
32
33 /* prototypes from mr_init.c */
34 void mr_init(void);
35
36 /* prototypes from mr_ops.c */
37 int mr_complete_operation(OPERATION op);
38
39 /* prototypes from mr_params.c */
40 int mr_cont_send(OPERATION op, HALF_CONNECTION hcon, struct mr_params *arg);
41 int mr_cont_recv(OPERATION op, HALF_CONNECTION hcon, mr_params **argp);
This page took 0.026103 seconds and 3 git commands to generate.