summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-09-04 22:55:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:32 -0500
commitb575ce6b4b09db7b8ea6b25cdee4364df8511b94 (patch)
tree5264e58950ae12404ca19ed544520aae6c953795 /source4/scripting
parente0459c7f72ddd5d1bea5f9516b7092e593244633 (diff)
downloadsamba-b575ce6b4b09db7b8ea6b25cdee4364df8511b94.tar.gz
samba-b575ce6b4b09db7b8ea6b25cdee4364df8511b94.tar.bz2
samba-b575ce6b4b09db7b8ea6b25cdee4364df8511b94.zip
r2226: A bunch of fixes to get python tdb module building again. I'm not
sure how this can be integrated into the build system properly though. Editing makefile.pl is the wrong way to do this. (This used to be commit e6a42f7880993271f2610584182f7d47538b6747)
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);