summaryrefslogtreecommitdiff
path: root/lib/tdb2/free.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-14tdb2: add error conversion functions.Rusty Russell1-19/+19
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). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit afa6d57b7d93fe4675a952f556eb462951baa257)
2011-09-14tdb2: merge tdb1_context into tdb_context.Rusty Russell1-18/+18
Finally, we split out the tdb2-specific parts of tdb_context, and put them into a "tdb2" sub-struct; the tdb1 parts go into a "tdb1" sub-struct. We get rido of tdb1_context and use tdb_context everywhere. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit bbeb528e74c0e234e1f724ac8d54be404cfc6f9a)
2011-06-20tdb2: add lib/tdb2 (from CCAN init-1161-g661d41f)Rusty Russell1-0/+968
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>