1 /* 2 * Copyright 2015-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__CRM_PENGINE_RULES_INTERNAL__H 11 #define PCMK__CRM_PENGINE_RULES_INTERNAL__H 12 13 #include <glib.h> 14 #include <libxml/tree.h> 15 16 #include <crm/common/iso8601.h> 17 #include <crm/pengine/common.h> 18 #include <crm/pengine/rules.h> 19 20 #ifdef __cplusplus 21 extern "C" { 22 #endif 23 24 GList *pe_unpack_alerts(const xmlNode *alerts); 25 void pe_free_alert_list(GList *alert_list); 26 27 #ifdef __cplusplus 28 } 29 #endif 30 31 #endif // PCMK__CRM_PENGINE_RULES_INTERNAL__H