summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/hdb/hdb.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-09-24 12:53:10 -0700
committerAndrew Bartlett <abartlet@samba.org>2008-09-29 22:34:35 -0700
commit6ad78f01a5982666c83025a94ce4ff3729d5db6f (patch)
treeb440f90fefd1e64479625d8dd63b5f43f4e10255 /source4/heimdal/lib/hdb/hdb.h
parent8dd35fabbb4732cf601a93abbe0373fd53e661a1 (diff)
downloadsamba-6ad78f01a5982666c83025a94ce4ff3729d5db6f.tar.gz
samba-6ad78f01a5982666c83025a94ce4ff3729d5db6f.tar.bz2
samba-6ad78f01a5982666c83025a94ce4ff3729d5db6f.zip
Rename hdb_ldb to hdb_samba4 and load as a plugin into the kdc.
This avoids one more custom patch to the Heimdal code, and provides a more standard way to produce hdb plugins in future. I've renamed from hdb_ldb to hdb_samba4 as it really is not generic ldb. Andrew Bartlett
Diffstat (limited to 'source4/heimdal/lib/hdb/hdb.h')
-rw-r--r--source4/heimdal/lib/hdb/hdb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/heimdal/lib/hdb/hdb.h b/source4/heimdal/lib/hdb/hdb.h
index bc1b744015..5c2097ea59 100644
--- a/source4/heimdal/lib/hdb/hdb.h
+++ b/source4/heimdal/lib/hdb/hdb.h
@@ -139,6 +139,12 @@ typedef krb5_error_code (*hdb_foreach_func_t)(krb5_context, HDB*,
hdb_entry_ex*, void*);
extern krb5_kt_ops hdb_kt_ops;
+struct hdb_method {
+ int interface_version;
+ const char *prefix;
+ krb5_error_code (*create)(krb5_context, HDB **, const char *filename);
+};
+
#include <hdb-protos.h>
#endif /* __HDB_H__ */