Update mojo sdk to rev 1dc8a9a5db73d3718d99917fadf31f5fb2ebad4f
[chromium-blink-merge.git] / third_party / talloc / libreplace / system / kerberos.h
bloba1685ad33301f5ef18e1b31659c09ff3915c4da3
1 #ifndef _system_kerberos_h
2 #define _system_kerberos_h
4 /*
5 Unix SMB/CIFS implementation.
7 kerberos system include wrappers
9 Copyright (C) Andrew Tridgell 2004
11 ** NOTE! The following LGPL license applies to the replace
12 ** library. This does NOT imply that all of Samba is released
13 ** under the LGPL
15 This library is free software; you can redistribute it and/or
16 modify it under the terms of the GNU Lesser General Public
17 License as published by the Free Software Foundation; either
18 version 3 of the License, or (at your option) any later version.
20 This library is distributed in the hope that it will be useful,
21 but WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 Lesser General Public License for more details.
25 You should have received a copy of the GNU Lesser General Public
26 License along with this library; if not, see <http://www.gnu.org/licenses/>.
30 #ifdef HAVE_KRB5
31 /* Whether the krb5_address struct has a addrtype property */
32 /* #undef HAVE_ADDRTYPE_IN_KRB5_ADDRESS */
33 /* Whether the krb5_address struct has a addr_type property */
34 #define HAVE_ADDR_TYPE_IN_KRB5_ADDRESS 1
35 /* Define to 1 if you have the `gsskrb5_extract_authz_data_from_sec_context' */
36 #define HAVE_GSSKRB5_EXTRACT_AUTHZ_DATA_FROM_SEC_CONTEXT 1
37 /* Define to 1 if you have the `gsskrb5_get_initiator_subkey' function. */
38 #define HAVE_GSSKRB5_GET_INITIATOR_SUBKEY 1
39 /* Define to 1 if you have the `gsskrb5_register_acceptor_identity' function. */
40 #define HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY 1
41 /* Define to 1 if you have the `gss_krb5_ccache_name' function. */
42 #define HAVE_GSS_KRB5_CCACHE_NAME 1
43 /* Define to 1 if you have the `krb5_addlog_func' function. */
44 #define HAVE_KRB5_ADDLOG_FUNC 1
45 /* Define to 1 if you have the `krb5_auth_con_setkey' function. */
46 #define HAVE_KRB5_AUTH_CON_SETKEY 1
47 /* Define to 1 if you have the `krb5_auth_con_setuseruserkey' function. */
48 /* #undef HAVE_KRB5_AUTH_CON_SETUSERUSERKEY */
49 /* Define to 1 if you have the `krb5_c_enctype_compare' function. */
50 #define HAVE_KRB5_C_ENCTYPE_COMPARE 1
51 /* Define to 1 if you have the `krb5_c_verify_checksum' function. */
52 #define HAVE_KRB5_C_VERIFY_CHECKSUM 1
53 /* Whether the type krb5_encrypt_block exists */
54 /* #undef HAVE_KRB5_ENCRYPT_BLOCK */
55 /* Define to 1 if you have the `krb5_encrypt_data' function. */
56 /* #undef HAVE_KRB5_ENCRYPT_DATA */
57 /* Define to 1 if you have the `krb5_enctypes_compatible_keys' function. */
58 #define HAVE_KRB5_ENCTYPES_COMPATIBLE_KEYS 1
59 /* Define to 1 if you have the `krb5_free_data_contents' function. */
60 #define HAVE_KRB5_FREE_DATA_CONTENTS 1
61 /* Define to 1 if you have the `krb5_free_error_string' function. */
62 /* #undef HAVE_KRB5_FREE_ERROR_STRING */
63 /* Define to 1 if you have the `krb5_free_error_message' function. */
64 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
65 /* Define to 1 if you have the `krb5_free_keytab_entry_contents' function. */
66 /* #undef HAVE_KRB5_FREE_KEYTAB_ENTRY_CONTENTS */
67 /* Define to 1 if you have the `krb5_free_ktypes' function. */
68 /* #undef HAVE_KRB5_FREE_KTYPES */
69 /* Define to 1 if you have the `krb5_free_unparsed_name' function. */
70 /* #undef HAVE_KRB5_FREE_UNPARSED_NAME */
71 /* Define to 1 if you have the `krb5_get_default_in_tkt_etypes' function. */
72 #define HAVE_KRB5_GET_DEFAULT_IN_TKT_ETYPES 1
73 /* Define to 1 if you have the `krb5_get_error_string' function. */
74 #define HAVE_KRB5_GET_ERROR_STRING 1
75 /* Define to 1 if you have the `krb5_get_error_message' function. */
76 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
77 /* Define to 1 if you have the `krb5_get_permitted_enctypes' function. */
78 /* #undef HAVE_KRB5_GET_PERMITTED_ENCTYPES */
79 /* Define to 1 if you have the `krb5_get_pw_salt' function. */
80 #define HAVE_KRB5_GET_PW_SALT 1
81 /* Define to 1 if you have the <krb5.h> header file. */
82 #define HAVE_KRB5_H 1
83 /* Define to 1 if you have the `krb5_initlog' function. */
84 #define HAVE_KRB5_INITLOG 1
85 /* Define to 1 if you have the `krb5_kdc_default_config' function. */
86 #define HAVE_KRB5_KDC_DEFAULT_CONFIG 1
87 /* Whether the krb5_creds struct has a keyblock property */
88 /* #undef HAVE_KRB5_KEYBLOCK_IN_CREDS */
89 /* Whether the krb5_keyblock struct has a keyvalue property */
90 #define HAVE_KRB5_KEYBLOCK_KEYVALUE 1
91 /* Whether krb5_keytab_entry has key member */
92 /* #undef HAVE_KRB5_KEYTAB_ENTRY_KEY */
93 /* Whether krb5_keytab_entry has keyblock member */
94 #define HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK 1
95 /* Define to 1 if you have the `krb5_krbhst_get_addrinfo' function. */
96 #define HAVE_KRB5_KRBHST_GET_ADDRINFO 1
97 /* Define to 1 if you have the `krb5_kt_compare' function. */
98 #define HAVE_KRB5_KT_COMPARE 1
99 /* Define to 1 if you have the `krb5_kt_free_entry' function. */
100 #define HAVE_KRB5_KT_FREE_ENTRY 1
101 /* Whether the type krb5_log_facility exists */
102 #define HAVE_KRB5_LOG_FACILITY 1
103 /* Define to 1 if you have the `krb5_mk_req_extended' function. */
104 #define HAVE_KRB5_MK_REQ_EXTENDED 1
105 /* Define to 1 if you have the `krb5_principal2salt' function. */
106 /* #undef HAVE_KRB5_PRINCIPAL2SALT */
107 /* Define to 1 if you have the `krb5_principal_get_comp_string' function. */
108 #define HAVE_KRB5_PRINCIPAL_GET_COMP_STRING 1
109 /* Whether krb5_princ_component is available */
110 /* #undef HAVE_KRB5_PRINC_COMPONENT */
111 /* Whether the krb5_creds struct has a session property */
112 #define HAVE_KRB5_SESSION_IN_CREDS 1
113 /* Define to 1 if you have the `krb5_set_default_in_tkt_etypes' function. */
114 #define HAVE_KRB5_SET_DEFAULT_IN_TKT_ETYPES 1
115 /* Define to 1 if you have the `krb5_set_default_tgs_ktypes' function. */
116 /* #undef HAVE_KRB5_SET_DEFAULT_TGS_KTYPES */
117 /* Define to 1 if you have the `krb5_set_real_time' function. */
118 #define HAVE_KRB5_SET_REAL_TIME 1
119 /* Define to 1 if you have the `krb5_set_warn_dest' function. */
120 #define HAVE_KRB5_SET_WARN_DEST 1
121 /* Define to 1 if you have the `krb5_string_to_key' function. */
122 #define HAVE_KRB5_STRING_TO_KEY 1
123 /* Define to 1 if you have the `krb5_string_to_key_salt' function. */
124 #define HAVE_KRB5_STRING_TO_KEY_SALT 1
125 /* Define to 1 if you have the `krb5_ticket_get_authorization_data_type' */
126 #define HAVE_KRB5_TICKET_GET_AUTHORIZATION_DATA_TYPE 1
127 /* Whether the krb5_ticket struct has a enc_part2 property */
128 /* #undef HAVE_KRB5_TKT_ENC_PART2 */
129 /* Define to 1 if you have the `krb5_use_enctype' function. */
130 /* #undef HAVE_KRB5_USE_ENCTYPE */
131 /* Define to 1 if you have the `krb5_verify_checksum' function. */
132 #define HAVE_KRB5_VERIFY_CHECKSUM 1
133 /* Whether krb5_princ_realm returns krb5_realm or krb5_data */
134 #define KRB5_PRINC_REALM_RETURNS_REALM 1
136 #include <krb5.h>
137 #include <com_err.h>
139 #endif
141 #endif