1
2
3
4
5
6
7
8
9
10 #ifndef PCMK__CRMCLUSTER_PRIVATE__H
11 # define PCMK__CRMCLUSTER_PRIVATE__H
12
13
14
15
16
17 #include <stdint.h>
18
19 #include <glib.h>
20 #include <libxml/tree.h>
21
22 #include <crm/cluster.h>
23
24 G_GNUC_INTERNAL
25 enum cluster_type_e pcmk__corosync_detect(void);
26
27 G_GNUC_INTERNAL
28 bool pcmk__corosync_has_nodelist(void);
29
30 G_GNUC_INTERNAL
31 char *pcmk__corosync_uuid(const crm_node_t *peer);
32
33 G_GNUC_INTERNAL
34 char *pcmk__corosync_name(uint64_t cmap_handle,
35 uint32_t nodeid);
36
37 G_GNUC_INTERNAL
38 gboolean pcmk__corosync_connect(crm_cluster_t *cluster);
39
40 G_GNUC_INTERNAL
41 void pcmk__corosync_disconnect(crm_cluster_t *cluster);
42
43 G_GNUC_INTERNAL
44 gboolean pcmk__cpg_send_xml(xmlNode *msg, const crm_node_t *node,
45 enum crm_ais_msg_types dest);
46
47 #endif