summaryrefslogtreecommitdiff
path: root/inotify.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2006-09-24 21:19:18 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-09-24 21:19:18 +0200
commitf6552e79120c73851275b66baef9445a2611714b (patch)
tree19616ec803f56ea1ffd32fbe356bcbc1a8f62653 /inotify.h
parent7f077d511d1d211ac4718fa84d7f5245a00309da (diff)
Add license information
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 */