summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-05-20 15:37:55 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-05-20 15:37:55 +0000
commit1c13c662f0ae8066d1d4849b4158d7459a4c7822 (patch)
treea8e517c0d41e922b1d3744d869edc60ed540b2d9 /src/core/ngx_connection.h
parenta98301160de4c12f455cca8f78509f2e04626c0b (diff)
downloadnginx-1c13c662f0ae8066d1d4849b4158d7459a4c7822.tar.gz
nginx-1c13c662f0ae8066d1d4849b4158d7459a4c7822.tar.bz2
nginx-0.0.1-2003-05-20-19:37:55 import
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r--src/core/ngx_connection.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index 8ad48c8d1..a8b8804f4 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -1,15 +1,22 @@
#ifndef _NGX_CONNECTION_H_INCLUDED_
#define _NGX_CONNECTION_H_INCLUDED_
+#include <ngx_core.h>
+
+#if 0
#include <ngx_socket.h>
#include <ngx_log.h>
#include <ngx_alloc.h>
#include <ngx_hunk.h>
#include <ngx_array.h>
#include <ngx_string.h>
+#endif
+
#include <ngx_server.h>
+#if 0
typedef struct ngx_connection_s ngx_connection_t;
+#endif
#ifdef NGX_EVENT
#include <ngx_event.h>
@@ -81,12 +88,14 @@ EV_VNODE should notify by some signal if diretory tree is changed
#endif
+#if 0
typedef struct {
ssize_t (*recv)(ngx_connection_t *c, char *buf, size_t size);
void *dummy_recv_chain;
void *dummy_send;
ngx_chain_t *(*send_chain)(ngx_connection_t *c, ngx_chain_t *in);
} ngx_os_io_t;
+#endif
extern ngx_os_io_t ngx_io;