libctdb: add synchronous message handling and unregister, with tests.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 9 Aug 2010 06:11:32 +0000 (15:41 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 9 Aug 2010 06:11:32 +0000 (15:41 +0930)
commit332375246eccd95da626f434f6d49dd9458a9787
tree3c56acef5d2cffa078ec7926be2c6d82c5a7efff
parent67ca040b07713d83385db63489c887f7156b7853
libctdb: add synchronous message handling and unregister, with tests.

It turns out that we *do* want a separate private arg for the message
handler and the completion callback, so we change that.

We also fix the prototypes of the remove_message functions as we
implement them.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/ctdb.h
libctdb/messages.c
libctdb/sync.c