comparison src/core/ngx_connection.h @ 2806:a445bd4eb571

ngx_create_listening()
author Igor Sysoev <igor@sysoev.ru>
date Tue, 05 May 2009 17:33:26 +0000
parents 44b2081c015a
children d788477f5a67
comparison
equal deleted inserted replaced
2805:60551422e150 2806:a445bd4eb571
161 ngx_atomic_t lock; 161 ngx_atomic_t lock;
162 #endif 162 #endif
163 }; 163 };
164 164
165 165
166 ngx_listening_t *ngx_create_listening(ngx_conf_t *cf, void *sockaddr,
167 socklen_t socklen);
166 ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle); 168 ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle);
167 ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle); 169 ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle);
168 void ngx_configure_listening_sockets(ngx_cycle_t *cycle); 170 void ngx_configure_listening_sockets(ngx_cycle_t *cycle);
169 void ngx_close_listening_sockets(ngx_cycle_t *cycle); 171 void ngx_close_listening_sockets(ngx_cycle_t *cycle);
170 void ngx_close_connection(ngx_connection_t *c); 172 void ngx_close_connection(ngx_connection_t *c);