aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-02-10 16:23:38 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-02-10 16:23:38 +0000
commitc7a2f6860669f45f5abe342163de5bc68e344816 (patch)
tree08755593cd5f7537d0b63cf2a6c8b835e1082792 /src/core/nginx.h
parente9b2cb1b9d286cffa8053e41c87b12ce265c4f25 (diff)
downloadnginx-c7a2f6860669f45f5abe342163de5bc68e344816.tar.gz
nginx-c7a2f6860669f45f5abe342163de5bc68e344816.zip
nginx-0.0.2-2004-02-10-19:23:38 import
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_ */