RB_TREE: Add mechanism to abort a traverse
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 2 Nov 2011 02:33:28 +0000 (13:33 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 8 Nov 2011 02:40:28 +0000 (13:40 +1100)
commit8ab0c63ad36cfbbb1e5fed46a1f4c47b1fdb581f
treea0146526b21b76010d992cb8e4b761ae7d75f220
parent18b6969dd1760521f839e5a928f1c7e9b3c34d4e
RB_TREE: Add mechanism to abort a traverse

This patch changes the callback signature for traversal
functions to allow a client to abort a traverse before it finishes.
Updates to all callers and examples as well as rb-test tool.
common/rb_tree.c
common/rb_tree.h
server/ctdb_serverids.c
server/ctdb_takeover.c
server/ctdb_vacuum.c
tests/src/rb_test.c
tools/ctdb.c
tools/ctdb_vacuum.c