summaryrefslogtreecommitdiffstats
path: root/lib/tdb2/pytdb.c
Commit message (Collapse)AuthorAgeFilesLines
* TDB2: Goodbye TDB2, Hello NTDB.Rusty Russell2012-06-191-591/+0
| | | | | | | | | | | This renames everything from tdb2 to ntdb: importantly, we no longer use the tdb_ namespace, so you can link against both ntdb and tdb if you want to. This also enables building of standalone ntdb by the autobuild script. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tdb2: fix -Wcast-qual warnings.Rusty Russell2012-03-221-4/+5
| | | | | | | | | | | | | We use tdb_mkdata() to get rid of many of them from the tests, and explicit cast_const() in a few places. tlist_for_each() still causes a warning, but that needs to be fixed in CCAN. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Mar 22 03:29:32 CET 2012 on sn-devel-104
* tdb2: Fix python documentation for tdb.Tdb objectAmitay Isaacs2011-12-141-1/+1
|
* tdb2: fix return handling in pytdb wrapper.Rusty Russell2011-09-141-8/+10
| | | | | | | | tdb_close() does genuinely return non-zero, not an error code, even in tdb2. And tdb_exists() returns true or false, not an error code. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb_compat: adapt to tdb2 API change.Rusty Russell2011-09-141-1/+3
| | | | | | | Add the ecode arg to all the log functions, and log it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb2: create tdb2 versions of various testing TDBs.Rusty Russell2011-06-201-1/+13
| | | | | | | Soon, TDB2 will handle tdb1 files, but until then, we substitute. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb2: python wrapperRusty Russell2011-06-201-0/+574
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>