Mercurial > hg > nginx
diff src/os/unix/ngx_process_cycle.h @ 366:e411b1482ee3
nginx-0.0.7-2004-06-23-19:18:17 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 23 Jun 2004 15:18:17 +0000 |
parents | 239e37d44a34 |
children | d0451e402e27 |
line wrap: on
line diff
--- a/src/os/unix/ngx_process_cycle.h +++ b/src/os/unix/ngx_process_cycle.h @@ -14,14 +14,6 @@ typedef struct { - ngx_uint_t command; - ngx_pid_t pid; - ngx_int_t slot; - ngx_fd_t fd; -} ngx_channel_t; - - -typedef struct { int argc; char *const *argv; } ngx_master_ctx_t; @@ -36,16 +28,11 @@ void ngx_master_process_cycle(ngx_cycle_ void ngx_single_process_cycle(ngx_cycle_t *cycle, ngx_master_ctx_t *ctx); -ngx_int_t ngx_write_channel(ngx_socket_t s, ngx_channel_t *ch, size_t size, - ngx_log_t *log); -ngx_int_t ngx_read_channel(ngx_socket_t s, ngx_channel_t *ch, size_t size, - ngx_log_t *log); - - extern ngx_uint_t ngx_process; extern ngx_pid_t ngx_pid; extern ngx_pid_t ngx_new_binary; extern ngx_uint_t ngx_inherited; +extern ngx_uint_t ngx_daemonized; extern ngx_uint_t ngx_threaded; extern ngx_uint_t ngx_exiting;