diff options
Diffstat (limited to 'src/core/nginx.h')
-rw-r--r-- | src/core/nginx.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/core/nginx.h b/src/core/nginx.h index 38942aa25..238512f8e 100644 --- a/src/core/nginx.h +++ b/src/core/nginx.h @@ -2,16 +2,19 @@ #define _NGINX_H_INCLUDED_ -#define NGINX_VER "nginx/0.0.1" -#define NGINX_CONF "nginx.conf" -#define NGINX_PID "nginx.pid" +#define NGINX_VER "nginx/0.0.1" +#define NGINX_CONF "nginx.conf" +#define NGINX_PID "nginx.pid" +#define NGINX_VAR "NGINX=" +#define NGINX_VAR_LEN (sizeof(NGINX_VAR) - 1) -extern int ngx_max_module; -extern u_int ngx_connection_counter; +extern ngx_module_t ngx_core_module; -extern ngx_module_t ngx_core_module; +extern ngx_uint_t ngx_connection_counter; +extern ngx_int_t ngx_master; +extern ngx_int_t ngx_single; #endif /* _NGINX_H_INCLUDED_ */ |