| 
    pacemaker
    2.1.1-52dc28db4
    
   Scalable High-Availability cluster resource manager 
   | 
 
#include <stdint.h>#include <glib.h>#include <libxml/tree.h>#include <crm/common/ipc.h>#include <crm/common/mainloop.h>#include <crm/common/output_internal.h>#include <crm/common/remote_internal.h>#include <crm/lrmd.h>

Go to the source code of this file.
Data Structures | |
| struct | remote_proxy_s | 
Typedefs | |
| typedef struct remote_proxy_s | remote_proxy_t | 
Functions | |
| 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) | 
| int | lrmd_send_node_alert (lrmd_t *lrmd, GList *alert_list, const char *node, uint32_t nodeid, const char *state) | 
| int | lrmd_send_fencing_alert (lrmd_t *lrmd, GList *alert_list, const char *target, const char *task, const char *desc, int op_rc) | 
| int | lrmd_send_resource_alert (lrmd_t *lrmd, GList *alert_list, const char *node, lrmd_event_data_t *op) | 
| int | lrmd__remote_send_xml (pcmk__remote_t *session, xmlNode *msg, uint32_t id, const char *msg_type) | 
| remote_proxy_t * | remote_proxy_new (lrmd_t *lrmd, struct ipc_client_callbacks *proxy_callbacks, const char *node_name, const char *session_id, const char *channel) | 
| int | lrmd__validate_remote_settings (lrmd_t *lrmd, GHashTable *hash) | 
| void | remote_proxy_cb (lrmd_t *lrmd, const char *node_name, xmlNode *msg) | 
| void | remote_proxy_ack_shutdown (lrmd_t *lrmd) | 
| Send an acknowledgment of a remote proxy shutdown request.  More... | |
| void | remote_proxy_nack_shutdown (lrmd_t *lrmd) | 
| We're not going to shutdown as response to a remote proxy shutdown request.  More... | |
| int | remote_proxy_dispatch (const char *buffer, ssize_t length, gpointer userdata) | 
| void | remote_proxy_disconnected (gpointer data) | 
| void | remote_proxy_free (gpointer data) | 
| void | remote_proxy_relay_event (remote_proxy_t *proxy, xmlNode *msg) | 
| void | remote_proxy_relay_response (remote_proxy_t *proxy, xmlNode *msg, int msg_id) | 
| void | lrmd__register_messages (pcmk__output_t *out) | 
| typedef struct remote_proxy_s remote_proxy_t | 
| void lrmd__register_messages | ( | pcmk__output_t * | out | ) | 
Definition at line 144 of file lrmd_output.c.
| int lrmd__remote_send_xml | ( | pcmk__remote_t * | session, | 
| xmlNode * | msg, | ||
| uint32_t | id, | ||
| const char * | msg_type | ||
| ) | 
| int lrmd__validate_remote_settings | ( | lrmd_t * | lrmd, | 
| GHashTable * | hash | ||
| ) | 
Definition at line 927 of file lrmd_client.c.
| 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 at line 238 of file lrmd_alerts.c.
| int lrmd_send_fencing_alert | ( | lrmd_t * | lrmd, | 
| GList * | alert_list, | ||
| const char * | target, | ||
| const char * | task, | ||
| const char * | desc, | ||
| int | op_rc | ||
| ) | 
Definition at line 311 of file lrmd_alerts.c.
| int lrmd_send_node_alert | ( | lrmd_t * | lrmd, | 
| GList * | alert_list, | ||
| const char * | node, | ||
| uint32_t | nodeid, | ||
| const char * | state | ||
| ) | 
Definition at line 276 of file lrmd_alerts.c.
| int lrmd_send_resource_alert | ( | lrmd_t * | lrmd, | 
| GList * | alert_list, | ||
| const char * | node, | ||
| lrmd_event_data_t * | op | ||
| ) | 
Definition at line 346 of file lrmd_alerts.c.
| void remote_proxy_ack_shutdown | ( | lrmd_t * | lrmd | ) | 
Send an acknowledgment of a remote proxy shutdown request.
| [in] | lrmd | Connection to proxy | 
Definition at line 45 of file proxy_common.c.
| void remote_proxy_cb | ( | lrmd_t * | lrmd, | 
| const char * | node_name, | ||
| xmlNode * | msg | ||
| ) | 
Definition at line 206 of file proxy_common.c.
| void remote_proxy_disconnected | ( | gpointer | data | ) | 
Definition at line 148 of file proxy_common.c.
| int remote_proxy_dispatch | ( | const char * | buffer, | 
| ssize_t | length, | ||
| gpointer | userdata | ||
| ) | 
Definition at line 119 of file proxy_common.c.
| void remote_proxy_free | ( | gpointer | data | ) | 
Definition at line 108 of file proxy_common.c.
| void remote_proxy_nack_shutdown | ( | lrmd_t * | lrmd | ) | 
We're not going to shutdown as response to a remote proxy shutdown request.
| [in] | lrmd | Connection to proxy | 
Definition at line 60 of file proxy_common.c.
| remote_proxy_t* remote_proxy_new | ( | lrmd_t * | lrmd, | 
| struct ipc_client_callbacks * | proxy_callbacks, | ||
| const char * | node_name, | ||
| const char * | session_id, | ||
| const char * | channel | ||
| ) | 
Definition at line 166 of file proxy_common.c.
| void remote_proxy_relay_event | ( | remote_proxy_t * | proxy, | 
| xmlNode * | msg | ||
| ) | 
Definition at line 69 of file proxy_common.c.
| void remote_proxy_relay_response | ( | remote_proxy_t * | proxy, | 
| xmlNode * | msg, | ||
| int | msg_id | ||
| ) | 
Definition at line 82 of file proxy_common.c.
 1.8.14