]> git.ozlabs.org Git - ccan/commit
tdb2: Internal error helpers.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Mar 2011 12:49:19 +0000 (23:19 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Mar 2011 12:49:19 +0000 (23:19 +1030)
commitf6d1f564b9dd7c1871128e70477e19e4044ff50f
tree5054b33b9e569ef6015cd4c3881f69988ee8b68e
parent74c15d72a2ddc484c771bc226134673409e9a40f
tdb2: Internal error helpers.

I use the "high pointers hold error numbers" trick, and also make
tdb_logerr return the error code, which enables the common case of
"return tdb_logerr(...)".
ccan/tdb2/private.h
ccan/tdb2/tdb.c
ccan/tdb2/tdb2.h