tdb2: add write flag to tdb_direct
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 1 Dec 2010 13:14:14 +0000 (23:44 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 1 Dec 2010 13:14:14 +0000 (23:44 +1030)
commita56db4a5cbf4346ec8a74322b5267d47b2590ed7
tree7f2572b2fc5713feeece9dd7dfcfc19188686af3
parent2523e67f154c3f8614a2ddca2cd0170d321a27d4
tdb2: add write flag to tdb_direct

This is a precursor to direct access during transactions: they care about
whether we are going to read or write to the file.
ccan/tdb2/io.c
ccan/tdb2/private.h
ccan/tdb2/transaction.c