Mercurial > hg > nginx-quic
diff src/event/modules/ngx_kqueue_module.h @ 0:4eff17414a43
nginx-0.0.1-2002-08-06-20:39:45 import
The first code that uses "ngx_" prefix, the previous one used "gx_" prefix.
At that point the code is not yet usable. The first draft ideas are dated
back to 23.10.2001.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 06 Aug 2002 16:39:45 +0000 |
parents | |
children | 708f8bb772ec |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/src/event/modules/ngx_kqueue_module.h @@ -0,0 +1,16 @@ +#ifndef _NGX_KQUEUE_MODULE_H_INCLUDED_ +#define _NGX_KQUEUE_MODULE_H_INCLUDED_ + + +#include <ngx_types.h> +#include <ngx_log.h> +#include <ngx_event.h> + +void ngx_kqueue_init(int max_connections, ngx_log_t *log); +int ngx_kqueue_add_event(ngx_event_t *ev, int event, u_int flags); +int ngx_kqueue_del_event(ngx_event_t *ev, int event); +int ngx_kqueue_set_event(ngx_event_t *ev, int filter, u_int flags); +int ngx_kqueue_process_events(ngx_log_t *log); + + +#endif /* _NGX_KQUEUE_MODULE_H_INCLUDED_ */