1 /* This is a generated file */ 2 #ifndef __ntlm_private_h__ 3 #define __ntlm_private_h__ 4 5 #include <stdarg.h> 6 7 gssapi_mech_interface 8 __gss_ntlm_initialize (void); 9 10 OM_uint32 11 _gss_ntlm_accept_sec_context ( 12 OM_uint32 * /*minor_status*/, 13 gss_ctx_id_t * /*context_handle*/, 14 const gss_cred_id_t /*acceptor_cred_handle*/, 15 const gss_buffer_t /*input_token_buffer*/, 16 const gss_channel_bindings_t /*input_chan_bindings*/, 17 gss_name_t * /*src_name*/, 18 gss_OID * /*mech_type*/, 19 gss_buffer_t /*output_token*/, 20 OM_uint32 * /*ret_flags*/, 21 OM_uint32 * /*time_rec*/, 22 gss_cred_id_t * delegated_cred_handle ); 23 24 OM_uint32 25 _gss_ntlm_acquire_cred ( 26 OM_uint32 * /*min_stat*/, 27 const gss_name_t /*desired_name*/, 28 OM_uint32 /*time_req*/, 29 const gss_OID_set /*desired_mechs*/, 30 gss_cred_usage_t /*cred_usage*/, 31 gss_cred_id_t * /*output_cred_handle*/, 32 gss_OID_set * /*actual_mechs*/, 33 OM_uint32 * time_rec ); 34 35 OM_uint32 36 _gss_ntlm_add_cred ( 37 OM_uint32 */*minor_status*/, 38 const gss_cred_id_t /*input_cred_handle*/, 39 const gss_name_t /*desired_name*/, 40 const gss_OID /*desired_mech*/, 41 gss_cred_usage_t /*cred_usage*/, 42 OM_uint32 /*initiator_time_req*/, 43 OM_uint32 /*acceptor_time_req*/, 44 gss_cred_id_t */*output_cred_handle*/, 45 gss_OID_set */*actual_mechs*/, 46 OM_uint32 */*initiator_time_rec*/, 47 OM_uint32 */*acceptor_time_rec*/); 48 49 OM_uint32 50 _gss_ntlm_allocate_ctx ( 51 OM_uint32 */*minor_status*/, 52 ntlm_ctx */*ctx*/); 53 54 OM_uint32 55 _gss_ntlm_canonicalize_name ( 56 OM_uint32 * /*minor_status*/, 57 const gss_name_t /*input_name*/, 58 const gss_OID /*mech_type*/, 59 gss_name_t * output_name ); 60 61 OM_uint32 62 _gss_ntlm_compare_name ( 63 OM_uint32 * /*minor_status*/, 64 const gss_name_t /*name1*/, 65 const gss_name_t /*name2*/, 66 int * name_equal ); 67 68 OM_uint32 69 _gss_ntlm_context_time ( 70 OM_uint32 * /*minor_status*/, 71 const gss_ctx_id_t /*context_handle*/, 72 OM_uint32 * time_rec ); 73 74 OM_uint32 75 _gss_ntlm_delete_sec_context ( 76 OM_uint32 * /*minor_status*/, 77 gss_ctx_id_t * /*context_handle*/, 78 gss_buffer_t output_token ); 79 80 OM_uint32 81 _gss_ntlm_display_name ( 82 OM_uint32 * /*minor_status*/, 83 const gss_name_t /*input_name*/, 84 gss_buffer_t /*output_name_buffer*/, 85 gss_OID * output_name_type ); 86 87 OM_uint32 88 _gss_ntlm_display_status ( 89 OM_uint32 */*minor_status*/, 90 OM_uint32 /*status_value*/, 91 int /*status_type*/, 92 const gss_OID /*mech_type*/, 93 OM_uint32 */*message_context*/, 94 gss_buffer_t /*status_string*/); 95 96 OM_uint32 97 _gss_ntlm_duplicate_name ( 98 OM_uint32 * /*minor_status*/, 99 const gss_name_t /*src_name*/, 100 gss_name_t * dest_name ); 101 102 OM_uint32 103 _gss_ntlm_export_name ( 104 OM_uint32 * /*minor_status*/, 105 const gss_name_t /*input_name*/, 106 gss_buffer_t exported_name ); 107 108 OM_uint32 109 _gss_ntlm_export_sec_context ( 110 OM_uint32 * /*minor_status*/, 111 gss_ctx_id_t * /*context_handle*/, 112 gss_buffer_t interprocess_token ); 113 114 OM_uint32 115 _gss_ntlm_get_mic ( 116 OM_uint32 * /*minor_status*/, 117 const gss_ctx_id_t /*context_handle*/, 118 gss_qop_t /*qop_req*/, 119 const gss_buffer_t /*message_buffer*/, 120 gss_buffer_t message_token ); 121 122 int 123 _gss_ntlm_get_user_cred ( 124 const ntlm_name /*target_name*/, 125 ntlm_cred */*rcred*/); 126 127 OM_uint32 128 _gss_ntlm_import_name ( 129 OM_uint32 * /*minor_status*/, 130 const gss_buffer_t /*input_name_buffer*/, 131 const gss_OID /*input_name_type*/, 132 gss_name_t * output_name ); 133 134 OM_uint32 135 _gss_ntlm_import_sec_context ( 136 OM_uint32 * /*minor_status*/, 137 const gss_buffer_t /*interprocess_token*/, 138 gss_ctx_id_t * context_handle ); 139 140 OM_uint32 141 _gss_ntlm_indicate_mechs ( 142 OM_uint32 * /*minor_status*/, 143 gss_OID_set * mech_set ); 144 145 OM_uint32 146 _gss_ntlm_init_sec_context ( 147 OM_uint32 * /*minor_status*/, 148 const gss_cred_id_t /*initiator_cred_handle*/, 149 gss_ctx_id_t * /*context_handle*/, 150 const gss_name_t /*target_name*/, 151 const gss_OID /*mech_type*/, 152 OM_uint32 /*req_flags*/, 153 OM_uint32 /*time_req*/, 154 const gss_channel_bindings_t /*input_chan_bindings*/, 155 const gss_buffer_t /*input_token*/, 156 gss_OID * /*actual_mech_type*/, 157 gss_buffer_t /*output_token*/, 158 OM_uint32 * /*ret_flags*/, 159 OM_uint32 * time_rec ); 160 161 OM_uint32 162 _gss_ntlm_inquire_context ( 163 OM_uint32 * /*minor_status*/, 164 const gss_ctx_id_t /*context_handle*/, 165 gss_name_t * /*src_name*/, 166 gss_name_t * /*targ_name*/, 167 OM_uint32 * /*lifetime_rec*/, 168 gss_OID * /*mech_type*/, 169 OM_uint32 * /*ctx_flags*/, 170 int * /*locally_initiated*/, 171 int * open_context ); 172 173 OM_uint32 174 _gss_ntlm_inquire_cred ( 175 OM_uint32 * /*minor_status*/, 176 const gss_cred_id_t /*cred_handle*/, 177 gss_name_t * /*name*/, 178 OM_uint32 * /*lifetime*/, 179 gss_cred_usage_t * /*cred_usage*/, 180 gss_OID_set * mechanisms ); 181 182 OM_uint32 183 _gss_ntlm_inquire_cred_by_mech ( 184 OM_uint32 * /*minor_status*/, 185 const gss_cred_id_t /*cred_handle*/, 186 const gss_OID /*mech_type*/, 187 gss_name_t * /*name*/, 188 OM_uint32 * /*initiator_lifetime*/, 189 OM_uint32 * /*acceptor_lifetime*/, 190 gss_cred_usage_t * cred_usage ); 191 192 OM_uint32 193 _gss_ntlm_inquire_mechs_for_name ( 194 OM_uint32 * /*minor_status*/, 195 const gss_name_t /*input_name*/, 196 gss_OID_set * mech_types ); 197 198 OM_uint32 199 _gss_ntlm_inquire_names_for_mech ( 200 OM_uint32 * /*minor_status*/, 201 const gss_OID /*mechanism*/, 202 gss_OID_set * name_types ); 203 204 OM_uint32 205 _gss_ntlm_process_context_token ( 206 OM_uint32 */*minor_status*/, 207 const gss_ctx_id_t /*context_handle*/, 208 const gss_buffer_t token_buffer ); 209 210 OM_uint32 211 _gss_ntlm_release_cred ( 212 OM_uint32 * /*minor_status*/, 213 gss_cred_id_t * cred_handle ); 214 215 OM_uint32 216 _gss_ntlm_release_name ( 217 OM_uint32 * /*minor_status*/, 218 gss_name_t * input_name ); 219 220 void 221 _gss_ntlm_set_key ( 222 struct ntlmv2_key */*key*/, 223 int /*acceptor*/, 224 int /*sealsign*/, 225 unsigned char */*data*/, 226 size_t /*len*/); 227 228 OM_uint32 229 _gss_ntlm_unwrap ( 230 OM_uint32 * /*minor_status*/, 231 const gss_ctx_id_t /*context_handle*/, 232 const gss_buffer_t /*input_message_buffer*/, 233 gss_buffer_t /*output_message_buffer*/, 234 int * /*conf_state*/, 235 gss_qop_t * qop_state ); 236 237 OM_uint32 238 _gss_ntlm_verify_mic ( 239 OM_uint32 * /*minor_status*/, 240 const gss_ctx_id_t /*context_handle*/, 241 const gss_buffer_t /*message_buffer*/, 242 const gss_buffer_t /*token_buffer*/, 243 gss_qop_t * qop_state ); 244 245 OM_uint32 246 _gss_ntlm_wrap ( 247 OM_uint32 * /*minor_status*/, 248 const gss_ctx_id_t /*context_handle*/, 249 int /*conf_req_flag*/, 250 gss_qop_t /*qop_req*/, 251 const gss_buffer_t /*input_message_buffer*/, 252 int * /*conf_state*/, 253 gss_buffer_t output_message_buffer ); 254 255 OM_uint32 256 _gss_ntlm_wrap_size_limit ( 257 OM_uint32 * /*minor_status*/, 258 const gss_ctx_id_t /*context_handle*/, 259 int /*conf_req_flag*/, 260 gss_qop_t /*qop_req*/, 261 OM_uint32 /*req_output_size*/, 262 OM_uint32 * max_input_size ); 263 264 #endif /* __ntlm_private_h__ */ 265