From e0207bb8eb230d4750c4f328af9afbb79051a026 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 23 Jun 2004 15:18:17 +0000 Subject: nginx-0.0.7-2004-06-23-19:18:17 import --- src/os/unix/ngx_process_cycle.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/os/unix/ngx_process_cycle.h') diff --git a/src/os/unix/ngx_process_cycle.h b/src/os/unix/ngx_process_cycle.h index 7d0053afc..b0a7d62bc 100644 --- a/src/os/unix/ngx_process_cycle.h +++ b/src/os/unix/ngx_process_cycle.h @@ -13,14 +13,6 @@ #define NGX_CMD_REOPEN 5 -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; @@ -36,16 +28,11 @@ void ngx_master_process_cycle(ngx_cycle_t *cycle, ngx_master_ctx_t *ctx); 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; -- cgit