ldb_tdb: factor out the (to be) common init code
[ambi/samba-autobuild/.git] / lib / ldb / ldb_tdb / ldb_tdb.h
index 5c930bf997a10c4d182bc267d490db7b9c5706ee..a40bbad96996f6bded7877a28b61714633a16223 100644 (file)
@@ -196,3 +196,6 @@ struct tdb_context *ltdb_wrap_open(TALLOC_CTX *mem_ctx,
                                   const char *path, int hash_size, int tdb_flags,
                                   int open_flags, mode_t mode,
                                   struct ldb_context *ldb);
+int init_store(struct ltdb_private *ltdb, const char *name,
+              struct ldb_context *ldb, const char *options[],
+              struct ldb_module **_module);