Robert Love | 0eeca28 | 2005-07-12 17:06:03 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Inode based directory notification for Linux |
| 3 | * |
| 4 | * Copyright (C) 2005 John McCutchan |
| 5 | */ |
Robert Love | 0eeca28 | 2005-07-12 17:06:03 -0400 | [diff] [blame] | 6 | #ifndef _LINUX_INOTIFY_H |
| 7 | #define _LINUX_INOTIFY_H |
| 8 | |
Dave Young | d14f172 | 2010-02-25 20:28:57 -0500 | [diff] [blame] | 9 | #include <linux/sysctl.h> |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 10 | #include <uapi/linux/inotify.h> |
| 11 | |
Dave Young | d14f172 | 2010-02-25 20:28:57 -0500 | [diff] [blame] | 12 | extern struct ctl_table inotify_table[]; /* for sysctl */ |
Eric Paris | f874e1a | 2010-07-28 10:18:37 -0400 | [diff] [blame] | 13 | |
| 14 | #define ALL_INOTIFY_BITS (IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE | \ |
| 15 | IN_CLOSE_NOWRITE | IN_OPEN | IN_MOVED_FROM | \ |
| 16 | IN_MOVED_TO | IN_CREATE | IN_DELETE | \ |
| 17 | IN_DELETE_SELF | IN_MOVE_SELF | IN_UNMOUNT | \ |
| 18 | IN_Q_OVERFLOW | IN_IGNORED | IN_ONLYDIR | \ |
| 19 | IN_DONT_FOLLOW | IN_EXCL_UNLINK | IN_MASK_ADD | \ |
| 20 | IN_ISDIR | IN_ONESHOT) |
| 21 | |
Robert Love | 0eeca28 | 2005-07-12 17:06:03 -0400 | [diff] [blame] | 22 | #endif /* _LINUX_INOTIFY_H */ |