7 #define IBUF_SIZE 10240
21 struct http_header *next;
28 struct http_argument *next;
33 struct http_channel *channel;
34 char http_version[20];
41 struct http_header *headers;
42 struct http_argument *arguments;
49 struct http_channel *channel;
50 struct http_header *headers;
54 void http_init(int port);
55 void http_addheader(struct http_response *r, const char *name, const char *value);
56 char *argbyname(struct http_request *r, char *name);
57 char *headerbyname(struct http_request *r, char *name);
58 struct http_response *http_create_response(struct http_channel *c);