• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/rwf_flags.in; do not edit. */
2 #if !(defined(RWF_HIPRI) || (defined(HAVE_DECL_RWF_HIPRI) && HAVE_DECL_RWF_HIPRI))
3 # define RWF_HIPRI 1
4 #endif
5 #if !(defined(RWF_DSYNC) || (defined(HAVE_DECL_RWF_DSYNC) && HAVE_DECL_RWF_DSYNC))
6 # define RWF_DSYNC 2
7 #endif
8 #if !(defined(RWF_SYNC) || (defined(HAVE_DECL_RWF_SYNC) && HAVE_DECL_RWF_SYNC))
9 # define RWF_SYNC 4
10 #endif
11 #if !(defined(RWF_NOWAIT) || (defined(HAVE_DECL_RWF_NOWAIT) && HAVE_DECL_RWF_NOWAIT))
12 # define RWF_NOWAIT 8
13 #endif
14 
15 #ifdef IN_MPERS
16 
17 # error static const struct xlat rwf_flags in mpers mode
18 
19 #else
20 
21 static
22 const struct xlat rwf_flags[] = {
23  XLAT(RWF_HIPRI),
24  XLAT(RWF_DSYNC),
25  XLAT(RWF_SYNC),
26  XLAT(RWF_NOWAIT),
27  XLAT_END
28 };
29 
30 #endif /* !IN_MPERS */
31