ctdbd_conn: Make register_with_ctdbd use an int-returning callback
commitdb1bee97f28ab57868aae6512d6d39e08450b6c3
authorVolker Lendecke <vl@samba.org>
Tue, 23 Jun 2015 14:55:09 +0000 (23 16:55 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 14 Jul 2015 04:51:21 +0000 (14 06:51 +0200)
treeed85f46f278bab0a6c48631f26ecf700993f2076
parenteca508f3c821a73ab08c079ba3ca3522363ad59f
ctdbd_conn: Make register_with_ctdbd use an int-returning callback

This will allow an early return from ctdbd_msg_call_back so that we can also
handle CTDB_SRVID_RELEASE_IP via register_with_ctdbd.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/include/ctdbd_conn.h
source3/lib/ctdb_dummy.c
source3/lib/ctdbd_conn.c
source3/lib/messages_ctdbd.c
source3/smbd/notifyd/notifyd.c
source3/smbd/server.c