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
This commit is contained in:
Love Hörnquist Åstrand
2003-06-29 12:08:34 +00:00
parent 310984c158
commit c12e22c5ee

View File

@@ -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"