From a347a4802695c41437e2966404d1e2fe2dee78b4 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 14 Sep 2011 08:02:13 +0930 Subject: tdb2: unify tdb1_wipe into tdb_wipe. Switch on the TDB_VERSION1 flag. Signed-off-by: Rusty Russell (Imported from CCAN commit b2555a868e3ee58d1b31f9558e3623d49ed2b2f1) --- lib/tdb2/private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/tdb2/private.h') diff --git a/lib/tdb2/private.h b/lib/tdb2/private.h index 71ef07538e..f4fba85d3e 100644 --- a/lib/tdb2/private.h +++ b/lib/tdb2/private.h @@ -693,6 +693,7 @@ enum TDB_ERROR tdb1_parse_record(struct tdb_context *tdb, TDB_DATA key, void *private_data); void tdb1_increment_seqnum_nonblock(struct tdb_context *tdb); int tdb1_get_seqnum(struct tdb_context *tdb); +int tdb1_wipe_all(struct tdb_context *tdb); /* tdb1_transaction.c: */ int tdb1_transaction_start(struct tdb_context *tdb); -- cgit