lib/tdb: add tdb_check()
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Oct 2009 13:40:34 +0000 (00:10 +1030)
committerStefan Metzmacher <metze@samba.org>
Wed, 16 Dec 2009 07:03:52 +0000 (08:03 +0100)
commitdf1a3ce0380fa9d8722b2f9b16f65557095e4c83
treedcfbefcf721f5b762be6f9895a2f2d59c1440722
parent27611d6a0c313732e438cb24c82b9de126e50156
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 samba commit 022b4d4aa6861c1e3e6d76484d92555221cb6d14)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
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