pacemaker  2.0.2-debe490
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lrmd_alerts_internal.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015-2017 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 
21 #ifndef LRMD_ALERT_INTERNAL_H
22 #define LRMD_ALERT_INTERNAL_H
23 
24 #include <glib.h>
25 #include <crm/lrmd.h>
26 
27 int lrmd_send_attribute_alert(lrmd_t *lrmd, GList *alert_list,
28  const char *node, uint32_t nodeid,
29  const char *attr_name, const char *attr_value);
30 int lrmd_send_node_alert(lrmd_t *lrmd, GList *alert_list,
31  const char *node, uint32_t nodeid, const char *state);
32 int lrmd_send_fencing_alert(lrmd_t *lrmd, GList *alert_list,
33  const char *target, const char *task,
34  const char *desc, int op_rc);
35 int lrmd_send_resource_alert(lrmd_t *lrmd, GList *alert_list,
36  const char *node, lrmd_event_data_t *op);
37 
38 #endif
int lrmd_send_resource_alert(lrmd_t *lrmd, GList *alert_list, const char *node, lrmd_event_data_t *op)
Definition: lrmd_alerts.c:337
Resource agent executor.
int lrmd_send_node_alert(lrmd_t *lrmd, GList *alert_list, const char *node, uint32_t nodeid, const char *state)
Definition: lrmd_alerts.c:267
int lrmd_send_fencing_alert(lrmd_t *lrmd, GList *alert_list, const char *target, const char *task, const char *desc, int op_rc)
Definition: lrmd_alerts.c:302
Definition: lrmd.h:532
int lrmd_send_attribute_alert(lrmd_t *lrmd, GList *alert_list, const char *node, uint32_t nodeid, const char *attr_name, const char *attr_value)
Definition: lrmd_alerts.c:230