summaryrefslogtreecommitdiffhomepage
path: root/src/core/nginx.h
blob: 6680de1659c5f489ebfc2fb2c62ecf2e22655ca6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _NGINX_H_INCLUDED_
#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_EXT  ".newbin"
#define NGINX_NEW_PID      NGINX_PID NGINX_NEW_PID_EXT

#define NGINX_VAR          "NGINX="
#define NGINX_VAR_LEN      (sizeof(NGINX_VAR) - 1)

extern ngx_module_t        ngx_core_module;

extern ngx_atomic_t        ngx_connection_counter;

extern ngx_int_t           ngx_process;


#endif /* _NGINX_H_INCLUDED_ */