tdb2: add tdb_errorstr(), clean up error codes.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 14 Sep 2010 01:08:30 +0000 (10:38 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 14 Sep 2010 01:08:30 +0000 (10:38 +0930)
commitb846677c1ec77e986c7d6b7c913aa2a4b0c82d4e
treeb6e9704ef881f3284d8cb5115e3471084a350a32
parentb8d05b195bfa10cb2a5b21985536ea45350029d5
tdb2: add tdb_errorstr(), clean up error codes.

Also remove TDB_DISALLOW_NESTING flag, since that's the default now.
ccan/tdb2/tdb.c
ccan/tdb2/tdb2.h
ccan/tdb2/test/run-tdb_errorstr.c [new file with mode: 0644]