Mercurial > hg > nginx
comparison src/core/ngx_connection.h @ 6555:090a78da4f88
Belatedly changed the ngx_create_listening() prototype.
The function is called only with "struct sockaddr *" since 0.7.58.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 20 May 2016 17:02:04 +0300 |
parents | 2f98b5709d79 |
children | 28c76d9d75b7 |
comparison
equal
deleted
inserted
replaced
6554:1aa9650a8154 | 6555:090a78da4f88 |
---|---|
208 if (!(c->log->log_level & NGX_LOG_DEBUG_CONNECTION)) { \ | 208 if (!(c->log->log_level & NGX_LOG_DEBUG_CONNECTION)) { \ |
209 c->log->log_level = l->log_level; \ | 209 c->log->log_level = l->log_level; \ |
210 } | 210 } |
211 | 211 |
212 | 212 |
213 ngx_listening_t *ngx_create_listening(ngx_conf_t *cf, void *sockaddr, | 213 ngx_listening_t *ngx_create_listening(ngx_conf_t *cf, struct sockaddr *sockaddr, |
214 socklen_t socklen); | 214 socklen_t socklen); |
215 ngx_int_t ngx_clone_listening(ngx_conf_t *cf, ngx_listening_t *ls); | 215 ngx_int_t ngx_clone_listening(ngx_conf_t *cf, ngx_listening_t *ls); |
216 ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle); | 216 ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle); |
217 ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle); | 217 ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle); |
218 void ngx_configure_listening_sockets(ngx_cycle_t *cycle); | 218 void ngx_configure_listening_sockets(ngx_cycle_t *cycle); |