1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 #ifndef CRM_PE_NOTIF__H
19 # define CRM_PE_NOTIF__H
20
21 # include <crm/pengine/internal.h>
22
23 notify_data_t * create_notification_boundaries(resource_t *rsc,
24 const char *action,
25 action_t *start, action_t *end,
26 pe_working_set_t *data_set);
27
28 void collect_notification_data(resource_t *rsc, gboolean state,
29 gboolean activity, notify_data_t *n_data);
30
31 gboolean expand_notification_data(resource_t *rsc, notify_data_t *n_data,
32 pe_working_set_t *data_set);
33
34 void create_notifications(resource_t *rsc, notify_data_t *n_data,
35 pe_working_set_t *data_set);
36
37 void free_notification_data(notify_data_t *n_data);
38
39 void create_secondary_notification(pe_action_t *action, resource_t *rsc,
40 pe_action_t *stonith_op,
41 pe_working_set_t *data_set);
42
43 #endif