1 /* This is a generated file */
2 #ifndef __hdb_protos_h__
3 #define __hdb_protos_h__
13 krb5_context
/*context*/,
14 krb5_keyblock */
*key*/
,
15 hdb_master_key */
*inout*/
);
19 krb5_context
/*context*/,
24 krb5_context
/*context*/,
29 hdb_clear_master_key (
30 krb5_context
/*context*/,
35 krb5_context
/*context*/,
37 const char */
*filename*/
);
41 krb5_context
/*context*/,
43 const char */
*filename*/
);
46 hdb_db_dir (krb5_context
/*context*/);
49 hdb_dbinfo_get_acl_file (
50 krb5_context
/*context*/,
51 struct hdb_dbinfo */
*dbp*/
);
53 const krb5_config_binding
*
54 hdb_dbinfo_get_binding (
55 krb5_context
/*context*/,
56 struct hdb_dbinfo */
*dbp*/
);
59 hdb_dbinfo_get_dbname (
60 krb5_context
/*context*/,
61 struct hdb_dbinfo */
*dbp*/
);
64 hdb_dbinfo_get_label (
65 krb5_context
/*context*/,
66 struct hdb_dbinfo */
*dbp*/
);
69 hdb_dbinfo_get_log_file (
70 krb5_context
/*context*/,
71 struct hdb_dbinfo */
*dbp*/
);
74 hdb_dbinfo_get_mkey_file (
75 krb5_context
/*context*/,
76 struct hdb_dbinfo */
*dbp*/
);
80 struct hdb_dbinfo */
*dbp*/
,
81 struct hdb_dbinfo */
*dbprevp*/
);
84 hdb_dbinfo_get_realm (
85 krb5_context
/*context*/,
86 struct hdb_dbinfo */
*dbp*/
);
89 hdb_default_db (krb5_context
/*context*/);
93 krb5_context
/*context*/,
95 krb5_enctype
/*enctype*/,
100 krb5_context
/*context*/,
106 krb5_context
/*context*/,
107 const hdb_entry */
*ent*/
,
108 krb5_data */
*value*/
);
111 hdb_entry_alias2value (
112 krb5_context
/*context*/,
113 const hdb_entry_alias */
*alias*/
,
114 krb5_data */
*value*/
);
117 hdb_entry_check_mandatory (
118 krb5_context
/*context*/,
119 const hdb_entry */
*ent*/
);
122 hdb_entry_clear_password (
123 krb5_context
/*context*/,
124 hdb_entry */
*entry*/
);
127 hdb_entry_get_ConstrainedDelegACL (
128 const hdb_entry */
*entry*/
,
129 const HDB_Ext_Constrained_delegation_acl
**/
*a*/
);
132 hdb_entry_get_aliases (
133 const hdb_entry */
*entry*/
,
134 const HDB_Ext_Aliases
**/
*a*/
);
137 hdb_entry_get_password (
138 krb5_context
/*context*/,
140 const hdb_entry */
*entry*/
,
144 hdb_entry_get_pkinit_acl (
145 const hdb_entry */
*entry*/
,
146 const HDB_Ext_PKINIT_acl
**/
*a*/
);
149 hdb_entry_get_pkinit_cert (
150 const hdb_entry */
*entry*/
,
151 const HDB_Ext_PKINIT_cert
**/
*a*/
);
154 hdb_entry_get_pkinit_hash (
155 const hdb_entry */
*entry*/
,
156 const HDB_Ext_PKINIT_hash
**/
*a*/
);
159 hdb_entry_get_pw_change_time (
160 const hdb_entry */
*entry*/
,
164 hdb_entry_set_password (
165 krb5_context
/*context*/,
167 hdb_entry */
*entry*/
,
171 hdb_entry_set_pw_change_time (
172 krb5_context
/*context*/,
173 hdb_entry */
*entry*/
,
178 const hdb_entry */
*entry*/
,
183 krb5_context
/*context*/,
186 hdb_foreach_func_t
/*func*/,
191 krb5_context
/*context*/,
192 struct hdb_dbinfo
**/
*dbp*/
);
196 krb5_context
/*context*/,
197 hdb_entry_ex */
*ent*/
);
200 hdb_free_key (Key */
*key*/
);
204 krb5_context
/*context*/,
209 hdb_free_master_key (
210 krb5_context
/*context*/,
211 hdb_master_key
/*mkey*/);
214 hdb_generate_key_set (
215 krb5_context
/*context*/,
216 krb5_principal
/*principal*/,
217 Key
**/
*ret_key_set*/
,
222 hdb_generate_key_set_password (
223 krb5_context
/*context*/,
224 krb5_principal
/*principal*/,
225 const char */
*password*/
,
227 size_t */
*num_keys*/
);
231 krb5_context
/*context*/,
232 struct hdb_dbinfo
**/
*dbp*/
);
236 krb5_context
/*context*/,
241 krb5_context
/*context*/,
243 krb5_principal
/*p*/);
247 krb5_context
/*context*/,
249 const char */
*arg*/
);
253 krb5_context
/*context*/,
255 const char */
*arg*/
);
259 krb5_context
/*context*/,
261 const char */
*arg*/
);
265 krb5_context
/*context*/,
275 krb5_context
/*context*/,
277 const char */
*filename*/
);
281 krb5_context
/*context*/,
283 const char */
*filename*/
);
286 hdb_next_enctype2key (
287 krb5_context
/*context*/,
288 const hdb_entry */
*e*/
,
289 krb5_enctype
/*enctype*/,
294 krb5_context
/*context*/,
295 krb5_const_principal
/*p*/,
300 krb5_context
/*context*/,
302 hdb_entry_ex */
*entry*/
,
306 hdb_process_master_key (
307 krb5_context
/*context*/,
309 krb5_keyblock */
*key*/
,
310 krb5_enctype
/*etype*/,
311 hdb_master_key */
*mkey*/
);
314 hdb_read_master_key (
315 krb5_context
/*context*/,
316 const char */
*filename*/
,
317 hdb_master_key */
*mkey*/
);
320 hdb_replace_extension (
321 krb5_context
/*context*/,
322 hdb_entry */
*entry*/
,
323 const HDB_extension */
*ext*/
);
327 krb5_context
/*context*/,
333 krb5_context
/*context*/,
335 hdb_master_key
/*mkey*/);
339 krb5_context
/*context*/,
345 krb5_context
/*context*/,
347 hdb_master_key
/*mkey*/);
351 krb5_context
/*context*/,
353 krb5_keyblock */
*key*/
);
356 hdb_set_master_keyfile (
357 krb5_context
/*context*/,
359 const char */
*keyfile*/
);
363 krb5_context
/*context*/,
365 const char */
*argument*/
);
368 hdb_unlock (int /*fd*/);
372 krb5_context
/*context*/,
377 hdb_unseal_key_mkey (
378 krb5_context
/*context*/,
380 hdb_master_key
/*mkey*/);
384 krb5_context
/*context*/,
389 hdb_unseal_keys_mkey (
390 krb5_context
/*context*/,
392 hdb_master_key
/*mkey*/);
396 krb5_context
/*context*/,
397 krb5_data */
*value*/
,
401 hdb_value2entry_alias (
402 krb5_context
/*context*/,
403 krb5_data */
*value*/
,
404 hdb_entry_alias */
*ent*/
);
407 hdb_write_master_key (
408 krb5_context
/*context*/,
409 const char */
*filename*/
,
410 hdb_master_key
/*mkey*/);
416 #endif /* __hdb_protos_h__ */