comparison src/core/ngx_connection.h @ 96:a23d010f356d

nginx-0.0.1-2003-05-27-16:18:54 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 27 May 2003 12:18:54 +0000
parents 8220378432a8
children a059e1aa65d4
comparison
equal deleted inserted replaced
95:b48066122884 96:a23d010f356d
8 #include <ngx_log.h> 8 #include <ngx_log.h>
9 #include <ngx_alloc.h> 9 #include <ngx_alloc.h>
10 #include <ngx_hunk.h> 10 #include <ngx_hunk.h>
11 #include <ngx_array.h> 11 #include <ngx_array.h>
12 #include <ngx_string.h> 12 #include <ngx_string.h>
13 #endif
14 13
15 #include <ngx_server.h> 14 #include <ngx_server.h>
15 #endif
16 16
17 #if 0 17 #if 0
18 typedef struct ngx_connection_s ngx_connection_t; 18 typedef struct ngx_connection_s ngx_connection_t;
19 #endif 19 #endif
20 20
33 33
34 off_t sent; 34 off_t sent;
35 35
36 void (*handler)(ngx_connection_t *c); 36 void (*handler)(ngx_connection_t *c);
37 void *ctx; 37 void *ctx;
38 ngx_server_t *servers; 38 void *servers;
39 39
40 ngx_log_t *log; 40 ngx_log_t *log;
41 41
42 ngx_pool_t *pool; 42 ngx_pool_t *pool;
43 int pool_size; 43 int pool_size;
112 #endif 112 #endif
113 113
114 114
115 /* TODO: move it to OS specific file */ 115 /* TODO: move it to OS specific file */
116 #if (__FreeBSD__) 116 #if (__FreeBSD__)
117 ngx_chain_t *ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in);
118 ngx_chain_t *ngx_aio_write_chain(ngx_connection_t *c, ngx_chain_t *in); 117 ngx_chain_t *ngx_aio_write_chain(ngx_connection_t *c, ngx_chain_t *in);
119 #endif 118 #endif
120 119
121 120
122 #endif /* _NGX_CONNECTION_H_INCLUDED_ */ 121 #endif /* _NGX_CONNECTION_H_INCLUDED_ */