version 1.5, 2000/12/19 22:48:08 |
version 1.6, 2000/12/19 23:17:58 |
|
|
* associated with file descriptor n is held in fdcon[n]. |
* associated with file descriptor n is held in fdcon[n]. |
*/ |
*/ |
typedef struct Connection { |
typedef struct Connection { |
unsigned char c_status; /* State of connection on this file desc. */ |
u_char c_status; /* State of connection on this file desc. */ |
#define CS_UNUSED 0 /* File descriptor unused */ |
#define CS_UNUSED 0 /* File descriptor unused */ |
#define CS_CON 1 /* Waiting to connect/read greeting */ |
#define CS_CON 1 /* Waiting to connect/read greeting */ |
#define CS_SIZE 2 /* Waiting to read initial packet size */ |
#define CS_SIZE 2 /* Waiting to read initial packet size */ |
|
|
|
|
typedef struct { |
typedef struct { |
char *buf; |
char *buf; |
unsigned int size; |
u_int size; |
int lineno; |
int lineno; |
const char *filename; |
const char *filename; |
FILE *stream; |
FILE *stream; |