summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-25 14:18:08 +0100
committerMichael Adam <obnox@samba.org>2008-03-25 15:55:34 +0100
commitaaa59713155b63b2597f955622be9019bb3cbe89 (patch)
tree387265c33a331aa940f4f1984f2b2fd67c594b54 /source3/include
parent2d02e5a16d53072a73d0d864da9b90dd3dad994a (diff)
downloadsamba-aaa59713155b63b2597f955622be9019bb3cbe89.tar.gz
samba-aaa59713155b63b2597f955622be9019bb3cbe89.tar.bz2
samba-aaa59713155b63b2597f955622be9019bb3cbe89.zip
util_tdb: add a wrapper tdb_wipe() for traverse with tdb_traverse_delete_fn().
Replace all callers of traverse with this tdb_traverse_delete_fn() and don't export tdb_traverse_delete_fn() anymore. Michael (This used to be commit d4be4e30cd8c3bdc303da30e42280f892a45a8c9)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/util_tdb.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/util_tdb.h b/source3/include/util_tdb.h
index 4ed791b69b..0a8eb935a3 100644
--- a/source3/include/util_tdb.h
+++ b/source3/include/util_tdb.h
@@ -73,8 +73,7 @@ int32 tdb_change_int32_atomic(struct tdb_context *tdb, const char *keystr, int32
bool tdb_change_uint32_atomic(TDB_CONTEXT *tdb, const char *keystr,
uint32 *oldval, uint32 change_val);
-int tdb_traverse_delete_fn(struct tdb_context *the_tdb, TDB_DATA key, TDB_DATA dbuf,
- void *state);
+int tdb_wipe(TDB_CONTEXT *tdb);
int tdb_store_bystring(struct tdb_context *tdb, const char *keystr, TDB_DATA data, int flags);
int tdb_trans_store_bystring(TDB_CONTEXT *tdb, const char *keystr,