comparison src/event/ngx_event.h @ 4613:9ee20e074a2e

debug_connection: added the IPv6 and UNIX-domain socket support.
author Ruslan Ermilov <ru@nginx.com>
date Sun, 29 Apr 2012 22:02:18 +0000
parents 778ef9c3fd2d
children a29c574d61fa
comparison
equal deleted inserted replaced
4612:c42553296af1 4613:9ee20e074a2e
220 220
221 #endif 221 #endif
222 222
223 223
224 typedef struct { 224 typedef struct {
225 in_addr_t mask;
226 in_addr_t addr;
227 } ngx_event_debug_t;
228
229
230 typedef struct {
231 ngx_int_t (*add)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags); 225 ngx_int_t (*add)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags);
232 ngx_int_t (*del)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags); 226 ngx_int_t (*del)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags);
233 227
234 ngx_int_t (*enable)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags); 228 ngx_int_t (*enable)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags);
235 ngx_int_t (*disable)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags); 229 ngx_int_t (*disable)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags);