1 /* 2 * Copyright 2024 the Pacemaker project contributors 3 * 4 * The version control history for this file may have further details. 5 * 6 * This source code is licensed under the GNU Lesser General Public License 7 * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY. 8 */ 9 10 #ifndef PCMK__NODES_INTERNAL__H 11 #define PCMK__NODES_INTERNAL__H 12 13 /* 14 * Special node attributes 15 */ 16 17 #define PCMK__NODE_ATTR_SHUTDOWN "shutdown" 18 19 /* @COMPAT Deprecated since 2.1.8. Use a location constraint with 20 * PCMK_XA_RSC_PATTERN=".*" and PCMK_XA_RESOURCE_DISCOVERY="never" instead of 21 * PCMK__NODE_ATTR_RESOURCE_DISCOVERY_ENABLED="false". 22 */ 23 #define PCMK__NODE_ATTR_RESOURCE_DISCOVERY_ENABLED "resource-discovery-enabled" 24 25 pcmk_node_t *pcmk__find_node_in_list(const GList *nodes, const char *node_name); 26 27 #endif // PCMK__NODES_INTERNAL__H