24#define IN_ACCESS 0x00000001
25#define IN_MODIFY 0x00000002
26#define IN_ATTRIB 0x00000004
27#define IN_CLOSE_WRITE 0x00000008
28#define IN_CLOSE_NOWRITE 0x00000010
29#define IN_CLOSE (IN_CLOSE_WRITE | IN_CLOSE_NOWRITE)
30#define IN_OPEN 0x00000020
31#define IN_MOVED_FROM 0x00000040
32#define IN_MOVED_TO 0x00000080
33#define IN_MOVE (IN_MOVED_FROM | IN_MOVED_TO)
34#define IN_CREATE 0x00000100
35#define IN_DELETE 0x00000200
36#define IN_DELETE_SELF 0x00000400
37#define IN_MOVE_SELF 0x00000800
38#define IN_IGNORED 0x00008000
39#define IN_ISDIR 0x40000000
int kqueue_add_watch_dir(struct ctx *ctx_p, struct indexes *indexes_p, const char *const accpath)
int kqueue_handle(struct ctx *ctx_p, struct indexes *indexes_p)
int kqueue_deinit(ctx_t *ctx_p)
int kqueue_wait(struct ctx *ctx_p, struct indexes *indexes_p, struct timeval *tv_p)