Mercurial > hg > nginx
comparison src/http/ngx_http.h @ 6:669801705ab1
nginx-0.0.1-2002-08-26-19:18:19 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 26 Aug 2002 15:18:19 +0000 |
parents | c5f071d376e5 |
children | b5481d6fbbd4 |
comparison
equal
deleted
inserted
replaced
5:62b1a364857c | 6:669801705ab1 |
---|---|
68 typedef struct ngx_http_request_s ngx_http_request_t; | 68 typedef struct ngx_http_request_s ngx_http_request_t; |
69 | 69 |
70 struct ngx_http_request_s { | 70 struct ngx_http_request_s { |
71 char *filename; | 71 char *filename; |
72 char *location; | 72 char *location; |
73 ngx_file_t fd; | 73 ngx_fd_t fd; |
74 | 74 |
75 ngx_http_headers_out_t *headers_out; | 75 ngx_http_headers_out_t *headers_out; |
76 | 76 |
77 int filename_len; | 77 int filename_len; |
78 int (*handler)(ngx_http_request_t *r); | 78 int (*handler)(ngx_http_request_t *r); |
111 #ifdef NGX_EVENT | 111 #ifdef NGX_EVENT |
112 int (*state_handler)(ngx_http_request_t *r); | 112 int (*state_handler)(ngx_http_request_t *r); |
113 #endif | 113 #endif |
114 }; | 114 }; |
115 | 115 |
116 typedef struct { | |
117 char *action; | |
118 char *client; | |
119 char *url; | |
120 } ngx_http_log_ctx_t; | |
121 | |
116 | 122 |
117 #define NGX_INDEX "index.html" | 123 #define NGX_INDEX "index.html" |
118 | 124 |
119 | 125 |
120 int ngx_http_init_connection(ngx_connection_t *c); | 126 int ngx_http_init_connection(ngx_connection_t *c); |