summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-09-07 15:29:22 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-09-07 15:29:22 +0000
commit59cf56c5d975725be9e2adc84170ffe0c638fa48 (patch)
treed355ce8975bbcacc29cdf54ffac45c84b55649a0 /src/core/ngx_connection.h
parentaab4d8c0c4aa068cc7ddcb1c5daee330d9dec47a (diff)
downloadnginx-59cf56c5d975725be9e2adc84170ffe0c638fa48.tar.gz
nginx-59cf56c5d975725be9e2adc84170ffe0c638fa48.tar.bz2
nginx-0.0.10-2004-09-07-19:29:22 import
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r--src/core/ngx_connection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index c2bdcea4b..b84695685 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -129,9 +129,13 @@ struct ngx_connection_s {
#endif
+ngx_listening_t *ngx_listening_inet_stream_socket(ngx_conf_t *cf,
+ in_addr_t addr,
+ in_port_t port);
ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle);
ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle);
void ngx_close_listening_sockets(ngx_cycle_t *cycle);
+void ngx_close_connection(ngx_connection_t *c);
ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text);