diff src/core/ngx_connection.h @ 63:36d2c25cc9bb

nginx-0.0.1-2003-02-26-23:21:43 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 26 Feb 2003 20:21:43 +0000
parents e8cdc2989cee
children 4222c496acb3
line wrap: on
line diff
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -79,4 +79,19 @@ EV_VNODE        should notify by some si
                 or stat if aged >= N seconds (big enough)
 #endif
 
+
+extern ngx_chain_t *(*ngx_write_chain_proc)
+                                        (ngx_connection_t *c, ngx_chain_t *in);
+
+
+ngx_chain_t *ngx_write_chain(ngx_connection_t *c, ngx_chain_t *in, off_t flush);
+
+
+/* TODO: move it to OS specific file */
+#if (__FreeBSD__)
+ngx_chain_t *ngx_freebsd_write_chain(ngx_connection_t *c, ngx_chain_t *in);
+ngx_chain_t *ngx_aio_write_chain(ngx_connection_t *c, ngx_chain_t *in);
+#endif
+
+
 #endif /* _NGX_CONNECTION_H_INCLUDED_ */