#ifndef _TDB_WRAP_H_
#define _TDB_WRAP_H_
-#include "tdb.h"
+#include <talloc.h>
+#include <tdb.h>
struct tdb_wrap {
struct tdb_context *tdb;
};
-struct loadparm_context;
-
-struct tdb_wrap *tdb_wrap_open_(TALLOC_CTX *mem_ctx,
- const char *name, int hash_size, int tdb_flags,
- int open_flags, mode_t mode);
struct tdb_wrap *tdb_wrap_open(TALLOC_CTX *mem_ctx,
const char *name, int hash_size, int tdb_flags,
- int open_flags, mode_t mode,
- struct loadparm_context *lp_ctx);
+ int open_flags, mode_t mode);
#endif /* _TDB_WRAP_H_ */