tdb2: rename the tools to tdb2torture, tdb2tool and mktdb2 This means they can be installed in parallel with tdb1's tools.
tdb2: rearrange log function to put data arg at the end. Also, rename private logfn to log_fn for consistency with other members.
tdb2: shorten attribute members. It's redundant calling hash.hash_fn for example. Standardize on fn and data as names (private conflicts with C++).
tdb2: cleanups for tdbtorture, add more debugging and -S flag.
tdb2: fix tools warnings with -Wshadow and -Wcast-qual. Samba uses these flags, so be friendly.
tdb2: fix tools compilation.
tdb2: update tools/speed.c, tools/tdbtool.c and tools/tdbtorture.c to new API
tdb2: simplify logging levels, rename TDB_DEBUG_* to TDB_LOG_* It was never clear to me which levels should be used for what cases. I can only usefully distinguish three at the moment: (1) TDB errors, which render the TDB unreliable. (2) TDB user errors, caused by API misuse. (3) TDB notifications of strange behaviour, from which we have recovered.
tdb2: enable transactions in tdbtorture
compiler: shorten names of attributes, add UNUSED The long names were unwieldy in practice; at risk of clashing, replace with shorter versions.
tdb2: add tdb_attribute_seed for setting hash seed. Particularly useful for reproduction, like tdbtorture.
tdb2: tools/ As per-tdb's tools.