s3-messaging/ctdb: split messaging_ctdbd_init()
authorRalph Boehme <slow@samba.org>
Sat, 9 Jul 2016 11:20:01 +0000 (13:20 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 11 Jul 2016 18:05:06 +0000 (20:05 +0200)
commitc6373aba00dd7a69b2e69c979510e3de04700b2d
treeb381333a6102756533b7dce31c27c956e7da8c93
parent84da49f89b905a80d82901bfc1e4c8ec534edd3d
s3-messaging/ctdb: split messaging_ctdbd_init()

Split out and internal function from messaging_ctdbd_init() that does
the connection setup. Keep the conn object allocation in
messaging_ctdbd_init().

This is in preperation of adding messaging_ctdbd_reinit() which will use
the new internal function as well.

messaging_ctdbd_init_internal() has a new reinit flag,
messaging_ctdbd_init() calls with reinit=false resulting in unmodified
behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/lib/messages_ctdbd.c