comparison src/core/ngx_conf_file.h @ 98:c9b243802a17

nginx-0.0.1-2003-05-30-18:27:59 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 30 May 2003 14:27:59 +0000
parents a23d010f356d
children a059e1aa65d4
comparison
equal deleted inserted replaced
97:70d2345a903f 98:c9b243802a17
22 #define NGX_CONF_NOARGS 0x00000001 22 #define NGX_CONF_NOARGS 0x00000001
23 #define NGX_CONF_TAKE1 0x00000002 23 #define NGX_CONF_TAKE1 0x00000002
24 #define NGX_CONF_TAKE2 0x00000004 24 #define NGX_CONF_TAKE2 0x00000004
25 #define NGX_CONF_ARGS_NUMBER 0x0000ffff 25 #define NGX_CONF_ARGS_NUMBER 0x0000ffff
26 #define NGX_CONF_ANY 0x00010000 26 #define NGX_CONF_ANY 0x00010000
27 #define NGX_CONF_BLOCK 0x00020000 27 #define NGX_CONF_ANY1 0x00020000
28 #define NGX_CONF_FLAG 0x00040000 28 #define NGX_CONF_BLOCK 0x00040000
29 #define NGX_CONF_FLAG 0x00080000
29 30
30 #define NGX_MAIN_CONF 0x01000000 31 #define NGX_MAIN_CONF 0x01000000
31 32
32 33
33 34
81 int line; 82 int line;
82 } ngx_conf_file_t; 83 } ngx_conf_file_t;
83 84
84 85
85 typedef char *(*ngx_conf_handler_pt)(ngx_conf_t *cf, 86 typedef char *(*ngx_conf_handler_pt)(ngx_conf_t *cf,
86 ngx_command_t *dummy, char *conf); 87 ngx_command_t *dummy, void *conf);
87 88
88 89
89 struct ngx_conf_s { 90 struct ngx_conf_s {
90 char *name; 91 char *name;
91 ngx_array_t *args; 92 ngx_array_t *args;