Mercurial > hg > nginx
comparison src/core/ngx_core.h @ 370:54f76b0b8dca
nginx-0.0.7-2004-06-27-22:01:57 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 27 Jun 2004 18:01:57 +0000 |
parents | fd24ba70e1b3 |
children | d1222d46b3f9 |
comparison
equal
deleted
inserted
replaced
369:9c2515d70489 | 370:54f76b0b8dca |
---|---|
11 typedef struct ngx_open_file_s ngx_open_file_t; | 11 typedef struct ngx_open_file_s ngx_open_file_t; |
12 typedef struct ngx_command_s ngx_command_t; | 12 typedef struct ngx_command_s ngx_command_t; |
13 typedef struct ngx_file_s ngx_file_t; | 13 typedef struct ngx_file_s ngx_file_t; |
14 typedef struct ngx_event_s ngx_event_t; | 14 typedef struct ngx_event_s ngx_event_t; |
15 typedef struct ngx_connection_s ngx_connection_t; | 15 typedef struct ngx_connection_s ngx_connection_t; |
16 | |
17 | |
18 #define NGX_OK 0 | |
19 #define NGX_ERROR -1 | |
20 #define NGX_AGAIN -2 | |
21 #define NGX_BUSY -3 | |
22 #define NGX_DONE -4 | |
23 #define NGX_DECLINED -5 | |
24 #define NGX_ABORT -6 | |
16 | 25 |
17 | 26 |
18 #include <ngx_atomic.h> | 27 #include <ngx_atomic.h> |
19 #include <ngx_time.h> | 28 #include <ngx_time.h> |
20 #include <ngx_socket.h> | 29 #include <ngx_socket.h> |
47 #include <ngx_conf_file.h> | 56 #include <ngx_conf_file.h> |
48 #include <ngx_os.h> | 57 #include <ngx_os.h> |
49 #include <ngx_connection.h> | 58 #include <ngx_connection.h> |
50 | 59 |
51 | 60 |
52 | |
53 #define NGX_OK 0 | |
54 #define NGX_ERROR -1 | |
55 #define NGX_AGAIN -2 | |
56 #define NGX_BUSY -3 | |
57 #define NGX_DONE -4 | |
58 #define NGX_DECLINED -5 | |
59 #define NGX_ABORT -6 | |
60 | |
61 | |
62 #define LF (u_char) 10 | 61 #define LF (u_char) 10 |
63 #define CR (u_char) 13 | 62 #define CR (u_char) 13 |
64 #define CRLF "\x0d\x0a" | 63 #define CRLF "\x0d\x0a" |
65 | 64 |
66 | 65 |