1 /* Generated by ./xlat/gen.sh from ./xlat/fan_event_flags.in; do not edit. */
2 #if !(defined(FAN_ACCESS) || (defined(HAVE_DECL_FAN_ACCESS) && HAVE_DECL_FAN_ACCESS))
3 # define FAN_ACCESS 0x00000001
4 #endif
5 #if !(defined(FAN_MODIFY) || (defined(HAVE_DECL_FAN_MODIFY) && HAVE_DECL_FAN_MODIFY))
6 # define FAN_MODIFY 0x00000002
7 #endif
8 #if !(defined(FAN_CLOSE_WRITE) || (defined(HAVE_DECL_FAN_CLOSE_WRITE) && HAVE_DECL_FAN_CLOSE_WRITE))
9 # define FAN_CLOSE_WRITE 0x00000008
10 #endif
11 #if !(defined(FAN_CLOSE_NOWRITE) || (defined(HAVE_DECL_FAN_CLOSE_NOWRITE) && HAVE_DECL_FAN_CLOSE_NOWRITE))
12 # define FAN_CLOSE_NOWRITE 0x00000010
13 #endif
14 #if !(defined(FAN_OPEN) || (defined(HAVE_DECL_FAN_OPEN) && HAVE_DECL_FAN_OPEN))
15 # define FAN_OPEN 0x00000020
16 #endif
17 #if !(defined(FAN_Q_OVERFLOW) || (defined(HAVE_DECL_FAN_Q_OVERFLOW) && HAVE_DECL_FAN_Q_OVERFLOW))
18 # define FAN_Q_OVERFLOW 0x00004000
19 #endif
20 #if !(defined(FAN_OPEN_PERM) || (defined(HAVE_DECL_FAN_OPEN_PERM) && HAVE_DECL_FAN_OPEN_PERM))
21 # define FAN_OPEN_PERM 0x00010000
22 #endif
23 #if !(defined(FAN_ACCESS_PERM) || (defined(HAVE_DECL_FAN_ACCESS_PERM) && HAVE_DECL_FAN_ACCESS_PERM))
24 # define FAN_ACCESS_PERM 0x00020000
25 #endif
26 #if !(defined(FAN_ONDIR) || (defined(HAVE_DECL_FAN_ONDIR) && HAVE_DECL_FAN_ONDIR))
27 # define FAN_ONDIR 0x40000000
28 #endif
29 #if !(defined(FAN_EVENT_ON_CHILD) || (defined(HAVE_DECL_FAN_EVENT_ON_CHILD) && HAVE_DECL_FAN_EVENT_ON_CHILD))
30 # define FAN_EVENT_ON_CHILD 0x08000000
31 #endif
32 
33 #ifdef IN_MPERS
34 
35 # error static const struct xlat fan_event_flags in mpers mode
36 
37 #else
38 
39 static
40 const struct xlat fan_event_flags[] = {
41  XLAT(FAN_ACCESS),
42  XLAT(FAN_MODIFY),
43  XLAT(FAN_CLOSE_WRITE),
44  XLAT(FAN_CLOSE_NOWRITE),
45  XLAT(FAN_OPEN),
46  XLAT(FAN_Q_OVERFLOW),
47  XLAT(FAN_OPEN_PERM),
48  XLAT(FAN_ACCESS_PERM),
49  XLAT(FAN_ONDIR),
50  XLAT(FAN_EVENT_ON_CHILD),
51  XLAT_END
52 };
53 
54 #endif /* !IN_MPERS */
55