aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_core.h')
-rw-r--r--src/core/ngx_core.h19
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"