10 #ifndef PCMK__CLUSTER_CRMCLUSTER_PRIVATE__H 11 #define PCMK__CLUSTER_CRMCLUSTER_PRIVATE__H 21 #include <libxml/tree.h> 24 #include <corosync/cpg.h> 25 #endif // SUPPORT_COROSYNC 77 #endif // SUPPORT_COROSYNC 83 #endif // PCMK__CLUSTER_CRMCLUSTER_PRIVATE__H uint32_t pcmk__cpg_local_nodeid(cpg_handle_t handle)
char * pcmk__corosync_name(uint64_t cmap_handle, uint32_t nodeid)
bool pcmk__cpg_send_xml(const xmlNode *msg, const pcmk__node_status_t *node, enum pcmk_ipc_server dest)
int pcmk__cpg_connect(pcmk_cluster_t *cluster)
Connect to Corosync CPG.
G_GNUC_INTERNAL void pcmk__cluster_set_quorum(bool quorate)
G_GNUC_INTERNAL void election_fini(pcmk_cluster_t *cluster)
pcmk_ipc_server
Available IPC interfaces.
int pcmk__corosync_connect(pcmk_cluster_t *cluster)
char * pcmk__corosync_uuid(const pcmk__node_status_t *node)
bool pcmk__corosync_is_peer_active(const pcmk__node_status_t *node)
void pcmk__cpg_disconnect(pcmk_cluster_t *cluster)
bool pcmk__corosync_has_nodelist(void)
bool pcmk__corosync_is_active(void)
Node status data (may be a cluster node or a Pacemaker Remote node)
void pcmk__corosync_disconnect(pcmk_cluster_t *cluster)