1 /* Generated by ./xlat/gen.sh from ./xlat/shutdown_modes.in; do not edit. */ 2 #if !(defined(SHUT_RD) || (defined(HAVE_DECL_SHUT_RD) && HAVE_DECL_SHUT_RD)) 3 # define SHUT_RD 0 4 #endif 5 #if !(defined(SHUT_WR) || (defined(HAVE_DECL_SHUT_WR) && HAVE_DECL_SHUT_WR)) 6 # define SHUT_WR 1 7 #endif 8 #if !(defined(SHUT_RDWR) || (defined(HAVE_DECL_SHUT_RDWR) && HAVE_DECL_SHUT_RDWR)) 9 # define SHUT_RDWR 2 10 #endif 11 12 #ifdef IN_MPERS 13 14 # error static const struct xlat shutdown_modes in mpers mode 15 16 #else 17 18 static 19 const struct xlat shutdown_modes[] = { 20 XLAT(SHUT_RD), 21 XLAT(SHUT_WR), 22 XLAT(SHUT_RDWR), 23 XLAT_END 24 }; 25 26 #endif /* !IN_MPERS */ 27