comparison src/core/ngx_cycle.h @ 218:05592fd7a436

nginx-0.0.1-2004-01-05-23:55:48 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 05 Jan 2004 20:55:48 +0000
parents
children 8d5cce3ae221
comparison
equal deleted inserted replaced
217:c5d1cdcb04ec 218:05592fd7a436
1 #ifndef _NGX_CYCLE_H_INCLUDED_
2 #define _NGX_CYCLE_H_INCLUDED_
3
4
5 #include <ngx_config.h>
6 #include <ngx_core.h>
7
8
9 struct ngx_cycle_s {
10 void ****conf_ctx;
11 ngx_pool_t *pool;
12 ngx_log_t *log;
13 ngx_array_t listening;
14 ngx_array_t open_files;
15 ngx_array_t pathes;
16
17 int connection_n;
18 ngx_connection_t *connections;
19 ngx_event_t *read_events;
20 ngx_event_t *write_events;
21
22 ngx_cycle_t *old_cycle;
23
24 unsigned one_process:1;
25 };
26
27
28 ngx_cycle_t *ngx_init_cycle(ngx_cycle_t *old_cycle);
29 void ngx_reopen_files(ngx_cycle_t *cycle);
30
31
32 extern volatile ngx_cycle_t *ngx_cycle;
33 extern ngx_array_t ngx_old_cycles;
34
35
36 #endif /* _NGX_CYCLE_H_INCLUDED_ */