ctdb-util: Rename db_wrap to tdb_wrap and make it a build subsystem
authorMartin Schwenke <martin@meltin.net>
Fri, 15 Aug 2014 05:46:33 +0000 (15:46 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 9 Sep 2014 23:36:15 +0000 (01:36 +0200)
commitacf26089f18c163290a0540ece1209aea26834d5
tree6ee94c44c1a8e93b1648f8c54cb94efba46f6638
parent088e4ab3ac22112a11cb685bb048bf49bf55c592
ctdb-util: Rename db_wrap to tdb_wrap and make it a build subsystem

This makes it consistent with Samba, to ease transition.

Update unit test code to link to with tdb_wrap instead of including
db_wrap.c.

There are some potential whitespace fixes in this commit that have
been ignored.  CTDB's lib/tdb_wrap will be deleted after the
transition to Samba's lib/tdb_wrap, so there's no point polishing it
too much.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
24 files changed:
ctdb/client/ctdb_client.c
ctdb/common/ctdb_ltdb.c
ctdb/lib/tdb_wrap/tdb_wrap.c [moved from ctdb/lib/util/db_wrap.c with 96% similarity]
ctdb/lib/tdb_wrap/tdb_wrap.h [moved from ctdb/lib/util/db_wrap.h with 98% similarity]
ctdb/lib/tdb_wrap/wscript_build [new file with mode: 0755]
ctdb/lib/util/wscript_build
ctdb/server/ctdb_control.c
ctdb/server/ctdb_daemon.c
ctdb/server/ctdb_freeze.c
ctdb/server/ctdb_lock.c
ctdb/server/ctdb_ltdb_server.c
ctdb/server/ctdb_persistent.c
ctdb/server/ctdb_recover.c
ctdb/server/ctdb_recoverd.c
ctdb/server/ctdb_traverse.c
ctdb/server/ctdb_update_record.c
ctdb/server/ctdb_vacuum.c
ctdb/tests/src/ctdb_test.c
ctdb/tests/src/ctdb_trackingdb_test.c
ctdb/tests/src/ctdb_update_record_persistent.c
ctdb/tests/src/ctdbd_test.c
ctdb/tools/ctdb.c
ctdb/tools/ctdb_vacuum.c
ctdb/wscript