From: Rusty Russell Date: Thu, 17 Mar 2011 11:42:21 +0000 (+1030) Subject: tdb2: allow multiple opens of the same file. X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=bb4d59ee1e914df9f8066e59a9c9a6604e581c40;hp=bb4d59ee1e914df9f8066e59a9c9a6604e581c40 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. ---