Mercurial > hg > nginx-quic
comparison src/http/ngx_http.h @ 96:a23d010f356d
nginx-0.0.1-2003-05-27-16:18:54 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 27 May 2003 12:18:54 +0000 |
parents | 637625a2acdb |
children | a059e1aa65d4 |
comparison
equal
deleted
inserted
replaced
95:b48066122884 | 96:a23d010f356d |
---|---|
11 #include <ngx_files.h> | 11 #include <ngx_files.h> |
12 #include <ngx_connection.h> | 12 #include <ngx_connection.h> |
13 #include <ngx_conf_file.h> | 13 #include <ngx_conf_file.h> |
14 | 14 |
15 #include <ngx_http_request.h> | 15 #include <ngx_http_request.h> |
16 #include <ngx_http_config.h> | |
17 #include <ngx_http_core_module.h> | |
16 | 18 |
17 | 19 |
18 typedef struct { | 20 typedef struct { |
19 char *action; | 21 char *action; |
20 char *client; | 22 char *client; |
28 | 30 |
29 typedef int (*ngx_http_output_body_filter_p) | 31 typedef int (*ngx_http_output_body_filter_p) |
30 (ngx_http_request_t *r, ngx_chain_t *chain); | 32 (ngx_http_request_t *r, ngx_chain_t *chain); |
31 | 33 |
32 | 34 |
33 #define ngx_http_get_module_ctx(r, module) r->ctx[module.index] | 35 #define ngx_http_get_module_ctx(r, module) r->ctx[module.ctx_index] |
34 | 36 |
35 #define ngx_http_create_ctx(r, cx, module, size, error) \ | 37 #define ngx_http_create_ctx(r, cx, module, size, error) \ |
36 do { \ | 38 do { \ |
37 ngx_test_null(cx, ngx_pcalloc(r->pool, size), error); \ | 39 ngx_test_null(cx, ngx_pcalloc(r->pool, size), error); \ |
38 r->ctx[module.index] = cx; \ | 40 r->ctx[module.ctx_index] = cx; \ |
39 } while (0) | 41 } while (0) |
40 | 42 |
41 | 43 |
42 | 44 |
43 /* STUB */ | 45 /* STUB */ |