summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2007-09-09 12:02:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:05:48 -0500
commit43742e53c900733cf0eff085cb073d0c1c937530 (patch)
treef4d8f6ba2c293eaa8c1cd082a6d947adfe8f1ba5
parent90b692de7d695f8deb9cd615883dfbd1b19c857e (diff)
downloadsamba-43742e53c900733cf0eff085cb073d0c1c937530.tar.gz
samba-43742e53c900733cf0eff085cb073d0c1c937530.tar.bz2
samba-43742e53c900733cf0eff085cb073d0c1c937530.zip
r25046: Ditch tdb_traverse() as it doesn't lend itself to any Python idioms
and the semantics can be reproduced using tdb_firstkey() and tdb_nextkey(). Oh, and also because I can't figure out how to get SWIG to do exactly what I want here. (This used to be commit 59b44a9796c8254c59ff110c436d8832af81bedc)
-rw-r--r--source4/lib/tdb/swig/tdb.i2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/lib/tdb/swig/tdb.i b/source4/lib/tdb/swig/tdb.i
index 892a4de63f..1ff21f53b5 100644
--- a/source4/lib/tdb/swig/tdb.i
+++ b/source4/lib/tdb/swig/tdb.i
@@ -149,6 +149,4 @@ TDB_DATA tdb_firstkey(TDB_CONTEXT *tdb);
TDB_DATA tdb_nextkey(TDB_CONTEXT *tdb, TDB_DATA key);
-int tdb_traverse(TDB_CONTEXT *tdb, tdb_traverse_func fn, void *state);
-
int tdb_exists(TDB_CONTEXT *tdb, TDB_DATA key);