comparison src/event/modules/ngx_select_module.c @ 380:5ce6561246a5

nginx-0.0.7-2004-07-07-10:15:04 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 07 Jul 2004 06:15:04 +0000
parents 744ccb59062d
children 02a511569afb
comparison
equal deleted inserted replaced
379:73688d5d7fc3 380:5ce6561246a5
53 ngx_select_del_event, /* delete an event */ 53 ngx_select_del_event, /* delete an event */
54 ngx_select_add_event, /* enable an event */ 54 ngx_select_add_event, /* enable an event */
55 ngx_select_del_event, /* disable an event */ 55 ngx_select_del_event, /* disable an event */
56 NULL, /* add an connection */ 56 NULL, /* add an connection */
57 NULL, /* delete an connection */ 57 NULL, /* delete an connection */
58 NULL, /* process the changes */
58 ngx_select_process_events, /* process the events */ 59 ngx_select_process_events, /* process the events */
59 ngx_select_init, /* init the events */ 60 ngx_select_init, /* init the events */
60 ngx_select_done /* done the events */ 61 ngx_select_done /* done the events */
61 } 62 }
62 63
66 NGX_MODULE, 67 NGX_MODULE,
67 &ngx_select_module_ctx, /* module context */ 68 &ngx_select_module_ctx, /* module context */
68 NULL, /* module directives */ 69 NULL, /* module directives */
69 NGX_EVENT_MODULE, /* module type */ 70 NGX_EVENT_MODULE, /* module type */
70 NULL, /* init module */ 71 NULL, /* init module */
71 NULL /* init child */ 72 NULL /* init process */
72 }; 73 };
73 74
74 75
75 static ngx_int_t ngx_select_init(ngx_cycle_t *cycle) 76 static ngx_int_t ngx_select_init(ngx_cycle_t *cycle)
76 { 77 {