pacemaker  2.1.9-49aab99839
Scalable High-Availability cluster resource manager
Functions
crmcluster_private.h File Reference
#include <stdint.h>
#include <glib.h>
#include <libxml/tree.h>
#include <crm/cluster.h>
Include dependency graph for crmcluster_private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

G_GNUC_INTERNAL bool pcmk__corosync_is_active (void)
 
G_GNUC_INTERNAL bool pcmk__corosync_has_nodelist (void)
 
G_GNUC_INTERNAL char * pcmk__corosync_uuid (const crm_node_t *peer)
 
G_GNUC_INTERNAL char * pcmk__corosync_name (uint64_t cmap_handle, uint32_t nodeid)
 
G_GNUC_INTERNAL int pcmk__corosync_connect (pcmk_cluster_t *cluster)
 
G_GNUC_INTERNAL void pcmk__corosync_disconnect (pcmk_cluster_t *cluster)
 
G_GNUC_INTERNAL bool pcmk__corosync_is_peer_active (const crm_node_t *node)
 
G_GNUC_INTERNAL int pcmk__cpg_connect (pcmk_cluster_t *cluster)
 Connect to Corosync CPG. More...
 
G_GNUC_INTERNAL void pcmk__cpg_disconnect (pcmk_cluster_t *cluster)
 
G_GNUC_INTERNAL uint32_t pcmk__cpg_local_nodeid (cpg_handle_t handle)
 
G_GNUC_INTERNAL bool pcmk__cpg_send_xml (const xmlNode *msg, const crm_node_t *node, enum crm_ais_msg_types dest)
 

Function Documentation

◆ pcmk__corosync_connect()

G_GNUC_INTERNAL int pcmk__corosync_connect ( pcmk_cluster_t cluster)

Definition at line 455 of file corosync.c.

◆ pcmk__corosync_disconnect()

G_GNUC_INTERNAL void pcmk__corosync_disconnect ( pcmk_cluster_t cluster)

Definition at line 223 of file corosync.c.

◆ pcmk__corosync_has_nodelist()

G_GNUC_INTERNAL bool pcmk__corosync_has_nodelist ( void  )

Definition at line 727 of file corosync.c.

◆ pcmk__corosync_is_active()

G_GNUC_INTERNAL bool pcmk__corosync_is_active ( void  )

Definition at line 504 of file corosync.c.

◆ pcmk__corosync_is_peer_active()

G_GNUC_INTERNAL bool pcmk__corosync_is_peer_active ( const crm_node_t node)

Definition at line 528 of file corosync.c.

◆ pcmk__corosync_name()

G_GNUC_INTERNAL char* pcmk__corosync_name ( uint64_t  cmap_handle,
uint32_t  nodeid 
)

Definition at line 101 of file corosync.c.

◆ pcmk__corosync_uuid()

G_GNUC_INTERNAL char* pcmk__corosync_uuid ( const crm_node_t peer)

Definition at line 53 of file corosync.c.

◆ pcmk__cpg_connect()

G_GNUC_INTERNAL int pcmk__cpg_connect ( pcmk_cluster_t cluster)

Connect to Corosync CPG.

Parameters
[in,out]clusterInitialized cluster object to connect
Returns
Standard Pacemaker return code

Definition at line 829 of file cpg.c.

◆ pcmk__cpg_disconnect()

G_GNUC_INTERNAL void pcmk__cpg_disconnect ( pcmk_cluster_t cluster)

Definition at line 933 of file cpg.c.

◆ pcmk__cpg_local_nodeid()

G_GNUC_INTERNAL uint32_t pcmk__cpg_local_nodeid ( cpg_handle_t  handle)

Definition at line 101 of file cpg.c.

◆ pcmk__cpg_send_xml()

G_GNUC_INTERNAL bool pcmk__cpg_send_xml ( const xmlNode *  msg,
const crm_node_t node,
enum crm_ais_msg_types  dest 
)

Definition at line 1091 of file cpg.c.