summaryrefslogtreecommitdiff
path: root/ctdb/include/ctdb_client.h
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2015-10-23 15:28:56 +1100
committerMartin Schwenke <martins@samba.org>2015-10-30 02:00:28 +0100
commitbeadc5039da28c9578c9afd4d2784e41dcddf45c (patch)
treef28b9e50c02006d1ee331014b17cf8e17502787c /ctdb/include/ctdb_client.h
parentc0a20b9e803ab86c7fe1b03c05e8ab3f41e74ed9 (diff)
downloadsamba-beadc5039da28c9578c9afd4d2784e41dcddf45c.tar.gz
ctdb-include: Group function prototypes from server/ctdb_server.c
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/include/ctdb_client.h')
-rw-r--r--ctdb/include/ctdb_client.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/ctdb/include/ctdb_client.h b/ctdb/include/ctdb_client.h
index 37682170094..c3edd19f368 100644
--- a/ctdb/include/ctdb_client.h
+++ b/ctdb/include/ctdb_client.h
@@ -62,30 +62,14 @@ struct tevent_context;
struct ctdb_context *ctdb_init(struct tevent_context *ev);
/*
- choose the transport
-*/
-int ctdb_set_transport(struct ctdb_context *ctdb, const char *transport);
-
-/*
set some flags
*/
void ctdb_set_flags(struct ctdb_context *ctdb, unsigned flags);
-/*
- tell ctdb what address to listen on, in transport specific format
-*/
-int ctdb_set_address(struct ctdb_context *ctdb, const char *address);
-
int ctdb_set_socketname(struct ctdb_context *ctdb, const char *socketname);
const char *ctdb_get_socketname(struct ctdb_context *ctdb);
/*
- Check that a specific ip address exists in the node list and returns
- the id for the node or -1
-*/
-int ctdb_ip_to_nodeid(struct ctdb_context *ctdb, const ctdb_sock_addr *nodeip);
-
-/*
attach to a ctdb database
*/
struct ctdb_db_context *ctdb_attach(struct ctdb_context *ctdb,