tdb2: add error conversion functions.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 12 Sep 2011 04:51:40 +0000 (14:21 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 12 Sep 2011 04:51:40 +0000 (14:21 +0930)
commitafa6d57b7d93fe4675a952f556eb462951baa257
treecbea0fbe0a8f3b213dfbb4bca2ed713b7c9fde3a
parentbffcda423dca2b3652ec7c6dc8e3f37e3d981be7
tdb2: add error conversion functions.

This clarifies the code a little, but also provides a more explicit
mechanism which can be used to debug error handling (by introducing
tdb_err_t and making it a pointer type).
12 files changed:
ccan/tdb2/check.c
ccan/tdb2/free.c
ccan/tdb2/hash.c
ccan/tdb2/io.c
ccan/tdb2/lock.c
ccan/tdb2/open.c
ccan/tdb2/private.h
ccan/tdb2/summary.c
ccan/tdb2/tdb.c
ccan/tdb2/tdb1_transaction.c
ccan/tdb2/transaction.c
ccan/tdb2/traverse.c