tdb2: tdb_foreach()
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 05:37:16 +0000 (15:07 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 05:37:16 +0000 (15:07 +0930)
commit1a0c636bc38213bd0322db47529f78f2dc22ffdd
treebddc8de08565e4e2535a0c6317984ab8f1afcbd3
parent2414f261918b4fb8a549dd385dba32118e37bf85
tdb2: tdb_foreach()

Create an iterator over every open tdb (not internal TDBs).  This is
useful for re-establishing the tdb1-style active lock for
CLEAR_IF_FIRST.
ccan/tdb2/open.c
ccan/tdb2/tdb2.h
ccan/tdb2/test/run-tdb_foreach.c [new file with mode: 0644]