]> andersk Git - moira.git/blame - lib/mr_private.h
ANSIfy
[moira.git] / lib / mr_private.h
CommitLineData
e2a67c78 1/*
2 * $Source$
3 * $Author$
4 * $Header$
5 *
6 * Copyright (C) 1987 by the Massachusetts Institute of Technology
7 *
8defc06b 8 * Private declarations of the Moira library.
e2a67c78 9 */
10
8defc06b 11#include "mr_proto.h"
55ed894e 12
8defc06b 13extern CONNECTION _mr_conn;
14extern OPERATION _mr_send_op, _mr_recv_op;
55ed894e 15
8defc06b 16extern int mr_inited;
f9299e2e 17extern int sending_version_no;
55ed894e 18
19/*
20 * You are in a maze of twisty little FSM's, all different.
21 */
22
23#define S_RECV_START 1
24#define S_RECV_DATA 2
25#define S_DECODE_DATA 3
26
27#define EVER (;;)
28
8defc06b 29#define CHECK_CONNECTED {if (!_mr_conn) return MR_NOT_CONNECTED;}
83e80378 30
31/*
32 * There should be an include file for these..
33 */
34
35extern char *malloc();
36#ifndef htonl
37extern u_long htonl(), ntohl();
38extern u_short htons(), ntohs();
3fcd2703 39#endif /* htonl */
83e80378 40
41
42
This page took 0.620547 seconds and 5 git commands to generate.