comparison src/event/modules/ngx_epoll_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
111 ngx_epoll_del_event, /* delete an event */ 111 ngx_epoll_del_event, /* delete an event */
112 ngx_epoll_add_event, /* enable an event */ 112 ngx_epoll_add_event, /* enable an event */
113 ngx_epoll_del_event, /* disable an event */ 113 ngx_epoll_del_event, /* disable an event */
114 NULL, /* add an connection */ 114 NULL, /* add an connection */
115 NULL, /* delete an connection */ 115 NULL, /* delete an connection */
116 NULL, /* process the changes */
116 ngx_epoll_process_events, /* process the events */ 117 ngx_epoll_process_events, /* process the events */
117 ngx_epoll_init, /* init the events */ 118 ngx_epoll_init, /* init the events */
118 ngx_epoll_done, /* done the events */ 119 ngx_epoll_done, /* done the events */
119 } 120 }
120 }; 121 };
123 NGX_MODULE, 124 NGX_MODULE,
124 &ngx_epoll_module_ctx, /* module context */ 125 &ngx_epoll_module_ctx, /* module context */
125 ngx_epoll_commands, /* module directives */ 126 ngx_epoll_commands, /* module directives */
126 NGX_EVENT_MODULE, /* module type */ 127 NGX_EVENT_MODULE, /* module type */
127 NULL, /* init module */ 128 NULL, /* init module */
128 NULL /* init child */ 129 NULL /* init process */
129 }; 130 };
130 131
131 132
132 static int ngx_epoll_init(ngx_cycle_t *cycle) 133 static int ngx_epoll_init(ngx_cycle_t *cycle)
133 { 134 {