116 |
void print_http_headers(request * req); |
void print_http_headers(request * req); |
117 |
|
|
118 |
void send_r_request_ok(request * req); /* 200 */ |
void send_r_request_ok(request * req); /* 200 */ |
119 |
|
void send_r_request_partial(request * req); /* 206 */ |
120 |
void send_r_moved_perm(request * req, char *url); /* 301 */ |
void send_r_moved_perm(request * req, char *url); /* 301 */ |
121 |
void send_r_moved_temp(request * req, char *url, char *more_hdr); /* 302 */ |
void send_r_moved_temp(request * req, char *url, char *more_hdr); /* 302 */ |
122 |
void send_r_not_modified(request * req); /* 304 */ |
void send_r_not_modified(request * req); /* 304 */ |
124 |
void send_r_unauthorized(request * req, char *name); /* 401 */ |
void send_r_unauthorized(request * req, char *name); /* 401 */ |
125 |
void send_r_forbidden(request * req); /* 403 */ |
void send_r_forbidden(request * req); /* 403 */ |
126 |
void send_r_not_found(request * req); /* 404 */ |
void send_r_not_found(request * req); /* 404 */ |
127 |
|
void send_r_range_unsatisfiable(request * req); /* 416 */ |
128 |
void send_r_error(request * req); /* 500 */ |
void send_r_error(request * req); /* 500 */ |
129 |
void send_r_not_implemented(request * req); /* 501 */ |
void send_r_not_implemented(request * req); /* 501 */ |
130 |
void send_r_bad_gateway(request * req); /* 502 */ |
void send_r_bad_gateway(request * req); /* 502 */ |
157 |
void clean_pathname(char *pathname); |
void clean_pathname(char *pathname); |
158 |
void get_commonlog_time(char buf[30]); |
void get_commonlog_time(char buf[30]); |
159 |
void rfc822_time_buf(char *buf, time_t s); |
void rfc822_time_buf(char *buf, time_t s); |
160 |
void simple_itoa(unsigned int i, char buf[22]); |
void simple_itoa(unsigned long int i, char buf[22]); |
161 |
int boa_atoi(char *s); |
int boa_atoi(const char *s); |
162 |
char *escape_string(char *inp, char *buf); |
char *escape_string(char *inp, char *buf); |
163 |
int month2int(char *month); |
int month2int(char *month); |
164 |
int modified_since(time_t * mtime, char *if_modified_since); |
int modified_since(time_t * mtime, char *if_modified_since); |