comparison src/core/ngx_conf_file.h @ 114:ac69ab96328d

nginx-0.0.1-2003-07-07-10:11:50 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 07 Jul 2003 06:11:50 +0000
parents d7f606e25b99
children f6e3c5d019b6
comparison
equal deleted inserted replaced
113:d7f606e25b99 114:ac69ab96328d
61 ngx_str_t name; 61 ngx_str_t name;
62 }; 62 };
63 63
64 64
65 struct ngx_cycle_s { 65 struct ngx_cycle_s {
66 void ****conf_ctx; 66 void ****conf_ctx;
67 ngx_pool_t *pool; 67 ngx_pool_t *pool;
68 ngx_log_t *log; 68 ngx_log_t *log;
69 ngx_array_t listening; 69 ngx_array_t listening;
70 ngx_array_t open_files; 70 ngx_array_t open_files;
71 71
72 unsigned one_process:1; 72 int connection_n;
73 ngx_connection_t *connections;
74 ngx_event_t *read_events;
75 ngx_event_t *write_events;
76
77 ngx_cycle_t *cycle;
78 ngx_cycle_t *old_cycle;
79
80 unsigned one_process:1;
73 }; 81 };
74 82
75 83
76 struct ngx_module_s { 84 struct ngx_module_s {
77 int ctx_index; 85 int ctx_index;
176 char *ngx_conf_set_msec_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);
177 char *ngx_conf_set_time_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);
178 186
179 187
180 extern ngx_module_t *ngx_modules[]; 188 extern ngx_module_t *ngx_modules[];
181 extern ngx_cycle_t ngx_cycle; 189 extern ngx_cycle_t *ngx_cycle;
182 190 extern ngx_array_t ngx_old_cycles;
183 191
184 #endif /* _NGX_HTTP_CONF_FILE_H_INCLUDED_ */ 192 #endif /* _NGX_HTTP_CONF_FILE_H_INCLUDED_ */