pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pcmki_sched_notif.h
Go to the documentation of this file.
1 /*
2  * Copyright 2004-2019 the Pacemaker project contributors
3  *
4  * The version control history for this file may have further details.
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This software is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 #ifndef CRM_PE_NOTIF__H
21 # define CRM_PE_NOTIF__H
22 
23 # include <crm/pengine/internal.h>
24 
26  const char *action,
27  pe_action_t *start, pe_action_t *end,
28  pe_working_set_t *data_set);
29 
30 void collect_notification_data(pe_resource_t *rsc, gboolean state,
31  gboolean activity, notify_data_t *n_data);
32 
34  pe_working_set_t *data_set);
35 
37  pe_working_set_t *data_set);
38 
40 
42  pe_action_t *stonith_op,
43  pe_working_set_t *data_set);
44 
45 #endif /* CRM_PE_NOTIF__H */
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:29
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)
gboolean expand_notification_data(pe_resource_t *rsc, notify_data_t *n_data, pe_working_set_t *data_set)
void create_secondary_notification(pe_action_t *action, pe_resource_t *rsc, pe_action_t *stonith_op, pe_working_set_t *data_set)