Mercurial > hg > nginx
comparison src/http/ngx_http.h @ 191:71ce40b3c37b
nginx-0.0.1-2003-11-19-19:26:41 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 19 Nov 2003 16:26:41 +0000 |
parents | 02a715e85df1 |
children | 0b81c7a0b133 |
comparison
equal
deleted
inserted
replaced
190:02a715e85df1 | 191:71ce40b3c37b |
---|---|
14 #include <ngx_http_log_handler.h> | 14 #include <ngx_http_log_handler.h> |
15 #include <ngx_http_core_module.h> | 15 #include <ngx_http_core_module.h> |
16 | 16 |
17 | 17 |
18 typedef struct { | 18 typedef struct { |
19 char *action; | 19 u_int connection; |
20 char *client; | 20 char *action; |
21 char *url; | 21 char *client; |
22 char *url; | |
22 } ngx_http_log_ctx_t; | 23 } ngx_http_log_ctx_t; |
23 | 24 |
24 | 25 |
25 #define ngx_http_get_module_ctx(r, module) r->ctx[module.ctx_index] | 26 #define ngx_http_get_module_ctx(r, module) r->ctx[module.ctx_index] |
26 #define ngx_http_get_module_err_ctx(r, module) \ | 27 #define ngx_http_get_module_err_ctx(r, module) \ |
50 int ngx_http_find_server_conf(ngx_http_request_t *r); | 51 int ngx_http_find_server_conf(ngx_http_request_t *r); |
51 void ngx_http_handler(ngx_http_request_t *r); | 52 void ngx_http_handler(ngx_http_request_t *r); |
52 void ngx_http_finalize_request(ngx_http_request_t *r, int error); | 53 void ngx_http_finalize_request(ngx_http_request_t *r, int error); |
53 void ngx_http_writer(ngx_event_t *wev); | 54 void ngx_http_writer(ngx_event_t *wev); |
54 | 55 |
56 void ngx_http_empty_handler(ngx_event_t *wev); | |
55 | 57 |
56 int ngx_http_send_last(ngx_http_request_t *r); | 58 int ngx_http_send_last(ngx_http_request_t *r); |
57 void ngx_http_close_request(ngx_http_request_t *r, int error); | 59 void ngx_http_close_request(ngx_http_request_t *r, int error); |
58 void ngx_http_close_connection(ngx_connection_t *c); | 60 void ngx_http_close_connection(ngx_connection_t *c); |
59 | 61 |