10 #ifndef PCMK__CRM_COMMON_NODES__H 11 #define PCMK__CRM_COMMON_NODES__H 30 #define PCMK_NODE_ATTR_MAINTENANCE "maintenance" 31 #define PCMK_NODE_ATTR_STANDBY "standby" 32 #define PCMK_NODE_ATTR_TERMINATE "terminate" 43 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1) 59 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1) 193 static inline const char *
197 return "unspecified node";
206 return "unidentified node";
230 #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_scheduler_t * data_set
gboolean remote_was_fenced
gboolean remote_requires_reset
gboolean remote_maintenance
bool pcmk_node_is_in_maintenance(const pcmk_node_t *node)
bool pcmk_node_is_clean(const pcmk_node_t *node)
struct pe_node_shared_s * details
gboolean rsc_discovery_enabled
bool pcmk_foreach_active_resource(pcmk_node_t *node, bool(*fn)(pcmk_resource_t *, void *), void *user_data)
GHashTable * digest_cache
bool pcmk_node_is_pending(const pcmk_node_t *node)
pcmk_resource_t * remote_rsc