#include <crm_internal.h>
#include <libxml/tree.h>
#include <crm/common/nvpair.h>
Go to the source code of this file.
◆ XP_SHUTDOWN
Value:
#define PCMK__NODE_ATTR_SHUTDOWN
#define PCMK__XE_NODE_STATE
#define PCMK_XE_INSTANCE_ATTRIBUTES
Definition at line 165 of file nodes.c.
◆ pcmk__find_node_in_list()
pcmk_node_t* pcmk__find_node_in_list |
( |
const GList * |
nodes, |
|
|
const char * |
node_name |
|
) |
| |
◆ pcmk__xe_add_node()
void pcmk__xe_add_node |
( |
xmlNode * |
xml, |
|
|
const char * |
node, |
|
|
int |
nodeid |
|
) |
| |
◆ pcmk_cib_node_shutdown()
const char* pcmk_cib_node_shutdown |
( |
xmlNode * |
cib, |
|
|
const char * |
node |
|
) |
| |
Get value of a node's shutdown attribute from CIB, if present.
- Parameters
-
[in] | cib | CIB to check |
[in] | node | Name of node to check |
- Returns
- Value of shutdown attribute for
node
in cib
if any, otherwise NULL
- Note
- The return value is a pointer into
cib
and so is valid only for the lifetime of that object.
Definition at line 181 of file nodes.c.
◆ pcmk_foreach_active_resource()
◆ pcmk_node_is_clean()
◆ pcmk_node_is_in_maintenance()
bool pcmk_node_is_in_maintenance |
( |
const pcmk_node_t * |
node | ) |
|
◆ pcmk_node_is_online()
◆ pcmk_node_is_pending()
◆ pcmk_node_is_shutting_down()
bool pcmk_node_is_shutting_down |
( |
const pcmk_node_t * |
node | ) |
|