From c12e22c5eeb14727388a631b2ee92b04469bfdff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 29 Jun 2003 12:08:34 +0000 Subject: [PATCH] add struct hdb_so_method and HDB_INTERFACE_VERSION git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12410 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hdb/hdb.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/hdb/hdb.h b/lib/hdb/hdb.h index ed836faca..a81c7eed0 100644 --- a/lib/hdb/hdb.h +++ b/lib/hdb/hdb.h @@ -78,6 +78,14 @@ typedef struct HDB{ krb5_error_code (*destroy)(krb5_context, struct HDB*); }HDB; +#define HDB_INTERFACE_VERSION 1 + +struct hdb_so_method { + int version; + const char *prefix; + krb5_error_code (*create)(krb5_context, HDB **, const char *filename); +}; + #define HDB_DB_DIR "/var/heimdal" #define HDB_DEFAULT_DB HDB_DB_DIR "/heimdal" #define HDB_DB_FORMAT_ENTRY "hdb/db-format"