]> andersk Git - moira.git/blame_incremental - lib/mr_private.h
posixify source
[moira.git] / lib / mr_private.h
... / ...
CommitLineData
1/*
2 * $Source$
3 * $Author$
4 * $Header$
5 *
6 * Copyright (C) 1987 by the Massachusetts Institute of Technology
7 *
8 * Private declarations of the Moira library.
9 */
10
11#include "mr_proto.h"
12
13extern CONNECTION _mr_conn;
14extern OPERATION _mr_send_op, _mr_recv_op;
15
16extern int mr_inited;
17extern int sending_version_no;
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
29#define CHECK_CONNECTED {if (!_mr_conn) return MR_NOT_CONNECTED;}
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();
39#endif /* htonl */
40
41
42
This page took 0.045189 seconds and 5 git commands to generate.