tdb2: Make tdb1 use the tdb_file structure.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 05:53:16 +0000 (15:23 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 05:53:16 +0000 (15:23 +0930)
commit60210a73ec08a7b34ba637ad19e6749cf6dc1952
treef57b8de507e7e5c33033b2c3827273772a2755c7
parent2b50be90a23893a06e0f1436a31d18b97ad0e11d
tdb2: Make tdb1 use the tdb_file structure.

Because tdb2 allows multiple opens of the same TDB, we separate out
the file information from the struct tdb_context.  Do the same for
tdb1.
12 files changed:
ccan/tdb2/private.h
ccan/tdb2/tdb1_check.c
ccan/tdb2/tdb1_io.c
ccan/tdb2/tdb1_lock.c
ccan/tdb2/tdb1_open.c
ccan/tdb2/tdb1_private.h
ccan/tdb2/tdb1_summary.c
ccan/tdb2/tdb1_tdb.c
ccan/tdb2/tdb1_transaction.c
ccan/tdb2/test/run-tdb1-3G-file.c
ccan/tdb2/test/run-tdb1-corrupt.c
ccan/tdb2/test/run-tdb1-die-during-transaction.c