Mercurial > hg > nginx
comparison src/event/ngx_event.h @ 113:d7f606e25b99
nginx-0.0.1-2003-07-04-19:10:33 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 04 Jul 2003 15:10:33 +0000 |
parents | a9bc21d63fe4 |
children | ac69ab96328d |
comparison
equal
deleted
inserted
replaced
112:da763a85be66 | 113:d7f606e25b99 |
---|---|
149 | 149 |
150 int (*add_conn)(ngx_connection_t *c); | 150 int (*add_conn)(ngx_connection_t *c); |
151 int (*del_conn)(ngx_connection_t *c); | 151 int (*del_conn)(ngx_connection_t *c); |
152 | 152 |
153 int (*process)(ngx_log_t *log); | 153 int (*process)(ngx_log_t *log); |
154 int (*init)(ngx_log_t *log); | 154 int (*init)(ngx_cycle_t *cycle); |
155 void (*done)(ngx_log_t *log); | 155 void (*done)(ngx_cycle_t *cycle); |
156 } ngx_event_actions_t; | 156 } ngx_event_actions_t; |
157 | 157 |
158 | 158 |
159 /* The event filter requires to read/write the whole data - | 159 /* The event filter requires to read/write the whole data - |
160 select, poll, /dev/poll, kqueue. */ | 160 select, poll, /dev/poll, kqueue. */ |
346 | 346 |
347 extern ngx_module_t ngx_events_module; | 347 extern ngx_module_t ngx_events_module; |
348 extern ngx_module_t ngx_event_core_module; | 348 extern ngx_module_t ngx_event_core_module; |
349 | 349 |
350 | 350 |
351 #define ngx_event_get_conf(module) \ | 351 #define ngx_event_get_conf(conf_ctx, module) \ |
352 (*(ngx_get_conf(ngx_events_module))) [module.ctx_index]; | 352 (*(ngx_get_conf(conf_ctx, ngx_events_module))) [module.ctx_index]; |
353 | 353 |
354 | 354 |
355 | 355 |
356 void ngx_event_accept(ngx_event_t *ev); | 356 void ngx_event_accept(ngx_event_t *ev); |
357 | 357 |