Mercurial > hg > nginx
comparison src/event/ngx_event.h @ 114:ac69ab96328d
nginx-0.0.1-2003-07-07-10:11:50 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 07 Jul 2003 06:11:50 +0000 |
parents | d7f606e25b99 |
children | 54307053f185 |
comparison
equal
deleted
inserted
replaced
113:d7f606e25b99 | 114:ac69ab96328d |
---|---|
306 | 306 |
307 | 307 |
308 | 308 |
309 | 309 |
310 | 310 |
311 extern ngx_event_t *ngx_read_events; | |
312 extern ngx_event_t *ngx_write_events; | |
313 extern ngx_connection_t *ngx_connections; | |
314 | |
315 #if !(USE_KQUEUE) | 311 #if !(USE_KQUEUE) |
316 extern ngx_event_actions_t ngx_event_actions; | 312 extern ngx_event_actions_t ngx_event_actions; |
317 extern ngx_event_type_e ngx_event_type; | 313 extern ngx_event_type_e ngx_event_type; |
318 extern int ngx_event_flags; | 314 extern int ngx_event_flags; |
319 #endif | 315 #endif |
335 | 331 |
336 | 332 |
337 typedef struct { | 333 typedef struct { |
338 ngx_str_t *name; | 334 ngx_str_t *name; |
339 | 335 |
340 void *(*create_conf)(ngx_pool_t *p); | 336 void *(*create_conf)(ngx_cycle_t *cycle); |
341 char *(*init_conf)(ngx_pool_t *p, void *conf); | 337 char *(*init_conf)(ngx_cycle_t *cycle, void *conf); |
342 | 338 |
343 ngx_event_actions_t actions; | 339 ngx_event_actions_t actions; |
344 } ngx_event_module_t; | 340 } ngx_event_module_t; |
345 | 341 |
346 | 342 |