summaryrefslogtreecommitdiffstats
path: root/daemons/controld/controld_alerts.h
blob: ec5852ab5cbcde7807428c22823cfc31b834bfab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright 2015-2021 the Pacemaker project contributors
 *
 * The version control history for this file may have further details.
 *
 * This source code is licensed under the GNU Lesser General Public License
 * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
 */

#ifndef CONTROLD_ALERTS__H
#  define CONTROLD_ALERTS__H

#  include <crm/crm.h>
#  include <crm/cluster.h>
#  include <crm/stonith-ng.h>

void crmd_unpack_alerts(xmlNode *alerts);
void crmd_alert_node_event(crm_node_t *node);
void crmd_alert_fencing_op(stonith_event_t *e);
void crmd_alert_resource_op(const char *node, lrmd_event_data_t *op);

#endif