OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2001 Niels Provos <provos@citi.umich.edu> | 2 * Copyright 2001 Niels Provos <provos@citi.umich.edu> |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * This header file contains definitions for dealing with HTTP requests | 5 * This header file contains definitions for dealing with HTTP requests |
6 * that are internal to libevent. As user of the library, you should not | 6 * that are internal to libevent. As user of the library, you should not |
7 * need to know about these. | 7 * need to know about these. |
8 */ | 8 */ |
9 | 9 |
10 #ifndef _HTTP_H_ | 10 #ifndef _HTTP_H_ |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 void evhttp_make_header(struct evhttp_connection *, struct evhttp_request *); | 145 void evhttp_make_header(struct evhttp_connection *, struct evhttp_request *); |
146 | 146 |
147 void evhttp_write_buffer(struct evhttp_connection *, | 147 void evhttp_write_buffer(struct evhttp_connection *, |
148 void (*)(struct evhttp_connection *, void *), void *); | 148 void (*)(struct evhttp_connection *, void *), void *); |
149 | 149 |
150 /* response sending HTML the data in the buffer */ | 150 /* response sending HTML the data in the buffer */ |
151 void evhttp_response_code(struct evhttp_request *, int, const char *); | 151 void evhttp_response_code(struct evhttp_request *, int, const char *); |
152 void evhttp_send_page(struct evhttp_request *, struct evbuffer *); | 152 void evhttp_send_page(struct evhttp_request *, struct evbuffer *); |
153 | 153 |
154 #endif /* _HTTP_H */ | 154 #endif /* _HTTP_H */ |
OLD | NEW |