comparison src/core/ngx_connection.h @ 92:19cc647ecd91

nginx-0.0.1-2003-05-20-19:37:55 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 20 May 2003 15:37:55 +0000
parents 637625a2acdb
children 8220378432a8
comparison
equal deleted inserted replaced
91:637625a2acdb 92:19cc647ecd91
1 #ifndef _NGX_CONNECTION_H_INCLUDED_ 1 #ifndef _NGX_CONNECTION_H_INCLUDED_
2 #define _NGX_CONNECTION_H_INCLUDED_ 2 #define _NGX_CONNECTION_H_INCLUDED_
3 3
4 #include <ngx_core.h>
5
6 #if 0
4 #include <ngx_socket.h> 7 #include <ngx_socket.h>
5 #include <ngx_log.h> 8 #include <ngx_log.h>
6 #include <ngx_alloc.h> 9 #include <ngx_alloc.h>
7 #include <ngx_hunk.h> 10 #include <ngx_hunk.h>
8 #include <ngx_array.h> 11 #include <ngx_array.h>
9 #include <ngx_string.h> 12 #include <ngx_string.h>
13 #endif
14
10 #include <ngx_server.h> 15 #include <ngx_server.h>
11 16
17 #if 0
12 typedef struct ngx_connection_s ngx_connection_t; 18 typedef struct ngx_connection_s ngx_connection_t;
19 #endif
13 20
14 #ifdef NGX_EVENT 21 #ifdef NGX_EVENT
15 #include <ngx_event.h> 22 #include <ngx_event.h>
16 #endif 23 #endif
17 24
79 EV_VNODE should notify by some signal if diretory tree is changed 86 EV_VNODE should notify by some signal if diretory tree is changed
80 or stat if aged >= N seconds (big enough) 87 or stat if aged >= N seconds (big enough)
81 #endif 88 #endif
82 89
83 90
91 #if 0
84 typedef struct { 92 typedef struct {
85 ssize_t (*recv)(ngx_connection_t *c, char *buf, size_t size); 93 ssize_t (*recv)(ngx_connection_t *c, char *buf, size_t size);
86 void *dummy_recv_chain; 94 void *dummy_recv_chain;
87 void *dummy_send; 95 void *dummy_send;
88 ngx_chain_t *(*send_chain)(ngx_connection_t *c, ngx_chain_t *in); 96 ngx_chain_t *(*send_chain)(ngx_connection_t *c, ngx_chain_t *in);
89 } ngx_os_io_t; 97 } ngx_os_io_t;
98 #endif
90 99
91 100
92 extern ngx_os_io_t ngx_io; 101 extern ngx_os_io_t ngx_io;
93 102
94 103