| 39 extern "C" { |
39 extern "C" { |
| 40 #endif |
40 #endif |
| 41 |
41 |
| 42 void protocol_status(Session *sn, Request *rq, int n, const char *m); |
42 void protocol_status(Session *sn, Request *rq, int n, const char *m); |
| 43 const char* protocol_status_message(int code); |
43 const char* protocol_status_message(int code); |
| |
44 cxstring protocol_status_message_s(int code); |
| 44 |
45 |
| 45 void add_http_status_line(CxBuffer *out, pool_handle_t *pool, Request *rq); |
46 void add_http_status_line(CxBuffer *out, pool_handle_t *pool, Request *rq); |
| 46 void add_http_response_header(CxBuffer *out, Request *rq); |
47 void add_http_response_header(CxBuffer *out, Request *rq); |
| 47 |
48 |
| 48 int http_start_response(Session *sn, Request *rq); |
49 int http_start_response(Session *sn, Request *rq); |