1 /* 2 * Copyright 2015-2021 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 CONTROLD_ALERTS__H 11 # define CONTROLD_ALERTS__H 12 13 # include <crm/crm.h> 14 # include <crm/cluster.h> 15 # include <crm/stonith-ng.h> 16 17 void crmd_unpack_alerts(xmlNode *alerts); 18 void crmd_alert_node_event(crm_node_t *node); 19 void crmd_alert_fencing_op(stonith_event_t *e); 20 void crmd_alert_resource_op(const char *node, lrmd_event_data_t *op); 21 22 #endif