1
2
3
4
5
6
7
8
9 #ifndef CRM_PE_NOTIF__H
10 # define CRM_PE_NOTIF__H
11
12 # include <crm/pengine/internal.h>
13
14 notify_data_t * create_notification_boundaries(pe_resource_t *rsc,
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
22 void pcmk__create_notification_keys(pe_resource_t *rsc, notify_data_t *n_data,
23 pe_working_set_t *data_set);
24
25 void create_notifications(pe_resource_t *rsc, notify_data_t *n_data,
26 pe_working_set_t *data_set);
27
28 void free_notification_data(notify_data_t *n_data);
29
30 void create_secondary_notification(pe_action_t *action, pe_resource_t *rsc,
31 pe_action_t *stonith_op,
32 pe_working_set_t *data_set);
33
34 #endif