struct timeval timeout, uint32_t destnode,
TALLOC_CTX *mem_ctx,
const ctdb_sock_addr *addr,
- struct ctdb_control_public_ip_info **info);
+ struct ctdb_public_ip_info_old **info);
int ctdb_ctrl_get_ifaces(struct ctdb_context *ctdb,
struct timeval timeout, uint32_t destnode,
TALLOC_CTX *mem_ctx,
- struct ctdb_control_get_ifaces **ifaces);
+ struct ctdb_iface_list_old **ifaces);
int ctdb_ctrl_set_iface_link(struct ctdb_context *ctdb,
struct timeval timeout, uint32_t destnode,
TALLOC_CTX *mem_ctx,
- const struct ctdb_control_iface_info *info);
+ const struct ctdb_iface *info);
int ctdb_ctrl_modflags(struct ctdb_context *ctdb,
struct timeval timeout,
struct timeval timeout, uint32_t destnode,
struct ctdb_addr_info_old *pub);
-int ctdb_ctrl_killtcp(struct ctdb_context *ctdb,
- struct timeval timeout, uint32_t destnode,
- struct ctdb_connection *killtcp);
-
int ctdb_ctrl_gratious_arp(struct ctdb_context *ctdb,
struct timeval timeout, uint32_t destnode,
ctdb_sock_addr *addr, const char *ifname);
TALLOC_CTX *mem_ctx, ctdb_sock_addr *addr,
struct ctdb_tickle_list_old **list);
-int ctdb_ctrl_register_server_id(struct ctdb_context *ctdb,
- struct timeval timeout,
- struct ctdb_client_id *id);
-int ctdb_ctrl_unregister_server_id(struct ctdb_context *ctdb,
- struct timeval timeout,
- struct ctdb_client_id *id);
-int ctdb_ctrl_check_server_id(struct ctdb_context *ctdb,
- struct timeval timeout, uint32_t destnode,
- struct ctdb_client_id *id, uint32_t *status);
-int ctdb_ctrl_get_server_id_list(struct ctdb_context *ctdb,
- TALLOC_CTX *mem_ctx,
- struct timeval timeout, uint32_t destnode,
- struct ctdb_client_id_list_old **svid_list);
-
/*
initialise ctdb subsystem
*/
int ctdb_ctrl_recd_ping(struct ctdb_context *ctdb);
-int switch_from_server_to_client(struct ctdb_context *ctdb,
- const char *fmt, ...);
-
int ctdb_ctrl_getscriptstatus(struct ctdb_context *ctdb,
struct timeval timeout, uint32_t destnode,
TALLOC_CTX *mem_ctx,
int ctdb_ctrl_getreclock(struct ctdb_context *ctdb,
struct timeval timeout, uint32_t destnode,
TALLOC_CTX *mem_ctx, const char **reclock);
-int ctdb_ctrl_setreclock(struct ctdb_context *ctdb,
- struct timeval timeout, uint32_t destnode,
- const char *reclock);
int ctdb_ctrl_stop_node(struct ctdb_context *ctdb, struct timeval timeout,
uint32_t destnode);
int ctdb_ctrl_continue_node(struct ctdb_context *ctdb, struct timeval timeout,
uint32_t destnode);
-int ctdb_ctrl_setnatgwstate(struct ctdb_context *ctdb,
- struct timeval timeout, uint32_t destnode,
- uint32_t natgwstate);
int ctdb_ctrl_setlmasterrole(struct ctdb_context *ctdb,
struct timeval timeout, uint32_t destnode,
uint32_t lmasterrole);