]> andersk Git - moira.git/blame - lib/mr_private.h
oops. put :s in RCS $Id strings so RCS notices them and DTRT
[moira.git] / lib / mr_private.h
CommitLineData
fa59b86f 1/* $Id$
e2a67c78 2 *
7ac48069 3 * Private declarations of the Moira library.
e2a67c78 4 *
7ac48069 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>.
e2a67c78 8 */
9
8defc06b 10#include "mr_proto.h"
55ed894e 11
8defc06b 12extern CONNECTION _mr_conn;
13extern OPERATION _mr_send_op, _mr_recv_op;
55ed894e 14
8defc06b 15extern int mr_inited;
f9299e2e 16extern int sending_version_no;
55ed894e 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 (;;)
5eaef520 27
8defc06b 28#define CHECK_CONNECTED {if (!_mr_conn) return MR_NOT_CONNECTED;}
7ac48069 29
30/* prototypes from mr_call.h */
31int mr_do_call(struct mr_params *params, struct mr_params **reply);
32
33/* prototypes from mr_init.c */
34void mr_init(void);
35
36/* prototypes from mr_ops.c */
37int mr_complete_operation(OPERATION op);
38
39/* prototypes from mr_params.c */
40int mr_cont_send(OPERATION op, HALF_CONNECTION hcon, struct mr_params *arg);
41int mr_cont_recv(OPERATION op, HALF_CONNECTION hcon, mr_params **argp);
This page took 0.132504 seconds and 5 git commands to generate.