1 /* 2 * Copyright 2015-2018 Andrew Beekhof <andrew@beekhof.net> 3 * 4 * This source code is licensed under the GNU Lesser General Public License 5 * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY. 6 */ 7 8 #ifndef CONTROLD_ALERTS__H 9 # define CONTROLD_ALERTS__H 10 11 # include <crm/crm.h> 12 # include <crm/cluster.h> 13 # include <crm/stonith-ng.h> 14 15 void crmd_unpack_alerts(xmlNode *alerts); 16 void crmd_alert_node_event(crm_node_t *node); 17 void crmd_alert_fencing_op(stonith_event_t *e); 18 void crmd_alert_resource_op(const char *node, lrmd_event_data_t *op); 19 20 #endif