summaryrefslogtreecommitdiffstats
path: root/lib/ntdb/doc
Commit message (Collapse)AuthorAgeFilesLines
* ntdb: make database read-only during ntdb_parse() callback.Rusty Russell2012-06-221-17/+74
| | | | | | | | | | | Since we have a readlock, any write will grab a write lock: if it happens to be on the same bucket, we'll fail. For that reason, enforce read-only so every write operation fails (even for NTDB_NOLOCK or NTDB_INTERNAL dbs), and document it! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* ntdb: update documentation.Rusty Russell2012-06-196-5821/+505
| | | | | | | | Update the design.lyx file with the latest status and the change in hashing. Also, refresh and add examples to the TDB_porting.txt file. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* ntdb: remove ntdb_error()Rusty Russell2012-06-191-2/+1
| | | | | | | | It was a hack to make compatibility easier. Since we're not doing that, it can go away: all callers must use the return value now. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* TDB2: Goodbye TDB2, Hello NTDB.Rusty Russell2012-06-196-0/+9740
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>