/* 4m v2.15 (ipcf.h)
 * (C) Copyright 1990 by Carrick Sean Casey
 * (C) Copyright 1993 by Scott Chasin and Michaeljon Miller
 *
 * 3-22-93 See file COPYING for copyright information.
 *
 * Protocol configuration
 *
 */

#include <sys/param.h>
#ifdef ESIX
# undef MAXHOSTNAMELEN
#endif

#define MAX_USERS	(NOFILE - 5)
#define USER_BUF_SIZE	2024
#define WARN		1
#define FATAL		2

/* packet input buffer */

struct Cbuf {
    char buf[USER_BUF_SIZE];
    char *rptr; /* pointer to location for next read */
    char new; /* set to 1 if next read is start of new data packet */
    unsigned char size;
    unsigned char remain; /* packet characters remaining to be read */
};
