diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-06-27 22:01:57 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-06-27 22:01:57 +0400 |
commit | c02473048cee372cb8644e1f2d566431781074d2 (patch) | |
tree | 689654cd7b37636279b5587ddd3b45ad6bddbd3c /src/core/ngx_core.h | |
parent | b1af9bbcabf1bdbe119366971a2d0f6c3f8f595d (diff) |
nginx-0.0.7-2004-06-27-22:01:57 import
Diffstat (limited to 'src/core/ngx_core.h')
-rw-r--r-- | src/core/ngx_core.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h index ed6e3737a..58b1d1238 100644 --- a/src/core/ngx_core.h +++ b/src/core/ngx_core.h @@ -15,6 +15,15 @@ typedef struct ngx_event_s ngx_event_t; typedef struct ngx_connection_s ngx_connection_t; +#define NGX_OK 0 +#define NGX_ERROR -1 +#define NGX_AGAIN -2 +#define NGX_BUSY -3 +#define NGX_DONE -4 +#define NGX_DECLINED -5 +#define NGX_ABORT -6 + + #include <ngx_atomic.h> #include <ngx_time.h> #include <ngx_socket.h> @@ -49,16 +58,6 @@ typedef struct ngx_connection_s ngx_connection_t; #include <ngx_connection.h> - -#define NGX_OK 0 -#define NGX_ERROR -1 -#define NGX_AGAIN -2 -#define NGX_BUSY -3 -#define NGX_DONE -4 -#define NGX_DECLINED -5 -#define NGX_ABORT -6 - - #define LF (u_char) 10 #define CR (u_char) 13 #define CRLF "\x0d\x0a" |