1170f4091Selric /* This is a generated file */ 2170f4091Selric #ifndef __hdb_private_h__ 3170f4091Selric #define __hdb_private_h__ 4170f4091Selric 5170f4091Selric #include <stdarg.h> 6170f4091Selric 7170f4091Selric krb5_error_code 8170f4091Selric _hdb_fetch_kvno ( 9170f4091Selric krb5_context /*context*/, 10170f4091Selric HDB */*db*/, 11170f4091Selric krb5_const_principal /*principal*/, 12170f4091Selric unsigned /*flags*/, 13170f4091Selric krb5_kvno /*kvno*/, 14170f4091Selric hdb_entry_ex */*entry*/); 15170f4091Selric 16170f4091Selric hdb_master_key 17170f4091Selric _hdb_find_master_key ( 18*d3273b5bSchristos unsigned int */*mkvno*/, 19170f4091Selric hdb_master_key /*mkey*/); 20170f4091Selric 21170f4091Selric krb5_error_code 22170f4091Selric _hdb_keytab2hdb_entry ( 23170f4091Selric krb5_context /*context*/, 24170f4091Selric const krb5_keytab_entry */*ktentry*/, 25170f4091Selric hdb_entry_ex */*entry*/); 26170f4091Selric 27*d3273b5bSchristos krb5_error_code 28*d3273b5bSchristos _hdb_mdb_value2entry ( 29*d3273b5bSchristos krb5_context /*context*/, 30*d3273b5bSchristos krb5_data */*data*/, 31*d3273b5bSchristos krb5_kvno /*target_kvno*/, 32*d3273b5bSchristos hdb_entry */*entry*/); 33*d3273b5bSchristos 34*d3273b5bSchristos int 35*d3273b5bSchristos _hdb_mit_dump2mitdb_entry ( 36*d3273b5bSchristos krb5_context /*context*/, 37*d3273b5bSchristos char */*line*/, 38*d3273b5bSchristos krb5_storage */*sp*/); 39*d3273b5bSchristos 40170f4091Selric int 41170f4091Selric _hdb_mkey_decrypt ( 42170f4091Selric krb5_context /*context*/, 43170f4091Selric hdb_master_key /*key*/, 44170f4091Selric krb5_key_usage /*usage*/, 45170f4091Selric void */*ptr*/, 46170f4091Selric size_t /*size*/, 47170f4091Selric krb5_data */*res*/); 48170f4091Selric 49170f4091Selric int 50170f4091Selric _hdb_mkey_encrypt ( 51170f4091Selric krb5_context /*context*/, 52170f4091Selric hdb_master_key /*key*/, 53170f4091Selric krb5_key_usage /*usage*/, 54170f4091Selric const void */*ptr*/, 55170f4091Selric size_t /*size*/, 56170f4091Selric krb5_data */*res*/); 57170f4091Selric 58170f4091Selric int 59170f4091Selric _hdb_mkey_version (hdb_master_key /*mkey*/); 60170f4091Selric 61170f4091Selric krb5_error_code 62170f4091Selric _hdb_remove ( 63170f4091Selric krb5_context /*context*/, 64170f4091Selric HDB */*db*/, 65*d3273b5bSchristos unsigned /*flags*/, 66170f4091Selric krb5_const_principal /*principal*/); 67170f4091Selric 68170f4091Selric krb5_error_code 69*d3273b5bSchristos _hdb_set_master_key_usage ( 70*d3273b5bSchristos krb5_context /*context*/, 71*d3273b5bSchristos HDB */*db*/, 72*d3273b5bSchristos unsigned int /*key_usage*/); 73*d3273b5bSchristos 74*d3273b5bSchristos krb5_error_code 75170f4091Selric _hdb_store ( 76170f4091Selric krb5_context /*context*/, 77170f4091Selric HDB */*db*/, 78170f4091Selric unsigned /*flags*/, 79170f4091Selric hdb_entry_ex */*entry*/); 80170f4091Selric 81170f4091Selric #endif /* __hdb_private_h__ */ 82