lib: Use ctdb_protocol instead of ctdb_private
authorVolker Lendecke <vl@samba.org>
Fri, 9 Jun 2017 06:48:21 +0000 (08:48 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 24 Jun 2017 03:33:41 +0000 (05:33 +0200)
ctdb_private is much broader. Right now we implement the protocol
ourselves. In the future, we might switch to the native ctdb
client implementation defined in ctdb_client.h, but that's a
different project :-)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Jun 24 05:33:41 CEST 2017 on sn-devel-144

source3/lib/ctdbd_conn.c
source3/lib/dbwrap/dbwrap_ctdb.c

index ce41db9e7d058e7630e4c2dcf2da206280b70d88..3adb57da2476c3d2f456d605d84df8096ee81cb8 100644 (file)
 #include "lib/util/tevent_unix.c"
 #include "lib/util/sys_rw.h"
 #include "lib/util/blocking.h"
+#include "ctdb/include/ctdb_protocol.h"
 
 /* paths to these include files come from --with-ctdb= in configure */
 
-#include "ctdb_private.h"
-
 struct ctdbd_srvid_cb {
        uint64_t srvid;
        int (*cb)(uint32_t src_vnn, uint32_t dst_vnn,
index 3334eca552391d4c21d8339ccd46bde17dbbefbf..8e303e6e1c478da64829276fdb3caceee2921426 100644 (file)
@@ -27,7 +27,7 @@
 #include "dbwrap/dbwrap_rbt.h"
 #include "lib/param/param.h"
 
-#include "ctdb_private.h"
+#include "ctdb/include/ctdb_protocol.h"
 #include "ctdbd_conn.h"
 #include "dbwrap/dbwrap.h"
 #include "dbwrap/dbwrap_private.h"