10 #ifndef PCMK__CRM_COMMON_NODES__H 11 #define PCMK__CRM_COMMON_NODES__H 15 #include <libxml/tree.h> 31 #define PCMK_NODE_ATTR_MAINTENANCE "maintenance" 32 #define PCMK_NODE_ATTR_STANDBY "standby" 33 #define PCMK_NODE_ATTR_TERMINATE "terminate" 105 #endif // PCMK__CRM_COMMON_NODES__H bool pcmk_node_is_online(const pcmk_node_t *node)
Type aliases needed to define scheduler objects.
bool pcmk_node_is_shutting_down(const pcmk_node_t *node)
pcmk__node_private_t * priv
bool pcmk_node_is_in_maintenance(const pcmk_node_t *node)
bool pcmk_node_is_clean(const pcmk_node_t *node)
const char * pcmk_cib_node_shutdown(xmlNode *cib, const char *node)
Get value of a node's shutdown attribute from CIB, if present.
bool pcmk_foreach_active_resource(pcmk_node_t *node, bool(*fn)(pcmk_resource_t *, void *), void *user_data)
struct pcmk__node_details * details
bool pcmk_node_is_pending(const pcmk_node_t *node)
struct pcmk__node_assignment * assign