pacemaker 2.1.5-a3f44794f94
Scalable High-Availability cluster resource manager
crmcluster_private.h
Go to the documentation of this file.
1/*
2 * Copyright 2020 the Pacemaker project contributors
3 *
4 * The version control history for this file may have further details.
5 *
6 * This source code is licensed under the GNU Lesser General Public License
7 * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
8 */
9
10#ifndef PCMK__CRMCLUSTER_PRIVATE__H
11# define PCMK__CRMCLUSTER_PRIVATE__H
12
13/* This header is for the sole use of libcrmcluster, so that functions can be
14 * declared with G_GNUC_INTERNAL for efficiency.
15 */
16
17#include <stdint.h> // uint32_t, uint64_t
18
19#include <glib.h> // G_GNUC_INTERNAL, gboolean
20#include <libxml/tree.h> // xmlNode
21
22#include <crm/cluster.h> // cluster_type_e, crm_node_t
23
24G_GNUC_INTERNAL
26
27G_GNUC_INTERNAL
29
30G_GNUC_INTERNAL
32
33G_GNUC_INTERNAL
34char *pcmk__corosync_name(uint64_t /*cmap_handle_t */ cmap_handle,
35 uint32_t nodeid);
36
37G_GNUC_INTERNAL
38gboolean pcmk__corosync_connect(crm_cluster_t *cluster);
39
40G_GNUC_INTERNAL
42
43G_GNUC_INTERNAL
44gboolean pcmk__cpg_send_xml(xmlNode *msg, crm_node_t *node,
45 enum crm_ais_msg_types dest);
46
47#endif // PCMK__CRMCLUSTER_PRIVATE__H
crm_ais_msg_types
Definition: cluster.h:103
cluster_type_e
Definition: cluster.h:176
G_GNUC_INTERNAL gboolean pcmk__cpg_send_xml(xmlNode *msg, crm_node_t *node, enum crm_ais_msg_types dest)
Definition: cpg.c:892
G_GNUC_INTERNAL gboolean pcmk__corosync_connect(crm_cluster_t *cluster)
Definition: corosync.c:451
G_GNUC_INTERNAL char * pcmk__corosync_name(uint64_t cmap_handle, uint32_t nodeid)
Definition: corosync.c:101
G_GNUC_INTERNAL void pcmk__corosync_disconnect(crm_cluster_t *cluster)
Definition: corosync.c:223
G_GNUC_INTERNAL bool pcmk__corosync_has_nodelist(void)
Definition: corosync.c:730
G_GNUC_INTERNAL enum cluster_type_e pcmk__corosync_detect(void)
Definition: corosync.c:496
G_GNUC_INTERNAL char * pcmk__corosync_uuid(crm_node_t *peer)
Definition: corosync.c:55