summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/swig/tdb.i5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/scripting/swig/tdb.i b/source4/scripting/swig/tdb.i
index e645dfaf79..f4a3f53c4b 100644
--- a/source4/scripting/swig/tdb.i
+++ b/source4/scripting/swig/tdb.i
@@ -40,7 +40,7 @@ typedef int SIG_ATOMIC_T;
/* Include tdb headers */
-#include "tdb/tdb.h"
+#include "lib/tdb/include/tdb.h"
%}
@@ -100,7 +100,8 @@ TDB_CONTEXT *tdb_open(const char *name, int hash_size, int tdb_flags,
TDB_CONTEXT *tdb_open_ex(const char *name, int hash_size, int tdb_flags,
int open_flags, mode_t mode,
- tdb_log_func log_fn);
+ tdb_log_func log_fn,
+ tdb_hash_func hash_fn);
int tdb_reopen(TDB_CONTEXT *tdb);
int tdb_reopen_all(void);