Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/modem_flags.in; do not edit. */
      2 
      3 #include "gcc_compat.h"
      4 #include "static_assert.h"
      5 
      6 
      7 #ifndef XLAT_MACROS_ONLY
      8 
      9 # ifdef IN_MPERS
     10 
     11 #  error static const struct xlat modem_flags in mpers mode
     12 
     13 # else
     14 
     15 static
     16 const struct xlat modem_flags[] = {
     17 #if defined(TIOCM_LE) || (defined(HAVE_DECL_TIOCM_LE) && HAVE_DECL_TIOCM_LE)
     18   XLAT(TIOCM_LE),
     19 #endif
     20 #if defined(TIOCM_DTR) || (defined(HAVE_DECL_TIOCM_DTR) && HAVE_DECL_TIOCM_DTR)
     21   XLAT(TIOCM_DTR),
     22 #endif
     23 #if defined(TIOCM_RTS) || (defined(HAVE_DECL_TIOCM_RTS) && HAVE_DECL_TIOCM_RTS)
     24   XLAT(TIOCM_RTS),
     25 #endif
     26 #if defined(TIOCM_ST) || (defined(HAVE_DECL_TIOCM_ST) && HAVE_DECL_TIOCM_ST)
     27   XLAT(TIOCM_ST),
     28 #endif
     29 #if defined(TIOCM_SR) || (defined(HAVE_DECL_TIOCM_SR) && HAVE_DECL_TIOCM_SR)
     30   XLAT(TIOCM_SR),
     31 #endif
     32 #if defined(TIOCM_CTS) || (defined(HAVE_DECL_TIOCM_CTS) && HAVE_DECL_TIOCM_CTS)
     33   XLAT(TIOCM_CTS),
     34 #endif
     35 #if defined(TIOCM_CAR) || (defined(HAVE_DECL_TIOCM_CAR) && HAVE_DECL_TIOCM_CAR)
     36   XLAT(TIOCM_CAR),
     37 #endif
     38 #if defined(TIOCM_CD) || (defined(HAVE_DECL_TIOCM_CD) && HAVE_DECL_TIOCM_CD)
     39   XLAT(TIOCM_CD),
     40 #endif
     41 #if defined(TIOCM_RNG) || (defined(HAVE_DECL_TIOCM_RNG) && HAVE_DECL_TIOCM_RNG)
     42   XLAT(TIOCM_RNG),
     43 #endif
     44 #if defined(TIOCM_RI) || (defined(HAVE_DECL_TIOCM_RI) && HAVE_DECL_TIOCM_RI)
     45   XLAT(TIOCM_RI),
     46 #endif
     47 #if defined(TIOCM_DSR) || (defined(HAVE_DECL_TIOCM_DSR) && HAVE_DECL_TIOCM_DSR)
     48   XLAT(TIOCM_DSR),
     49 #endif
     50  XLAT_END
     51 };
     52 
     53 # endif /* !IN_MPERS */
     54 
     55 #endif /* !XLAT_MACROS_ONLY */
     56