summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-05-18 12:12:06 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-05-18 12:12:06 +0000
commitc985ee7a61ce0beb12890da46971a71babdbb215 (patch)
treeeec760d3a4c6e7b0e49bc2a11ebcc62551c4febf /src/core/ngx_connection.h
parent868d805c8b9011aa9b2e1d8182a41b6b8c804ac8 (diff)
downloadnginx-c985ee7a61ce0beb12890da46971a71babdbb215.tar.gz
nginx-c985ee7a61ce0beb12890da46971a71babdbb215.tar.bz2
ngx_connection_local_sockaddr()
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r--src/core/ngx_connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index 7a4c65860..5fd7a5ead 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -170,6 +170,8 @@ ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle);
void ngx_configure_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_local_sockaddr(ngx_connection_t *c, ngx_str_t *s,
+ ngx_uint_t port);
ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text);
ngx_connection_t *ngx_get_connection(ngx_socket_t s, ngx_log_t *log);