12 EVENT_READ
= EVFILT_READ
,
13 EVENT_WRITE
= EVFILT_WRITE
,
14 EVENT_VNODE
= EVFILT_VNODE
,
21 #define EV_FLAG_CLOSING 0x00000001
23 typedef void event_process_t(struct event
*);
25 typedef void event_vnode_process_t(struct event
*, u_int
);
33 event_process_t
*process
;
35 event_vnode_process_t
*process_vnode
;
41 typedef int event_module_add_t(struct event
*);
42 typedef int event_module_del_t(struct event
*, int flags
);
43 typedef int event_module_init_t(void);
44 typedef void event_module_fini_t(void);
45 typedef int event_module_process_t(struct timeval
*);
47 event_module_add_t
*add
;
48 event_module_del_t
*del
;
49 event_module_process_t
*process
;
50 event_module_init_t
*init
;
51 event_module_fini_t
*fini
;
54 extern struct event_module event_module
;