X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/e2a67c78ae291e815fba7a2a859b8a1205ec757d..refs/heads/LOCKING:/lib/mr_private.h diff --git a/lib/mr_private.h b/lib/mr_private.h index 91f925b6..720c3cdc 100644 --- a/lib/mr_private.h +++ b/lib/mr_private.h @@ -5,14 +5,38 @@ * * Copyright (C) 1987 by the Massachusetts Institute of Technology * - * Private declarations of the SMS library. - * - * $Log$ - * Revision 1.1 1987-05-20 03:12:00 wesommer - * Initial revision - * + * Private declarations of the Moira library. + */ + +#include "mr_proto.h" + +extern CONNECTION _mr_conn; +extern OPERATION _mr_send_op, _mr_recv_op; + +extern int mr_inited; +extern int sending_version_no; + +/* + * You are in a maze of twisty little FSM's, all different. */ -#include -#include +#define S_RECV_START 1 +#define S_RECV_DATA 2 +#define S_DECODE_DATA 3 + +#define EVER (;;) + +#define CHECK_CONNECTED {if (!_mr_conn) return MR_NOT_CONNECTED;} + +/* + * There should be an include file for these.. + */ + +extern char *malloc(); +#ifndef htonl +extern u_long htonl(), ntohl(); +extern u_short htons(), ntohs(); +#endif /* htonl */ + +