1/* This is a generated file */ 2#ifndef __hdb_protos_h__ 3#define __hdb_protos_h__ 4 5#include <stdarg.h> 6 7#ifdef __cplusplus 8extern "C" { 9#endif 10 11krb5_error_code 12hdb_add_master_key ( 13 krb5_context /*context*/, 14 krb5_keyblock */*key*/, 15 hdb_master_key */*inout*/); 16 17krb5_error_code 18hdb_check_db_format ( 19 krb5_context /*context*/, 20 HDB */*db*/); 21 22krb5_error_code 23hdb_clear_extension ( 24 krb5_context /*context*/, 25 hdb_entry */*entry*/, 26 int /*type*/); 27 28krb5_error_code 29hdb_clear_master_key ( 30 krb5_context /*context*/, 31 HDB */*db*/); 32 33krb5_error_code 34hdb_create ( 35 krb5_context /*context*/, 36 HDB **/*db*/, 37 const char */*filename*/); 38 39krb5_error_code 40hdb_db_create ( 41 krb5_context /*context*/, 42 HDB **/*db*/, 43 const char */*filename*/); 44 45const char * 46hdb_db_dir (krb5_context /*context*/); 47 48const char * 49hdb_dbinfo_get_acl_file ( 50 krb5_context /*context*/, 51 struct hdb_dbinfo */*dbp*/); 52 53const krb5_config_binding * 54hdb_dbinfo_get_binding ( 55 krb5_context /*context*/, 56 struct hdb_dbinfo */*dbp*/); 57 58const char * 59hdb_dbinfo_get_dbname ( 60 krb5_context /*context*/, 61 struct hdb_dbinfo */*dbp*/); 62 63const char * 64hdb_dbinfo_get_label ( 65 krb5_context /*context*/, 66 struct hdb_dbinfo */*dbp*/); 67 68const char * 69hdb_dbinfo_get_log_file ( 70 krb5_context /*context*/, 71 struct hdb_dbinfo */*dbp*/); 72 73const char * 74hdb_dbinfo_get_mkey_file ( 75 krb5_context /*context*/, 76 struct hdb_dbinfo */*dbp*/); 77 78struct hdb_dbinfo * 79hdb_dbinfo_get_next ( 80 struct hdb_dbinfo */*dbp*/, 81 struct hdb_dbinfo */*dbprevp*/); 82 83const char * 84hdb_dbinfo_get_realm ( 85 krb5_context /*context*/, 86 struct hdb_dbinfo */*dbp*/); 87 88const char * 89hdb_default_db (krb5_context /*context*/); 90 91krb5_error_code 92hdb_enctype2key ( 93 krb5_context /*context*/, 94 hdb_entry */*e*/, 95 krb5_enctype /*enctype*/, 96 Key **/*key*/); 97 98krb5_error_code 99hdb_entry2string ( 100 krb5_context /*context*/, 101 hdb_entry */*ent*/, 102 char **/*str*/); 103 104int 105hdb_entry2value ( 106 krb5_context /*context*/, 107 const hdb_entry */*ent*/, 108 krb5_data */*value*/); 109 110int 111hdb_entry_alias2value ( 112 krb5_context /*context*/, 113 const hdb_entry_alias */*alias*/, 114 krb5_data */*value*/); 115 116krb5_error_code 117hdb_entry_check_mandatory ( 118 krb5_context /*context*/, 119 const hdb_entry */*ent*/); 120 121int 122hdb_entry_clear_password ( 123 krb5_context /*context*/, 124 hdb_entry */*entry*/); 125 126krb5_error_code 127hdb_entry_get_ConstrainedDelegACL ( 128 const hdb_entry */*entry*/, 129 const HDB_Ext_Constrained_delegation_acl **/*a*/); 130 131krb5_error_code 132hdb_entry_get_aliases ( 133 const hdb_entry */*entry*/, 134 const HDB_Ext_Aliases **/*a*/); 135 136int 137hdb_entry_get_password ( 138 krb5_context /*context*/, 139 HDB */*db*/, 140 const hdb_entry */*entry*/, 141 char **/*p*/); 142 143krb5_error_code 144hdb_entry_get_pkinit_acl ( 145 const hdb_entry */*entry*/, 146 const HDB_Ext_PKINIT_acl **/*a*/); 147 148krb5_error_code 149hdb_entry_get_pkinit_cert ( 150 const hdb_entry */*entry*/, 151 const HDB_Ext_PKINIT_cert **/*a*/); 152 153krb5_error_code 154hdb_entry_get_pkinit_hash ( 155 const hdb_entry */*entry*/, 156 const HDB_Ext_PKINIT_hash **/*a*/); 157 158krb5_error_code 159hdb_entry_get_pw_change_time ( 160 const hdb_entry */*entry*/, 161 time_t */*t*/); 162 163int 164hdb_entry_set_password ( 165 krb5_context /*context*/, 166 HDB */*db*/, 167 hdb_entry */*entry*/, 168 const char */*p*/); 169 170krb5_error_code 171hdb_entry_set_pw_change_time ( 172 krb5_context /*context*/, 173 hdb_entry */*entry*/, 174 time_t /*t*/); 175 176HDB_extension * 177hdb_find_extension ( 178 const hdb_entry */*entry*/, 179 int /*type*/); 180 181krb5_error_code 182hdb_foreach ( 183 krb5_context /*context*/, 184 HDB */*db*/, 185 unsigned /*flags*/, 186 hdb_foreach_func_t /*func*/, 187 void */*data*/); 188 189void 190hdb_free_dbinfo ( 191 krb5_context /*context*/, 192 struct hdb_dbinfo **/*dbp*/); 193 194void 195hdb_free_entry ( 196 krb5_context /*context*/, 197 hdb_entry_ex */*ent*/); 198 199void 200hdb_free_key (Key */*key*/); 201 202void 203hdb_free_keys ( 204 krb5_context /*context*/, 205 int /*len*/, 206 Key */*keys*/); 207 208void 209hdb_free_master_key ( 210 krb5_context /*context*/, 211 hdb_master_key /*mkey*/); 212 213krb5_error_code 214hdb_generate_key_set ( 215 krb5_context /*context*/, 216 krb5_principal /*principal*/, 217 Key **/*ret_key_set*/, 218 size_t */*nkeyset*/, 219 int /*no_salt*/); 220 221krb5_error_code 222hdb_generate_key_set_password ( 223 krb5_context /*context*/, 224 krb5_principal /*principal*/, 225 const char */*password*/, 226 Key **/*keys*/, 227 size_t */*num_keys*/); 228 229int 230hdb_get_dbinfo ( 231 krb5_context /*context*/, 232 struct hdb_dbinfo **/*dbp*/); 233 234krb5_error_code 235hdb_init_db ( 236 krb5_context /*context*/, 237 HDB */*db*/); 238 239int 240hdb_key2principal ( 241 krb5_context /*context*/, 242 krb5_data */*key*/, 243 krb5_principal /*p*/); 244 245krb5_error_code 246hdb_keytab_create ( 247 krb5_context /*context*/, 248 HDB ** /*db*/, 249 const char */*arg*/); 250 251krb5_error_code 252hdb_ldap_create ( 253 krb5_context /*context*/, 254 HDB ** /*db*/, 255 const char */*arg*/); 256 257krb5_error_code 258hdb_ldapi_create ( 259 krb5_context /*context*/, 260 HDB ** /*db*/, 261 const char */*arg*/); 262 263krb5_error_code 264hdb_list_builtin ( 265 krb5_context /*context*/, 266 char **/*list*/); 267 268krb5_error_code 269hdb_lock ( 270 int /*fd*/, 271 int /*operation*/); 272 273krb5_error_code 274hdb_mdb_create ( 275 krb5_context /*context*/, 276 HDB **/*db*/, 277 const char */*filename*/); 278 279krb5_error_code 280hdb_ndbm_create ( 281 krb5_context /*context*/, 282 HDB **/*db*/, 283 const char */*filename*/); 284 285krb5_error_code 286hdb_next_enctype2key ( 287 krb5_context /*context*/, 288 const hdb_entry */*e*/, 289 krb5_enctype /*enctype*/, 290 Key **/*key*/); 291 292int 293hdb_principal2key ( 294 krb5_context /*context*/, 295 krb5_const_principal /*p*/, 296 krb5_data */*key*/); 297 298krb5_error_code 299hdb_print_entry ( 300 krb5_context /*context*/, 301 HDB */*db*/, 302 hdb_entry_ex */*entry*/, 303 void */*data*/); 304 305krb5_error_code 306hdb_process_master_key ( 307 krb5_context /*context*/, 308 int /*kvno*/, 309 krb5_keyblock */*key*/, 310 krb5_enctype /*etype*/, 311 hdb_master_key */*mkey*/); 312 313krb5_error_code 314hdb_read_master_key ( 315 krb5_context /*context*/, 316 const char */*filename*/, 317 hdb_master_key */*mkey*/); 318 319krb5_error_code 320hdb_replace_extension ( 321 krb5_context /*context*/, 322 hdb_entry */*entry*/, 323 const HDB_extension */*ext*/); 324 325krb5_error_code 326hdb_seal_key ( 327 krb5_context /*context*/, 328 HDB */*db*/, 329 Key */*k*/); 330 331krb5_error_code 332hdb_seal_key_mkey ( 333 krb5_context /*context*/, 334 Key */*k*/, 335 hdb_master_key /*mkey*/); 336 337krb5_error_code 338hdb_seal_keys ( 339 krb5_context /*context*/, 340 HDB */*db*/, 341 hdb_entry */*ent*/); 342 343krb5_error_code 344hdb_seal_keys_mkey ( 345 krb5_context /*context*/, 346 hdb_entry */*ent*/, 347 hdb_master_key /*mkey*/); 348 349krb5_error_code 350hdb_set_master_key ( 351 krb5_context /*context*/, 352 HDB */*db*/, 353 krb5_keyblock */*key*/); 354 355krb5_error_code 356hdb_set_master_keyfile ( 357 krb5_context /*context*/, 358 HDB */*db*/, 359 const char */*keyfile*/); 360 361krb5_error_code 362hdb_sqlite_create ( 363 krb5_context /*context*/, 364 HDB **/*db*/, 365 const char */*argument*/); 366 367krb5_error_code 368hdb_unlock (int /*fd*/); 369 370krb5_error_code 371hdb_unseal_key ( 372 krb5_context /*context*/, 373 HDB */*db*/, 374 Key */*k*/); 375 376krb5_error_code 377hdb_unseal_key_mkey ( 378 krb5_context /*context*/, 379 Key */*k*/, 380 hdb_master_key /*mkey*/); 381 382krb5_error_code 383hdb_unseal_keys ( 384 krb5_context /*context*/, 385 HDB */*db*/, 386 hdb_entry */*ent*/); 387 388krb5_error_code 389hdb_unseal_keys_mkey ( 390 krb5_context /*context*/, 391 hdb_entry */*ent*/, 392 hdb_master_key /*mkey*/); 393 394int 395hdb_value2entry ( 396 krb5_context /*context*/, 397 krb5_data */*value*/, 398 hdb_entry */*ent*/); 399 400int 401hdb_value2entry_alias ( 402 krb5_context /*context*/, 403 krb5_data */*value*/, 404 hdb_entry_alias */*ent*/); 405 406krb5_error_code 407hdb_write_master_key ( 408 krb5_context /*context*/, 409 const char */*filename*/, 410 hdb_master_key /*mkey*/); 411 412#ifdef __cplusplus 413} 414#endif 415 416#endif /* __hdb_protos_h__ */ 417