From b50b48f575d8ad2a709c89dab0a64e19e45d7b08 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 14 Sep 2011 08:06:13 +0930 Subject: tdb2: add tdb_attribute_tdb1_max_dead This allows us to simulate the old "volatile" flag for tdb1. It's not necessary for tdb2. As this is the last function in tdb1.h, we remove that file. Signed-off-by: Rusty Russell (Imported from CCAN commit b8e64e9346793164651a36eccb3c205077e5c91b) --- lib/tdb2/private.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/tdb2/private.h') diff --git a/lib/tdb2/private.h b/lib/tdb2/private.h index f4fba85d3e..6e28692c34 100644 --- a/lib/tdb2/private.h +++ b/lib/tdb2/private.h @@ -651,8 +651,10 @@ int tdb1_check(struct tdb_context *tdb, /* tdb1_open.c: */ int tdb1_new_database(struct tdb_context *tdb, - struct tdb_attribute_tdb1_hashsize *hashsize); -enum TDB_ERROR tdb1_open(struct tdb_context *tdb); + struct tdb_attribute_tdb1_hashsize *hashsize, + struct tdb_attribute_tdb1_max_dead *max_dead); +enum TDB_ERROR tdb1_open(struct tdb_context *tdb, + struct tdb_attribute_tdb1_max_dead *max_dead); /* tdb1_io.c: */ enum TDB_ERROR tdb1_probe_length(struct tdb_context *tdb); -- cgit