comparison src/core/ngx_connection.h @ 2854:d788477f5a67

ngx_connection_local_sockaddr()
author Igor Sysoev <igor@sysoev.ru>
date Mon, 18 May 2009 12:12:06 +0000
parents a445bd4eb571
children 512d164a8348
comparison
equal deleted inserted replaced
2853:2e2ae6077ae8 2854:d788477f5a67
168 ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle); 168 ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle);
169 ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle); 169 ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle);
170 void ngx_configure_listening_sockets(ngx_cycle_t *cycle); 170 void ngx_configure_listening_sockets(ngx_cycle_t *cycle);
171 void ngx_close_listening_sockets(ngx_cycle_t *cycle); 171 void ngx_close_listening_sockets(ngx_cycle_t *cycle);
172 void ngx_close_connection(ngx_connection_t *c); 172 void ngx_close_connection(ngx_connection_t *c);
173 ngx_int_t ngx_connection_local_sockaddr(ngx_connection_t *c, ngx_str_t *s,
174 ngx_uint_t port);
173 ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text); 175 ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text);
174 176
175 ngx_connection_t *ngx_get_connection(ngx_socket_t s, ngx_log_t *log); 177 ngx_connection_t *ngx_get_connection(ngx_socket_t s, ngx_log_t *log);
176 void ngx_free_connection(ngx_connection_t *c); 178 void ngx_free_connection(ngx_connection_t *c);
177 179