pacemaker  2.1.2-ada5c3b36
Scalable High-Availability cluster resource manager
pcmki_sched_notif.h
Go to the documentation of this file.
1 /*
2  * Copyright 2004-2020 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 #ifndef CRM_PE_NOTIF__H
10 # define CRM_PE_NOTIF__H
11 
12 # include <crm/pengine/internal.h>
13 
15  const char *action,
16  pe_action_t *start, pe_action_t *end,
17  pe_working_set_t *data_set);
18 
19 void collect_notification_data(pe_resource_t *rsc, gboolean state,
20  gboolean activity, notify_data_t *n_data);
21 
23  pe_working_set_t *data_set);
24 
26  pe_working_set_t *data_set);
27 
29 
31  pe_action_t *stonith_op,
32  pe_working_set_t *data_set);
33 
34 #endif /* CRM_PE_NOTIF__H */
void pcmk__create_notification_keys(pe_resource_t *rsc, notify_data_t *n_data, pe_working_set_t *data_set)
void collect_notification_data(pe_resource_t *rsc, gboolean state, gboolean activity, notify_data_t *n_data)
void create_notifications(pe_resource_t *rsc, notify_data_t *n_data, pe_working_set_t *data_set)
const char * action
Definition: pcmk_fence.c:30
notify_data_t * create_notification_boundaries(pe_resource_t *rsc, const char *action, pe_action_t *start, pe_action_t *end, pe_working_set_t *data_set)
void free_notification_data(notify_data_t *n_data)
void create_secondary_notification(pe_action_t *action, pe_resource_t *rsc, pe_action_t *stonith_op, pe_working_set_t *data_set)