pacemaker  2.0.3-4b1f869f0f
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
remote_internal.h
lrmd_send_fencing_alert
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:304
lrmd_s
Definition: lrmd.h:533
lrmd_send_resource_alert
int lrmd_send_resource_alert(lrmd_t *lrmd, GList *alert_list, const char *node, lrmd_event_data_t *op)
Definition: lrmd_alerts.c:339
crm_remote_s
Definition: ipcs.h:37
lrmd_event_data_s
Definition: lrmd.h:198
lrmd.h
Resource agent executor.
lrmd_send_attribute_alert
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:232
lrmd_send_node_alert
int lrmd_send_node_alert(lrmd_t *lrmd, GList *alert_list, const char *node, uint32_t nodeid, const char *state)
Definition: lrmd_alerts.c:269
lrmd_tls_send_msg
int lrmd_tls_send_msg(crm_remote_t *session, xmlNode *msg, uint32_t id, const char *msg_type)