aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-01-05 20:55:48 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-01-05 20:55:48 +0000
commit3c3ca1735815a4e495922b50b01a258016c93d4b (patch)
tree55ab881e478c8ead90652850135d3f083a7e9772 /src/core/nginx.h
parentfa5fea18f7b0f6d024d5a814d34c778b6792abdb (diff)
downloadnginx-3c3ca1735815a4e495922b50b01a258016c93d4b.tar.gz
nginx-3c3ca1735815a4e495922b50b01a258016c93d4b.zip
nginx-0.0.1-2004-01-05-23:55:48 import
Diffstat (limited to 'src/core/nginx.h')
-rw-r--r--src/core/nginx.h15
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_ */