inotify.h 657 字节
Newer Older
R
Robert Love 已提交
1 2 3 4 5 6 7 8
/*
 * Inode based directory notification for Linux
 *
 * Copyright (C) 2005 John McCutchan
 */
#ifndef _LINUX_INOTIFY_H
#define _LINUX_INOTIFY_H

D
Dave Young 已提交
9
#include <linux/sysctl.h>
10 11
#include <uapi/linux/inotify.h>

D
Dave Young 已提交
12
extern struct ctl_table inotify_table[]; /* for sysctl */
13 14 15 16 17 18 19 20 21

#define ALL_INOTIFY_BITS (IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE | \
			  IN_CLOSE_NOWRITE | IN_OPEN | IN_MOVED_FROM | \
			  IN_MOVED_TO | IN_CREATE | IN_DELETE | \
			  IN_DELETE_SELF | IN_MOVE_SELF | IN_UNMOUNT | \
			  IN_Q_OVERFLOW | IN_IGNORED | IN_ONLYDIR | \
			  IN_DONT_FOLLOW | IN_EXCL_UNLINK | IN_MASK_ADD | \
			  IN_ISDIR | IN_ONESHOT)

R
Robert Love 已提交
22
#endif	/* _LINUX_INOTIFY_H */