10 #ifndef PCMK__IPC_CONTROLD__H 11 # define PCMK__IPC_CONTROLD__H 26 #include <libxml/tree.h> 91 const char *router_node);
94 const char *router_node,
const char *rsc_id,
95 const char *rsc_long_id,
const char *standard,
96 const char *provider,
const char *
type);
98 const char *router_node,
const char *rsc_id,
99 const char *rsc_long_id,
const char *standard,
100 const char *provider,
const char *
type,
112 #endif // PCMK__IPC_CONTROLD__H
unsigned int pcmk_controld_api_replies_expected(pcmk_ipc_api_t *api)
Get the number of IPC replies currently expected from the controller.
const char * host_from
Name of node that sent reply.
int pcmk_controld_api_refresh(pcmk_ipc_api_t *api, const char *target_node, const char *router_node, const char *rsc_id, const char *rsc_long_id, const char *standard, const char *provider, const char *type, bool cib_only)
Ask the controller to refresh a resource.
int pcmk_controld_api_ping(pcmk_ipc_api_t *api, const char *node_name)
Ask the controller for status.
int pcmk_controld_api_fail(pcmk_ipc_api_t *api, const char *target_node, const char *router_node, const char *rsc_id, const char *rsc_long_id, const char *standard, const char *provider, const char *type)
Ask the controller to fail a resource.
int pcmk_controld_api_start_election(pcmk_ipc_api_t *api)
const char * feature_set
CRM feature set advertised by controller.
IPC interface to Pacemaker daemons.
int pcmk_controld_api_reprobe(pcmk_ipc_api_t *api, const char *target_node, const char *router_node)
Send a reprobe controller operation.
int pcmk_controld_api_list_nodes(pcmk_ipc_api_t *api)
Ask the controller for cluster information.
int pcmk_controld_api_shutdown(pcmk_ipc_api_t *api, const char *node_name)
int pcmk_controld_api_node_info(pcmk_ipc_api_t *api, uint32_t nodeid)
Send a "node info" controller operation.
enum crm_ais_msg_types type
pcmk_controld_api_reply
Possible types of controller replies.