From 25d04f4314fdc0e63f7b76a82ac20e1f19db9259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 7 Dec 2007 18:21:47 +0000 Subject: [PATCH] (hdb_db_dir): Return the directory where the hdb database resides. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22208 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hdb/dbinfo.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/hdb/dbinfo.c b/lib/hdb/dbinfo.c index 11cc74346..f0846a373 100644 --- a/lib/hdb/dbinfo.c +++ b/lib/hdb/dbinfo.c @@ -236,3 +236,17 @@ hdb_free_dbinfo(krb5_context context, struct hdb_dbinfo **dbp) } *dbp = NULL; } + +/** + * Return the directory where the hdb database resides. + + * @param context Kerberos 5 context. + * + * @return string pointing to directory. + */ + +const char * +hdb_db_dir(krb5_context context) +{ + return HDB_DB_DIR; +}