|
clsync
|

Go to the source code of this file.
Macros | |
| #define | IN_ACCESS 0x00000001 /* File was accessed. */ |
| #define | IN_MODIFY 0x00000002 /* File was modified. */ |
| #define | IN_ATTRIB 0x00000004 /* Metadata changed. */ |
| #define | IN_CLOSE_WRITE 0x00000008 /* Writtable file was closed. */ |
| #define | IN_CLOSE_NOWRITE 0x00000010 /* Unwrittable file closed. */ |
| #define | IN_CLOSE (IN_CLOSE_WRITE | IN_CLOSE_NOWRITE) /* Close. */ |
| #define | IN_OPEN 0x00000020 /* File was opened. */ |
| #define | IN_MOVED_FROM 0x00000040 /* File was moved from X. */ |
| #define | IN_MOVED_TO 0x00000080 /* File was moved to Y. */ |
| #define | IN_MOVE (IN_MOVED_FROM | IN_MOVED_TO) /* Moves. */ |
| #define | IN_CREATE 0x00000100 /* Subfile was created. */ |
| #define | IN_DELETE 0x00000200 /* Subfile was deleted. */ |
| #define | IN_DELETE_SELF 0x00000400 /* Self was deleted. */ |
| #define | IN_MOVE_SELF 0x00000800 /* Self was moved. */ |
| #define | IN_IGNORED 0x00008000 |
| #define | IN_ISDIR 0x40000000 |
Functions | |
| int | kqueue_init () |
| int | kqueue_add_watch_dir (struct ctx *ctx_p, struct indexes *indexes_p, const char *const accpath) |
| int | kqueue_wait (struct ctx *ctx_p, struct indexes *indexes_p, struct timeval *tv_p) |
| int | kqueue_handle (struct ctx *ctx_p, struct indexes *indexes_p) |
| int | kqueue_deinit (ctx_t *ctx_p) |
| #define IN_ACCESS 0x00000001 /* File was accessed. */ |
Definition at line 24 of file mon_kqueue.h.
| #define IN_ATTRIB 0x00000004 /* Metadata changed. */ |
Definition at line 26 of file mon_kqueue.h.
| #define IN_CLOSE (IN_CLOSE_WRITE | IN_CLOSE_NOWRITE) /* Close. */ |
Definition at line 29 of file mon_kqueue.h.
| #define IN_CLOSE_NOWRITE 0x00000010 /* Unwrittable file closed. */ |
Definition at line 28 of file mon_kqueue.h.
| #define IN_CLOSE_WRITE 0x00000008 /* Writtable file was closed. */ |
Definition at line 27 of file mon_kqueue.h.
| #define IN_CREATE 0x00000100 /* Subfile was created. */ |
Definition at line 34 of file mon_kqueue.h.
| #define IN_DELETE 0x00000200 /* Subfile was deleted. */ |
Definition at line 35 of file mon_kqueue.h.
| #define IN_DELETE_SELF 0x00000400 /* Self was deleted. */ |
Definition at line 36 of file mon_kqueue.h.
| #define IN_IGNORED 0x00008000 |
Definition at line 38 of file mon_kqueue.h.
| #define IN_ISDIR 0x40000000 |
Definition at line 39 of file mon_kqueue.h.
| #define IN_MODIFY 0x00000002 /* File was modified. */ |
Definition at line 25 of file mon_kqueue.h.
| #define IN_MOVE (IN_MOVED_FROM | IN_MOVED_TO) /* Moves. */ |
Definition at line 33 of file mon_kqueue.h.
| #define IN_MOVE_SELF 0x00000800 /* Self was moved. */ |
Definition at line 37 of file mon_kqueue.h.
| #define IN_MOVED_FROM 0x00000040 /* File was moved from X. */ |
Definition at line 31 of file mon_kqueue.h.
| #define IN_MOVED_TO 0x00000080 /* File was moved to Y. */ |
Definition at line 32 of file mon_kqueue.h.
| #define IN_OPEN 0x00000020 /* File was opened. */ |
Definition at line 30 of file mon_kqueue.h.
|
extern |
Definition at line 491 of file mon_kqueue.c.


|
extern |
Definition at line 782 of file mon_kqueue.c.


|
extern |
