pacemaker  1.1.24-3850484742
Scalable High-Availability cluster resource manager
lrmd_internal.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015-2019 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 
10 #ifndef LRMD_INTERNAL__H
11 #define LRMD_INTERNAL__H
12 
13 #include <stdint.h> // uint32_t
14 #include <glib.h> // GList
15 #include <libxml/tree.h> // xmlNode
16 #include <crm/common/remote_internal.h> // crm_remote_t
17 #include <crm/lrmd.h> // lrmd_t, lrmd_event_data_t
18 
19 int lrmd_send_attribute_alert(lrmd_t *lrmd, GList *alert_list,
20  const char *node, uint32_t nodeid,
21  const char *attr_name, const char *attr_value);
22 int lrmd_send_node_alert(lrmd_t *lrmd, GList *alert_list,
23  const char *node, uint32_t nodeid, const char *state);
24 int lrmd_send_fencing_alert(lrmd_t *lrmd, GList *alert_list,
25  const char *target, const char *task,
26  const char *desc, int op_rc);
27 int lrmd_send_resource_alert(lrmd_t *lrmd, GList *alert_list,
28  const char *node, lrmd_event_data_t *op);
29 
30 int lrmd_tls_send_msg(crm_remote_t *session, xmlNode *msg, uint32_t id,
31  const char *msg_type);
32 
33 #endif
int lrmd_send_resource_alert(lrmd_t *lrmd, GList *alert_list, const char *node, lrmd_event_data_t *op)
Definition: lrmd_alerts.c:327
Local Resource Manager.
int lrmd_send_node_alert(lrmd_t *lrmd, GList *alert_list, const char *node, uint32_t nodeid, const char *state)
Definition: lrmd_alerts.c:257
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:220
int lrmd_tls_send_msg(crm_remote_t *session, xmlNode *msg, uint32_t id, const char *msg_type)
#define uint32_t
Definition: stdint.in.h:158
Definition: lrmd.h:524
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:292