Add hdb_default_db().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22306 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -239,7 +239,7 @@ hdb_free_dbinfo(krb5_context context, struct hdb_dbinfo **dbp)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the directory where the hdb database resides.
|
* Return the directory where the hdb database resides.
|
||||||
|
*
|
||||||
* @param context Kerberos 5 context.
|
* @param context Kerberos 5 context.
|
||||||
*
|
*
|
||||||
* @return string pointing to directory.
|
* @return string pointing to directory.
|
||||||
@@ -250,3 +250,17 @@ hdb_db_dir(krb5_context context)
|
|||||||
{
|
{
|
||||||
return HDB_DB_DIR;
|
return HDB_DB_DIR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the default hdb database resides.
|
||||||
|
*
|
||||||
|
* @param context Kerberos 5 context.
|
||||||
|
*
|
||||||
|
* @return string pointing to directory.
|
||||||
|
*/
|
||||||
|
|
||||||
|
const char *
|
||||||
|
hdb_default_db(krb5_context context)
|
||||||
|
{
|
||||||
|
return HDB_DEFAULT_DB;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user