10 #ifndef PCMK__CRM_COMMON_NODES_INTERNAL__H 11 #define PCMK__CRM_COMMON_NODES_INTERNAL__H 28 #define PCMK__NODE_ATTR_SHUTDOWN "shutdown" 34 #define PCMK__NODE_ATTR_RESOURCE_DISCOVERY_ENABLED "resource-discovery-enabled" 136 #define pcmk__set_node_flags(node, flags_to_set) do { \ 137 (node)->priv->flags = pcmk__set_flags_as(__func__, __LINE__, \ 138 LOG_TRACE, "Node", pcmk__node_name(node), \ 139 (node)->priv->flags, (flags_to_set), #flags_to_set); \ 149 #define pcmk__clear_node_flags(node, flags_to_clear) do { \ 150 (node)->priv->flags = pcmk__clear_flags_as(__func__, __LINE__, \ 151 LOG_TRACE, "Node", pcmk__node_name(node), \ 152 (node)->priv->flags, (flags_to_clear), #flags_to_clear); \ 165 static inline const char *
169 return "unspecified node";
171 }
else if (node->
priv->
name != NULL) {
174 }
else if (node->
priv->
id != NULL) {
178 return "unidentified node";
202 #endif // PCMK__CRM_COMMON_NODES_INTERNAL__H enum pcmk__probe_mode probe_mode
void pcmk__free_node_copy(void *data)
pcmk__node_private_t * priv
pcmk_node_t * pcmk__find_node_in_list(const GList *nodes, const char *node_name)
GList * assigned_resources
GHashTable * digest_cache
pcmk_scheduler_t * scheduler
enum pcmk__node_variant variant