inotify.h 657 B

12345678910111213141516171819202122
  1. /*
  2. * Inode based directory notification for Linux
  3. *
  4. * Copyright (C) 2005 John McCutchan
  5. */
  6. #ifndef _LINUX_INOTIFY_H
  7. #define _LINUX_INOTIFY_H
  8. #include <linux/sysctl.h>
  9. #include <uapi/linux/inotify.h>
  10. extern struct ctl_table inotify_table[]; /* for sysctl */
  11. #define ALL_INOTIFY_BITS (IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE | \
  12. IN_CLOSE_NOWRITE | IN_OPEN | IN_MOVED_FROM | \
  13. IN_MOVED_TO | IN_CREATE | IN_DELETE | \
  14. IN_DELETE_SELF | IN_MOVE_SELF | IN_UNMOUNT | \
  15. IN_Q_OVERFLOW | IN_IGNORED | IN_ONLYDIR | \
  16. IN_DONT_FOLLOW | IN_EXCL_UNLINK | IN_MASK_ADD | \
  17. IN_ISDIR | IN_ONESHOT)
  18. #endif /* _LINUX_INOTIFY_H */