diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2003-07-07 06:11:50 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2003-07-07 06:11:50 +0000 |
| commit | 9d639520aa95f0ff3882ea348d4347f69cbae493 (patch) | |
| tree | a163ada230b77745dc9117df4a2a5dce756115cc /src/core/ngx_conf_file.h | |
| parent | 340b03b201c77f394cc70fda4d960ad6c3b68905 (diff) | |
| download | nginx-9d639520aa95f0ff3882ea348d4347f69cbae493.tar.gz nginx-9d639520aa95f0ff3882ea348d4347f69cbae493.tar.bz2 | |
nginx-0.0.1-2003-07-07-10:11:50 import
Diffstat (limited to 'src/core/ngx_conf_file.h')
| -rw-r--r-- | src/core/ngx_conf_file.h | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/src/core/ngx_conf_file.h b/src/core/ngx_conf_file.h index 7e0010d1e..87670c7f6 100644 --- a/src/core/ngx_conf_file.h +++ b/src/core/ngx_conf_file.h @@ -63,13 +63,21 @@ struct ngx_open_file_s { struct ngx_cycle_s { - void ****conf_ctx; - ngx_pool_t *pool; - ngx_log_t *log; - ngx_array_t listening; - ngx_array_t open_files; + void ****conf_ctx; + ngx_pool_t *pool; + ngx_log_t *log; + ngx_array_t listening; + ngx_array_t open_files; - unsigned one_process:1; + int connection_n; + ngx_connection_t *connections; + ngx_event_t *read_events; + ngx_event_t *write_events; + + ngx_cycle_t *cycle; + ngx_cycle_t *old_cycle; + + unsigned one_process:1; }; @@ -178,7 +186,7 @@ char *ngx_conf_set_time_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); extern ngx_module_t *ngx_modules[]; -extern ngx_cycle_t ngx_cycle; - +extern ngx_cycle_t *ngx_cycle; +extern ngx_array_t ngx_old_cycles; #endif /* _NGX_HTTP_CONF_FILE_H_INCLUDED_ */ |
