Mercurial > hg > nginx
comparison src/http/ngx_http.h @ 290:87e73f067470
nginx-0.0.2-2004-03-16-10:10:12 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Mar 2004 07:10:12 +0000 |
parents | 35a6a9df2d25 |
children | a472bfb778b3 |
comparison
equal
deleted
inserted
replaced
289:0750faf8d7e3 | 290:87e73f067470 |
---|---|
20 #include <ngx_http_log_handler.h> | 20 #include <ngx_http_log_handler.h> |
21 #include <ngx_http_core_module.h> | 21 #include <ngx_http_core_module.h> |
22 | 22 |
23 | 23 |
24 typedef struct { | 24 typedef struct { |
25 u_int connection; | 25 u_int connection; |
26 char *action; | 26 u_char *action; |
27 char *client; | 27 u_char *client; |
28 char *url; | 28 u_char *url; |
29 } ngx_http_log_ctx_t; | 29 } ngx_http_log_ctx_t; |
30 | 30 |
31 | 31 |
32 #define ngx_http_get_module_ctx(r, module) r->ctx[module.ctx_index] | 32 #define ngx_http_get_module_ctx(r, module) r->ctx[module.ctx_index] |
33 #define ngx_http_get_module_err_ctx(r, module) \ | 33 #define ngx_http_get_module_err_ctx(r, module) \ |
67 int ngx_http_send_last(ngx_http_request_t *r); | 67 int ngx_http_send_last(ngx_http_request_t *r); |
68 void ngx_http_close_request(ngx_http_request_t *r, int error); | 68 void ngx_http_close_request(ngx_http_request_t *r, int error); |
69 void ngx_http_close_connection(ngx_connection_t *c); | 69 void ngx_http_close_connection(ngx_connection_t *c); |
70 | 70 |
71 | 71 |
72 int ngx_http_read_client_request_body(ngx_http_request_t *r, | 72 ngx_int_t ngx_http_read_client_request_body(ngx_http_request_t *r, |
73 int request_buffer_size); | 73 size_t request_buffer_size); |
74 | 74 |
75 int ngx_http_send_header(ngx_http_request_t *r); | 75 int ngx_http_send_header(ngx_http_request_t *r); |
76 int ngx_http_special_response_handler(ngx_http_request_t *r, int error); | 76 int ngx_http_special_response_handler(ngx_http_request_t *r, int error); |
77 | 77 |
78 | 78 |
79 time_t ngx_http_parse_time(char *value, size_t len); | 79 time_t ngx_http_parse_time(u_char *value, size_t len); |
80 size_t ngx_http_get_time(char *buf, time_t t); | 80 size_t ngx_http_get_time(char *buf, time_t t); |
81 ngx_table_elt_t *ngx_http_add_header(void *header, | 81 ngx_table_elt_t *ngx_http_add_header(void *header, |
82 ngx_http_header_t *http_headers); | 82 ngx_http_header_t *http_headers); |
83 | 83 |
84 | 84 |