summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-04-15 13:31:42 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-04-18 13:22:12 +1000
commit7ccde44d3073f89c4babedcb045e9c36bce67b16 (patch)
tree6a9d586595c3e0ef86b4abbdc13c237849f55b4c /ctdb/include
parent1f5bfde5536e61c24509ecf9b59975db4030f4d1 (diff)
include: Move ctdb_start_daemon() from ctdb_client.h to ctdb_private.h
It really is internal. Signed-off-by: Martin Schwenke <martin@meltin.net> Pair-programmed-with: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Michael Adam <obnox@samba.org> (This used to be ctdb commit abb64f62efaa70df4b87c030b96300eafd98e6a3)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_client.h1
-rw-r--r--ctdb/include/ctdb_private.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_client.h b/ctdb/include/ctdb_client.h
index 1b90ffb038..564c563251 100644
--- a/ctdb/include/ctdb_client.h
+++ b/ctdb/include/ctdb_client.h
@@ -100,7 +100,6 @@ int ctdb_ip_to_nodeid(struct ctdb_context *ctdb, const char *nodeip);
start the ctdb protocol
*/
int ctdb_start(struct ctdb_context *ctdb);
-int ctdb_start_daemon(struct ctdb_context *ctdb, bool do_fork, bool use_syslog, const char *public_address_list);
/*
attach to a ctdb database
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 86dbcad7df..ed6dfbb614 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -761,6 +761,9 @@ struct ctdb_call_state *ctdb_call_local_send(struct ctdb_db_context *ctdb_db,
int ctdbd_start(struct ctdb_context *ctdb);
+int ctdb_start_daemon(struct ctdb_context *ctdb, bool do_fork,
+ bool use_syslog,
+ const char *public_address_list);
struct ctdb_call_state *ctdbd_call_send(struct ctdb_db_context *ctdb_db, struct ctdb_call *call);
int ctdbd_call_recv(struct ctdb_call_state *state, struct ctdb_call *call);