pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
compat.h
Go to the documentation of this file.
1/*
2 * Copyright 2004-2024 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__CRM_CLUSTER_COMPAT__H
11#define PCMK__CRM_CLUSTER_COMPAT__H
12
13#include <crm/cluster.h> // pcmk_cluster_t, enum pcmk_cluster_layer
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
28// NOTE: sbd (as of at least 1.5.2) uses this
31
32// NOTE: sbd (as of at least 1.5.2) uses this
34gboolean crm_cluster_connect(pcmk_cluster_t *cluster);
35
36// NOTE: sbd (as of at least 1.5.2) uses this enum
40 // NOTE: sbd (as of at least 1.5.2) uses this value
42
44
45 // NOTE: sbd (as of at least 1.5.2) uses this value
47};
49
50// NOTE: sbd (as of at least 1.5.2) uses this
53
54// NOTE: sbd (as of at least 1.5.2) uses this
57
58// NOTE: sbd (as of at least 1.5.2) uses this
60void crm_peer_init(void);
61
62#ifdef __cplusplus
63}
64#endif
65
66#endif // PCMK_CLUSTER_COMPAT__H
@ pcmk_cluster_layer_invalid
Invalid cluster layer.
Definition cluster.h:71
@ pcmk_cluster_layer_corosync
Corosync Cluster Engine.
Definition cluster.h:72
@ pcmk_cluster_layer_unknown
Unknown cluster layer.
Definition cluster.h:70
gboolean crm_cluster_connect(pcmk_cluster_t *cluster)
Definition cluster.c:440
enum cluster_type_e get_cluster_type(void)
Definition cluster.c:470
const char * name_for_cluster_type(enum cluster_type_e type)
Definition cluster.c:455
cluster_type_e
Definition compat.h:39
@ pcmk_cluster_unknown
Definition compat.h:41
@ pcmk_cluster_invalid
Definition compat.h:43
@ pcmk_cluster_corosync
Definition compat.h:46
void crm_peer_init(void)
enum pcmk_ipc_server type
Definition cpg.c:3