]> git.ozlabs.org Git - ccan/commit - ccan/tdb2/private.h
tdb2: allow multiple opens of the same file.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Mar 2011 11:42:21 +0000 (22:12 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Mar 2011 11:42:21 +0000 (22:12 +1030)
commitbb4d59ee1e914df9f8066e59a9c9a6604e581c40
tree79c3e318ca270dc7e98f72b3cf5c02f72d123d29
parent2960e90f2d036935273d163593839d3777be7980
tdb2: allow multiple opens of the same file.

Finally, we enable sharing of the struct tdb_file.  We add a reference count
so we can free the struct tdb_file when the last tdb is closed.
ccan/tdb2/doc/design.lyx
ccan/tdb2/lock.c
ccan/tdb2/open.c
ccan/tdb2/private.h
ccan/tdb2/test/failtest_helper.h
ccan/tdb2/test/run-open-multiple-times.c [new file with mode: 0644]