• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/inotify_flags.in; do not edit. */
2 #if !(defined(IN_ACCESS) || (defined(HAVE_DECL_IN_ACCESS) && HAVE_DECL_IN_ACCESS))
3 # define IN_ACCESS 0x00000001
4 #endif
5 #if !(defined(IN_MODIFY) || (defined(HAVE_DECL_IN_MODIFY) && HAVE_DECL_IN_MODIFY))
6 # define IN_MODIFY 0x00000002
7 #endif
8 #if !(defined(IN_ATTRIB) || (defined(HAVE_DECL_IN_ATTRIB) && HAVE_DECL_IN_ATTRIB))
9 # define IN_ATTRIB 0x00000004
10 #endif
11 #if !(defined(IN_CLOSE_WRITE) || (defined(HAVE_DECL_IN_CLOSE_WRITE) && HAVE_DECL_IN_CLOSE_WRITE))
12 # define IN_CLOSE_WRITE 0x00000008
13 #endif
14 #if !(defined(IN_CLOSE_NOWRITE) || (defined(HAVE_DECL_IN_CLOSE_NOWRITE) && HAVE_DECL_IN_CLOSE_NOWRITE))
15 # define IN_CLOSE_NOWRITE 0x00000010
16 #endif
17 #if !(defined(IN_OPEN) || (defined(HAVE_DECL_IN_OPEN) && HAVE_DECL_IN_OPEN))
18 # define IN_OPEN 0x00000020
19 #endif
20 #if !(defined(IN_MOVED_FROM) || (defined(HAVE_DECL_IN_MOVED_FROM) && HAVE_DECL_IN_MOVED_FROM))
21 # define IN_MOVED_FROM 0x00000040
22 #endif
23 #if !(defined(IN_MOVED_TO) || (defined(HAVE_DECL_IN_MOVED_TO) && HAVE_DECL_IN_MOVED_TO))
24 # define IN_MOVED_TO 0x00000080
25 #endif
26 #if !(defined(IN_CREATE) || (defined(HAVE_DECL_IN_CREATE) && HAVE_DECL_IN_CREATE))
27 # define IN_CREATE 0x00000100
28 #endif
29 #if !(defined(IN_DELETE) || (defined(HAVE_DECL_IN_DELETE) && HAVE_DECL_IN_DELETE))
30 # define IN_DELETE 0x00000200
31 #endif
32 #if !(defined(IN_DELETE_SELF) || (defined(HAVE_DECL_IN_DELETE_SELF) && HAVE_DECL_IN_DELETE_SELF))
33 # define IN_DELETE_SELF 0x00000400
34 #endif
35 #if !(defined(IN_MOVE_SELF) || (defined(HAVE_DECL_IN_MOVE_SELF) && HAVE_DECL_IN_MOVE_SELF))
36 # define IN_MOVE_SELF 0x00000800
37 #endif
38 #if !(defined(IN_UNMOUNT) || (defined(HAVE_DECL_IN_UNMOUNT) && HAVE_DECL_IN_UNMOUNT))
39 # define IN_UNMOUNT 0x00002000
40 #endif
41 #if !(defined(IN_Q_OVERFLOW) || (defined(HAVE_DECL_IN_Q_OVERFLOW) && HAVE_DECL_IN_Q_OVERFLOW))
42 # define IN_Q_OVERFLOW 0x00004000
43 #endif
44 #if !(defined(IN_IGNORED) || (defined(HAVE_DECL_IN_IGNORED) && HAVE_DECL_IN_IGNORED))
45 # define IN_IGNORED 0x00008000
46 #endif
47 #if !(defined(IN_ONLYDIR) || (defined(HAVE_DECL_IN_ONLYDIR) && HAVE_DECL_IN_ONLYDIR))
48 # define IN_ONLYDIR 0x01000000
49 #endif
50 #if !(defined(IN_DONT_FOLLOW) || (defined(HAVE_DECL_IN_DONT_FOLLOW) && HAVE_DECL_IN_DONT_FOLLOW))
51 # define IN_DONT_FOLLOW 0x02000000
52 #endif
53 #if !(defined(IN_EXCL_UNLINK) || (defined(HAVE_DECL_IN_EXCL_UNLINK) && HAVE_DECL_IN_EXCL_UNLINK))
54 # define IN_EXCL_UNLINK 0x04000000
55 #endif
56 #if !(defined(IN_MASK_ADD) || (defined(HAVE_DECL_IN_MASK_ADD) && HAVE_DECL_IN_MASK_ADD))
57 # define IN_MASK_ADD 0x20000000
58 #endif
59 #if !(defined(IN_ISDIR) || (defined(HAVE_DECL_IN_ISDIR) && HAVE_DECL_IN_ISDIR))
60 # define IN_ISDIR 0x40000000
61 #endif
62 #if !(defined(IN_ONESHOT) || (defined(HAVE_DECL_IN_ONESHOT) && HAVE_DECL_IN_ONESHOT))
63 # define IN_ONESHOT 0x80000000
64 #endif
65 
66 #ifdef IN_MPERS
67 
68 # error static const struct xlat inotify_flags in mpers mode
69 
70 #else
71 
72 static
73 const struct xlat inotify_flags[] = {
74  XLAT(IN_ACCESS),
75  XLAT(IN_MODIFY),
76  XLAT(IN_ATTRIB),
77  XLAT(IN_CLOSE_WRITE),
78  XLAT(IN_CLOSE_NOWRITE),
79  XLAT(IN_OPEN),
80  XLAT(IN_MOVED_FROM),
81  XLAT(IN_MOVED_TO),
82  XLAT(IN_CREATE),
83  XLAT(IN_DELETE),
84  XLAT(IN_DELETE_SELF),
85  XLAT(IN_MOVE_SELF),
86  XLAT(IN_UNMOUNT),
87  XLAT(IN_Q_OVERFLOW),
88  XLAT(IN_IGNORED),
89  XLAT(IN_ONLYDIR),
90  XLAT(IN_DONT_FOLLOW),
91  XLAT(IN_EXCL_UNLINK),
92  XLAT(IN_MASK_ADD),
93  XLAT(IN_ISDIR),
94  XLAT(IN_ONESHOT),
95  XLAT_END
96 };
97 
98 #endif /* !IN_MPERS */
99