aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_cycle.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-03-04 07:04:55 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-03-04 07:04:55 +0000
commita536298c7bd1f525db97facab814a2906214ee7f (patch)
tree201ef9d639e1ff100684bf0a6781f59602418e35 /src/core/ngx_cycle.h
parent5edf387f199efe5b67b2b81a00bc8404bea8365b (diff)
downloadnginx-a536298c7bd1f525db97facab814a2906214ee7f.tar.gz
nginx-a536298c7bd1f525db97facab814a2906214ee7f.zip
nginx-0.0.2-2004-03-04-10:04:55 import
Diffstat (limited to 'src/core/ngx_cycle.h')
-rw-r--r--src/core/ngx_cycle.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/core/ngx_cycle.h b/src/core/ngx_cycle.h
index d9f1a607b..4d301f94d 100644
--- 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_ */