29 |
#define obstack_chunk_free free |
#define obstack_chunk_free free |
30 |
#include <obstack.h> |
#include <obstack.h> |
31 |
|
|
32 |
static int transfer_command(void *, void *, MESSAGE *msg, char *); |
static int transfer_command(void *, void *, MESSAGE *, char *); |
33 |
static void process_command(void *, void *, MESSAGE *msg, char *, int); |
static void process_command(void *, void *, MESSAGE *, char *, int); |
34 |
static void transfer_header(void *, void *, struct list *list); |
static void transfer_header(void *, void *, struct list *); |
35 |
static void transfer_body(void *, void *, MESSAGE *msg); |
static void transfer_body(void *, void *, MESSAGE *); |
36 |
static void process_data(void *sd_client, void *sd_server, MESSAGE *msg); |
static void process_data(void *, void *, MESSAGE *); |
37 |
|
|
38 |
|
|
39 |
/* Collect and send headers */ |
/* Collect and send headers */ |
127 |
do { |
do { |
128 |
swrite(CLIENT, sd_server, p); |
swrite(CLIENT, sd_server, p); |
129 |
swrite(CLIENT, sd_server, CRLF); |
swrite(CLIENT, sd_server, CRLF); |
130 |
} while (p = strtok(NULL, "\n")); |
} while ((p = strtok(NULL, "\n"))); |
131 |
} |
} |
132 |
|
|
133 |
static void |
static void |