#ifndef _NGX_CORE_H_INCLUDED_ #define _NGX_CORE_H_INCLUDED_ #include #include #include #include #include typedef struct ngx_module_s ngx_module_t; typedef struct ngx_conf_s ngx_conf_t; typedef struct ngx_command_s ngx_command_t; typedef struct ngx_file_s ngx_file_t; typedef struct ngx_event_s ngx_event_t; typedef struct ngx_connection_s ngx_connection_t; #include #include #include #include #include #include #include #include #include #include #include #include #define NGX_OK 0 #define NGX_ERROR -1 #define NGX_AGAIN -2 #define NGX_DONE -3 /* #define NGX_BUSY -3 */ #define NGX_DECLINED -4 /* #define NGX_ALERT -5 */ #define LF 10 #define CR 13 #define CRLF "\x0d\x0a" #define NGX_MAXHOSTNAMELEN 64 /* #define NGX_MAXHOSTNAMELEN MAXHOSTNAMELEN */ /* STUB */ extern ngx_log_t ngx_log; #endif /* _NGX_CORE_H_INCLUDED_ */