From c985ee7a61ce0beb12890da46971a71babdbb215 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 18 May 2009 12:12:06 +0000 Subject: ngx_connection_local_sockaddr() --- src/core/ngx_connection.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/ngx_connection.h') 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); -- cgit