summaryrefslogtreecommitdiff
path: root/inotify.h
diff options
context:
space:
mode:
Diffstat (limited to 'inotify.h')
-rw-r--r--inotify.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/inotify.h b/inotify.h
index e176971..7eb37ca 100644
--- a/inotify.h
+++ b/inotify.h
@@ -1,5 +1,8 @@
/*
* Inode based directory notification for Linux
+ * Taken from the linux kernel source tree
+ *
+ * Licensed under the terms of the GNU General Public License Version 2.
*
* Copyright (C) 2005 John McCutchan
*/
@@ -47,6 +50,8 @@ struct inotify_event {
#define IN_MOVE (IN_MOVED_FROM | IN_MOVED_TO) /* moves */
/* special flags */
+#define IN_ONLYDIR 0x01000000 /* only watch the path if it is a directory */
+#define IN_DONT_FOLLOW 0x02000000 /* don't follow a sym link */
#define IN_MASK_ADD 0x20000000 /* add to the mask of an already existing watch */
#define IN_ISDIR 0x40000000 /* event occurred against dir */
#define IN_ONESHOT 0x80000000 /* only send event once */