| 
    pacemaker
    2.1.2-ada5c3b36
    
   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__new (lrmd_t **api, const char *nodename, const char *server, int port) | 
| 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) | 
| void | lrmd__set_result (lrmd_event_data_t *event, enum ocf_exitcode rc, int op_status, const char *exit_reason) | 
| void | lrmd__reset_result (lrmd_event_data_t *event) | 
| 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 | 
| int lrmd__new | ( | lrmd_t ** | api, | 
| const char * | nodename, | ||
| const char * | server, | ||
| int | port | ||
| ) | 
Definition at line 2223 of file lrmd_client.c.
| 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 | ||
| ) | 
| void lrmd__reset_result | ( | lrmd_event_data_t * | event | ) | 
Definition at line 2386 of file lrmd_client.c.
| void lrmd__set_result | ( | lrmd_event_data_t * | event, | 
| enum ocf_exitcode | rc, | ||
| int | op_status, | ||
| const char * | exit_reason | ||
| ) | 
Definition at line 2363 of file lrmd_client.c.
| int lrmd__validate_remote_settings | ( | lrmd_t * | lrmd, | 
| GHashTable * | hash | ||
| ) | 
Definition at line 929 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 237 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 310 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 275 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 345 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