include: Move ctdb_start_daemon() from ctdb_client.h to ctdb_private.h
authorMartin Schwenke <martin@meltin.net>
Mon, 15 Apr 2013 03:31:42 +0000 (13:31 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 18 Apr 2013 03:22:12 +0000 (13:22 +1000)
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)

ctdb/include/ctdb_client.h
ctdb/include/ctdb_private.h

index 1b90ffb038eadbb483ed07a98485bb82be3d61fb..564c5632514d657209fb1825d3d4d6ef9ef080fa 100644 (file)
@@ -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
index 86dbcad7df59dd2095affd65c85e2918962506cf..ed6dfbb6149c54e4935dc57acce32eb508e39db4 100644 (file)
@@ -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);