aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nginx.h')
-rw-r--r--src/core/nginx.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/core/nginx.h b/src/core/nginx.h
index 99423d32a..eb7fe93ad 100644
--- a/src/core/nginx.h
+++ b/src/core/nginx.h
@@ -2,19 +2,20 @@
#define _NGINX_H_INCLUDED_
-#define NGINX_VER "nginx/0.0.2"
-#define NGINX_CONF "nginx.conf"
-#define NGINX_PID "nginx.pid"
-#define NGINX_NEW_PID NGINX_PID ".newbin"
+#define NGINX_VER "nginx/0.0.2"
+#define NGINX_CONF "nginx.conf"
+#define NGINX_PID "nginx.pid"
+#define NGINX_NEW_PID_EXT ".newbin"
+#define NGINX_NEW_PID NGINX_PID NGINX_NEW_PID_EXT
-#define NGINX_VAR "NGINX="
-#define NGINX_VAR_LEN (sizeof(NGINX_VAR) - 1)
+#define NGINX_VAR "NGINX="
+#define NGINX_VAR_LEN (sizeof(NGINX_VAR) - 1)
-extern ngx_module_t ngx_core_module;
+extern ngx_module_t ngx_core_module;
-extern ngx_uint_t ngx_connection_counter;
+extern ngx_uint_t ngx_connection_counter;
-extern ngx_int_t ngx_process;
+extern ngx_int_t ngx_process;
#endif /* _NGINX_H_INCLUDED_ */