summaryrefslogtreecommitdiff
path: root/libinotifytools/src/inotifytools_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'libinotifytools/src/inotifytools_p.h')
-rw-r--r--libinotifytools/src/inotifytools_p.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/libinotifytools/src/inotifytools_p.h b/libinotifytools/src/inotifytools_p.h
new file mode 100644
index 0000000..b707ae2
--- /dev/null
+++ b/libinotifytools/src/inotifytools_p.h
@@ -0,0 +1,27 @@
+#ifndef INOTIFYTOOLS_P_H
+#define INOTIFYTOOLS_P_H
+
+#include "redblack.h"
+
+struct rbtree *inotifytools_wd_sorted_by_event(int sort_event);
+
+typedef struct watch {
+ char *filename;
+ int wd;
+ unsigned hit_access;
+ unsigned hit_modify;
+ unsigned hit_attrib;
+ unsigned hit_close_write;
+ unsigned hit_close_nowrite;
+ unsigned hit_open;
+ unsigned hit_moved_from;
+ unsigned hit_moved_to;
+ unsigned hit_create;
+ unsigned hit_delete;
+ unsigned hit_delete_self;
+ unsigned hit_unmount;
+ unsigned hit_move_self;
+ unsigned hit_total;
+} watch;
+
+#endif