prefix all struct HDB elements with hdb_

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12880 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-09-19 00:25:35 +00:00
parent ef91ed3046
commit 0540f13b86
29 changed files with 372 additions and 385 deletions

View File

@@ -51,10 +51,10 @@ kadm5_s_randkey_principal(void *server_handle,
kadm5_ret_t ret;
ent.principal = princ;
ret = context->db->open(context->context, context->db, O_RDWR, 0);
ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0);
if(ret)
return ret;
ret = context->db->fetch(context->context, context->db, 0, &ent);
ret = context->db->hdb_fetch(context->context, context->db, 0, &ent);
if(ret)
goto out;
@@ -81,8 +81,8 @@ kadm5_s_randkey_principal(void *server_handle,
KADM5_PRINCIPAL | KADM5_MOD_NAME | KADM5_MOD_TIME |
KADM5_KEY_DATA | KADM5_KVNO | KADM5_PW_EXPIRATION);
ret = context->db->store(context->context, context->db,
HDB_F_REPLACE, &ent);
ret = context->db->hdb_store(context->context, context->db,
HDB_F_REPLACE, &ent);
out3:
if (ret) {
int i;
@@ -96,6 +96,6 @@ out3:
out2:
hdb_free_entry(context->context, &ent);
out:
context->db->close(context->context, context->db);
context->db->hdb_close(context->context, context->db);
return _kadm5_error_code(ret);
}