diff options
Diffstat (limited to 'daemons/controld/controld_alerts.h')
-rw-r--r-- | daemons/controld/controld_alerts.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/daemons/controld/controld_alerts.h b/daemons/controld/controld_alerts.h new file mode 100644 index 0000000..ec5852a --- /dev/null +++ b/daemons/controld/controld_alerts.h @@ -0,0 +1,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 |