2002-08-07 00:39:45 +08:00
|
|
|
#ifndef _NGX_KQUEUE_MODULE_H_INCLUDED_
|
|
|
|
#define _NGX_KQUEUE_MODULE_H_INCLUDED_
|
|
|
|
|
|
|
|
|
|
|
|
#include <ngx_types.h>
|
|
|
|
#include <ngx_log.h>
|
|
|
|
#include <ngx_event.h>
|
|
|
|
|
2002-09-27 23:05:29 +08:00
|
|
|
int ngx_kqueue_init(int max_connections, ngx_log_t *log);
|
2002-08-07 00:39:45 +08:00
|
|
|
int ngx_kqueue_add_event(ngx_event_t *ev, int event, u_int flags);
|
2002-12-15 14:25:09 +08:00
|
|
|
int ngx_kqueue_del_event(ngx_event_t *ev, int event, u_int flags);
|
2002-08-07 00:39:45 +08:00
|
|
|
int ngx_kqueue_set_event(ngx_event_t *ev, int filter, u_int flags);
|
2002-09-02 22:48:24 +08:00
|
|
|
void ngx_kqueue_add_timer(ngx_event_t *ev, ngx_msec_t timer);
|
2002-08-07 00:39:45 +08:00
|
|
|
int ngx_kqueue_process_events(ngx_log_t *log);
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _NGX_KQUEUE_MODULE_H_INCLUDED_ */
|