summaryrefslogtreecommitdiff
path: root/lib/tdb2/private.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-09-14 08:06:13 +0930
committerRusty Russell <rusty@rustcorp.com.au>2011-09-14 08:06:13 +0930
commitb50b48f575d8ad2a709c89dab0a64e19e45d7b08 (patch)
treef5cddc9072fa37e6c9692fa30fe0c7d45547af65 /lib/tdb2/private.h
parent13238912facb04ab3aafeb020de6226659d83e6b (diff)
downloadsamba-b50b48f575d8ad2a709c89dab0a64e19e45d7b08.tar.gz
samba-b50b48f575d8ad2a709c89dab0a64e19e45d7b08.tar.bz2
samba-b50b48f575d8ad2a709c89dab0a64e19e45d7b08.zip
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 <rusty@rustcorp.com.au> (Imported from CCAN commit b8e64e9346793164651a36eccb3c205077e5c91b)
Diffstat (limited to 'lib/tdb2/private.h')
-rw-r--r--lib/tdb2/private.h6
1 files changed, 4 insertions, 2 deletions
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);