lib/tdb: add tdb_check()
commitab95cf4fc8bdd2be1a9214cdbf7c2addc7860573
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Oct 2009 13:40:34 +0000 (22 00:10 +1030)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:39:47 +0000 (26 11:39 +0100)
treecd4c424c48997191c1194cd6f5154d9399a8498c
parentec8dd191b2234d82a897b61af10b14cf9d88c3dd
lib/tdb: add tdb_check()

ctdb wants a quick way to detect corrupt tdbs; particularly, tdbs with
loops in their hash chains.  tdb_check() provides this.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from commit 2e6f7dfa793e0a5c46397dc18f65974c77a73b23)
lib/tdb/common/check.c [new file with mode: 0644]
lib/tdb/config.mk
lib/tdb/configure.ac
lib/tdb/docs/README
lib/tdb/include/tdb.h
lib/tdb/libtdb.m4
lib/tdb/tdb.exports
lib/tdb/tdb.signatures