blob: 6516981f4d6c7ef379a7a6e03f4b2129c06eaf1d [file] [log] [blame]
#ifndef _NGX_SELECT_MODULE_H_INCLUDED_
#define _NGX_SELECT_MODULE_H_INCLUDED_
#include <ngx_types.h>
#include <ngx_log.h>
#include <ngx_event.h>
void ngx_select_init(int max_connections, ngx_log_t *log);
int ngx_select_add_event(ngx_event_t *ev, int event, u_int flags);
int ngx_select_del_event(ngx_event_t *ev, int event);
int ngx_select_set_event(ngx_event_t *ev, int filter, u_int flags);
int ngx_select_process_events(ngx_log_t *log);
#endif /* _NGX_SELECT_MODULE_H_INCLUDED_ */