#include <stdio.h>
#include <stdbool.h>
#include <stdint.h>
#include <glib.h>
#include <crm/common/nodes.h>
Go to the source code of this file.
|
enum | pcmk__node_variant { pcmk__node_variant_cluster = 1,
pcmk__node_variant_remote = 2
} |
|
enum | pcmk__node_flags {
pcmk__node_none = UINT32_C(0),
pcmk__node_standby = (UINT32_C(1) << 0),
pcmk__node_fail_standby = (UINT32_C(1) << 1),
pcmk__node_seen = (UINT32_C(1) << 2),
pcmk__node_expected_up = (UINT32_C(1) << 3),
pcmk__node_probes_allowed = (UINT32_C(1) << 4),
pcmk__node_remote_reset = (UINT32_C(1) << 5),
pcmk__node_remote_fenced = (UINT32_C(1) << 6),
pcmk__node_remote_maint = (UINT32_C(1) << 7),
pcmk__node_unpacked = (UINT32_C(1) << 8)
} |
|
enum | pcmk__probe_mode { pcmk__probe_always = 0,
pcmk__probe_never = 1,
pcmk__probe_exclusive = 2
} |
|
◆ pcmk__clear_node_flags
#define pcmk__clear_node_flags |
( |
|
node, |
|
|
|
flags_to_clear |
|
) |
| |
Value:do { \
(node)->priv->flags = pcmk__clear_flags_as(__func__, __LINE__, \
(node)->priv->flags, (flags_to_clear), #flags_to_clear); \
} while (0)
Definition at line 149 of file nodes_internal.h.
◆ PCMK__NODE_ATTR_RESOURCE_DISCOVERY_ENABLED
#define PCMK__NODE_ATTR_RESOURCE_DISCOVERY_ENABLED "resource-discovery-enabled" |
◆ PCMK__NODE_ATTR_SHUTDOWN
#define PCMK__NODE_ATTR_SHUTDOWN "shutdown" |
◆ pcmk__set_node_flags
#define pcmk__set_node_flags |
( |
|
node, |
|
|
|
flags_to_set |
|
) |
| |
Value:do { \
(node)->priv->flags = pcmk__set_flags_as(__func__, __LINE__, \
(node)->priv->flags, (flags_to_set), #flags_to_set); \
} while (0)
Definition at line 136 of file nodes_internal.h.
◆ pcmk__node_flags
Enumerator |
---|
pcmk__node_none | |
pcmk__node_standby | |
pcmk__node_fail_standby | |
pcmk__node_seen | |
pcmk__node_expected_up | |
pcmk__node_probes_allowed | |
pcmk__node_remote_reset | |
pcmk__node_remote_fenced | |
pcmk__node_remote_maint | |
pcmk__node_unpacked | |
Definition at line 41 of file nodes_internal.h.
◆ pcmk__node_variant
Enumerator |
---|
pcmk__node_variant_cluster | |
pcmk__node_variant_remote | |
Definition at line 36 of file nodes_internal.h.
◆ pcmk__probe_mode
Enumerator |
---|
pcmk__probe_always | |
pcmk__probe_never | |
pcmk__probe_exclusive | |
Definition at line 80 of file nodes_internal.h.
◆ pcmk__find_node_in_list()
pcmk_node_t* pcmk__find_node_in_list |
( |
const GList * |
nodes, |
|
|
const char * |
node_name |
|
) |
| |
◆ pcmk__free_node_copy()
void pcmk__free_node_copy |
( |
void * |
data | ) |
|