replace: Fix checking for config.h #define in gssapi.h
[samba.git] / lib / tdb_wrap / tdb_wrap.h
index 54d9a0a72e66922dafcb99ce4d7c19635e5e2959..de7e332bdb992ecf880102e0dc1bca831cb3942c 100644 (file)
 #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_ */