Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/key_spec.in; do not edit. */
      2 #if !(defined(KEY_SPEC_THREAD_KEYRING) || (defined(HAVE_DECL_KEY_SPEC_THREAD_KEYRING) && HAVE_DECL_KEY_SPEC_THREAD_KEYRING))
      3 # define KEY_SPEC_THREAD_KEYRING -1
      4 #endif
      5 #if !(defined(KEY_SPEC_PROCESS_KEYRING) || (defined(HAVE_DECL_KEY_SPEC_PROCESS_KEYRING) && HAVE_DECL_KEY_SPEC_PROCESS_KEYRING))
      6 # define KEY_SPEC_PROCESS_KEYRING -2
      7 #endif
      8 #if !(defined(KEY_SPEC_SESSION_KEYRING) || (defined(HAVE_DECL_KEY_SPEC_SESSION_KEYRING) && HAVE_DECL_KEY_SPEC_SESSION_KEYRING))
      9 # define KEY_SPEC_SESSION_KEYRING -3
     10 #endif
     11 #if !(defined(KEY_SPEC_USER_KEYRING) || (defined(HAVE_DECL_KEY_SPEC_USER_KEYRING) && HAVE_DECL_KEY_SPEC_USER_KEYRING))
     12 # define KEY_SPEC_USER_KEYRING -4
     13 #endif
     14 #if !(defined(KEY_SPEC_USER_SESSION_KEYRING) || (defined(HAVE_DECL_KEY_SPEC_USER_SESSION_KEYRING) && HAVE_DECL_KEY_SPEC_USER_SESSION_KEYRING))
     15 # define KEY_SPEC_USER_SESSION_KEYRING -5
     16 #endif
     17 #if !(defined(KEY_SPEC_GROUP_KEYRING) || (defined(HAVE_DECL_KEY_SPEC_GROUP_KEYRING) && HAVE_DECL_KEY_SPEC_GROUP_KEYRING))
     18 # define KEY_SPEC_GROUP_KEYRING -6
     19 #endif
     20 #if !(defined(KEY_SPEC_REQKEY_AUTH_KEY) || (defined(HAVE_DECL_KEY_SPEC_REQKEY_AUTH_KEY) && HAVE_DECL_KEY_SPEC_REQKEY_AUTH_KEY))
     21 # define KEY_SPEC_REQKEY_AUTH_KEY -7
     22 #endif
     23 #if !(defined(KEY_SPEC_REQUESTOR_KEYRING) || (defined(HAVE_DECL_KEY_SPEC_REQUESTOR_KEYRING) && HAVE_DECL_KEY_SPEC_REQUESTOR_KEYRING))
     24 # define KEY_SPEC_REQUESTOR_KEYRING -8
     25 #endif
     26 
     27 #ifdef IN_MPERS
     28 
     29 # error static const struct xlat key_spec in mpers mode
     30 
     31 #else
     32 
     33 static
     34 const struct xlat key_spec[] = {
     35  XLAT(KEY_SPEC_THREAD_KEYRING),
     36  XLAT(KEY_SPEC_PROCESS_KEYRING),
     37  XLAT(KEY_SPEC_SESSION_KEYRING),
     38  XLAT(KEY_SPEC_USER_KEYRING),
     39  XLAT(KEY_SPEC_USER_SESSION_KEYRING),
     40  XLAT(KEY_SPEC_GROUP_KEYRING),
     41  XLAT(KEY_SPEC_REQKEY_AUTH_KEY),
     42  XLAT(KEY_SPEC_REQUESTOR_KEYRING),
     43  XLAT_END
     44 };
     45 
     46 #endif /* !IN_MPERS */
     47