Mercurial > hg > nginx
comparison src/core/ngx_conf_file.h @ 118:5bf52498665c
nginx-0.0.1-2003-07-18-18:44:05 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 18 Jul 2003 14:44:05 +0000 |
parents | f6e3c5d019b6 |
children | cd54bcbaf3b5 |
comparison
equal
deleted
inserted
replaced
117:f6e3c5d019b6 | 118:5bf52498665c |
---|---|
122 | 122 |
123 | 123 |
124 #define ngx_get_conf(conf_ctx, module) conf_ctx[module.index] | 124 #define ngx_get_conf(conf_ctx, module) conf_ctx[module.index] |
125 | 125 |
126 | 126 |
127 | |
127 #define ngx_conf_init_value(conf, default) \ | 128 #define ngx_conf_init_value(conf, default) \ |
128 if (conf == NGX_CONF_UNSET) { \ | 129 if (conf == NGX_CONF_UNSET) { \ |
129 conf = default; \ | 130 conf = default; \ |
130 } | 131 } |
131 | 132 |
175 | 176 |
176 | 177 |
177 char *ngx_conf_parse(ngx_conf_t *cf, ngx_str_t *filename); | 178 char *ngx_conf_parse(ngx_conf_t *cf, ngx_str_t *filename); |
178 | 179 |
179 | 180 |
181 void ngx_conf_log_error(int level, ngx_conf_t *cf, ngx_err_t err, | |
182 char *fmt, ...); | |
183 | |
184 | |
180 char *ngx_conf_set_flag_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); | 185 char *ngx_conf_set_flag_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); |
181 char *ngx_conf_set_str_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); | 186 char *ngx_conf_set_str_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); |
182 char *ngx_conf_set_num_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); | 187 char *ngx_conf_set_num_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); |
183 char *ngx_conf_set_size_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); | 188 char *ngx_conf_set_size_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); |
184 char *ngx_conf_set_msec_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); | 189 char *ngx_conf_set_msec_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); |
185 char *ngx_conf_set_time_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); | 190 char *ngx_conf_set_time_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); |
186 | 191 |
187 char *ngx_conf_set_core_flag_slot(ngx_conf_t *cf, ngx_command_t *cmd, | 192 char *ngx_conf_set_core_flag_slot(ngx_conf_t *cf, ngx_command_t *cmd, |
188 void *conf); | 193 void *conf); |
189 | 194 |
190 extern ngx_module_t *ngx_modules[]; | 195 extern ngx_module_t *ngx_modules[]; |
191 extern ngx_cycle_t *ngx_cycle; | 196 extern ngx_cycle_t *ngx_cycle; |
192 extern ngx_array_t ngx_old_cycles; | 197 extern ngx_array_t ngx_old_cycles; |
193 | 198 |