rename mdb to mitdb

This commit is contained in:
Love Hornquist Astrand
2012-10-06 15:38:56 -07:00
parent 65107e39ee
commit 216bfa564d
2 changed files with 3 additions and 3 deletions

View File

@@ -1061,8 +1061,8 @@ mdb_open(krb5_context context, HDB *db, int flags, mode_t mode)
} }
krb5_error_code krb5_error_code
hdb_mdb_create(krb5_context context, HDB **db, hdb_mitdb_create(krb5_context context, HDB **db,
const char *filename) const char *filename)
{ {
*db = calloc(1, sizeof(**db)); *db = calloc(1, sizeof(**db));
if (*db == NULL) { if (*db == NULL) {

View File

@@ -68,7 +68,7 @@ static struct hdb_method methods[] = {
{ HDB_INTERFACE_VERSION, "db:", hdb_db_create}, { HDB_INTERFACE_VERSION, "db:", hdb_db_create},
#endif #endif
#if HAVE_DB1 #if HAVE_DB1
{ HDB_INTERFACE_VERSION, "mit-db:", hdb_mdb_create}, { HDB_INTERFACE_VERSION, "mit-db:", hdb_mitdb_create},
#endif #endif
#if HAVE_NDBM #if HAVE_NDBM
{ HDB_INTERFACE_VERSION, "ndbm:", hdb_ndbm_create}, { HDB_INTERFACE_VERSION, "ndbm:", hdb_ndbm_create},