diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2006-09-24 21:19:18 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2006-09-24 21:19:18 +0200 |
commit | f6552e79120c73851275b66baef9445a2611714b (patch) | |
tree | 19616ec803f56ea1ffd32fbe356bcbc1a8f62653 /inotify.h | |
parent | 7f077d511d1d211ac4718fa84d7f5245a00309da (diff) |
Add license information
Diffstat (limited to 'inotify.h')
-rw-r--r-- | inotify.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 */ |