Mercurial > hg > nginx-quic
diff src/core/ngx_cycle.h @ 278:0ba4821f4460
nginx-0.0.2-2004-03-04-10:04:55 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 04 Mar 2004 07:04:55 +0000 |
parents | e6938ca7331a |
children | 87e73f067470 |
line wrap: on
line diff
--- a/src/core/ngx_cycle.h +++ b/src/core/ngx_cycle.h @@ -25,12 +25,25 @@ struct ngx_cycle_s { }; +typedef struct { + ngx_flag_t daemon; + ngx_flag_t master; + ngx_flag_t worker_reopen; + ngx_uid_t user; + ngx_gid_t group; + ngx_str_t pid; + ngx_str_t newpid; +} ngx_core_conf_t; + + ngx_cycle_t *ngx_init_cycle(ngx_cycle_t *old_cycle); -void ngx_reopen_files(ngx_cycle_t *cycle, uid_t user); +void ngx_reopen_files(ngx_cycle_t *cycle, ngx_uid_t user); +ngx_pid_t ngx_exec_new_binary(ngx_cycle_t *cycle, char *const *argv); extern volatile ngx_cycle_t *ngx_cycle; extern ngx_array_t ngx_old_cycles; +extern ngx_module_t ngx_core_module; #endif /* _NGX_CYCLE_H_INCLUDED_ */