#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>
static void ngx_destroy_cycle_pools(ngx_conf_t *conf);
static ngx_int_t ngx_init_zone_pool(ngx_cycle_t *cycle,
ngx_shm_zone_t *shm_zone);
static ngx_int_t ngx_test_lockfile(u_char *file, ngx_log_t *log);
static void ngx_clean_old_cycles(ngx_event_t *ev);
static void ngx_shutdown_timer_handler(ngx_event_t *ev);
volatile ngx_cycle_t *ngx_cycle;
ngx_array_t ngx_old_cycles;
static ngx_pool_t *ngx_temp_pool;
static ngx_event_t ngx_cleaner_event;
static ngx_event_t ngx_shutdown_event;
ngx_uint_t ngx_test_config;
ngx_uint_t ngx_dump_config;
ngx_uint_t ngx_quiet_mode;
static ngx_connection_t dumb;
ngx_cycle_t *
ngx_init_cycle(ngx_cycle_t *old_cycle)
{ … }
static void
ngx_destroy_cycle_pools(ngx_conf_t *conf)
{ … }
static ngx_int_t
ngx_init_zone_pool(ngx_cycle_t *cycle, ngx_shm_zone_t *zn)
{ … }
ngx_int_t
ngx_create_pidfile(ngx_str_t *name, ngx_log_t *log)
{ … }
void
ngx_delete_pidfile(ngx_cycle_t *cycle)
{ … }
ngx_int_t
ngx_signal_process(ngx_cycle_t *cycle, char *sig)
{ … }
static ngx_int_t
ngx_test_lockfile(u_char *file, ngx_log_t *log)
{ … }
void
ngx_reopen_files(ngx_cycle_t *cycle, ngx_uid_t user)
{ … }
ngx_shm_zone_t *
ngx_shared_memory_add(ngx_conf_t *cf, ngx_str_t *name, size_t size, void *tag)
{ … }
static void
ngx_clean_old_cycles(ngx_event_t *ev)
{ … }
void
ngx_set_shutdown_timer(ngx_cycle_t *cycle)
{ … }
static void
ngx_shutdown_timer_handler(ngx_event_t *ev)
{ … }