10 #ifndef LRMD_INTERNAL__H 11 #define LRMD_INTERNAL__H 15 #include <libxml/tree.h> 22 const char *node, uint32_t nodeid,
23 const char *attr_name,
const char *attr_value);
25 const char *node, uint32_t nodeid,
const char *state);
27 const char *
target,
const char *task,
28 const char *desc,
int op_rc);
33 const char *msg_type);
52 const char *node_name,
const char *session_id,
int lrmd_tls_send_msg(pcmk__remote_t *session, xmlNode *msg, uint32_t id, const char *msg_type)
int remote_proxy_check(lrmd_t *lrmd, GHashTable *hash)
int lrmd_send_resource_alert(lrmd_t *lrmd, GList *alert_list, const char *node, lrmd_event_data_t *op)
void remote_proxy_disconnected(gpointer data)
struct mainloop_io_s mainloop_io_t
void remote_proxy_relay_event(remote_proxy_t *proxy, xmlNode *msg)
int remote_proxy_dispatch(const char *buffer, ssize_t length, gpointer userdata)
Wrappers for and extensions to glib mainloop.
int lrmd_send_node_alert(lrmd_t *lrmd, GList *alert_list, const char *node, uint32_t nodeid, const char *state)
struct crm_ipc_s crm_ipc_t
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)
struct remote_proxy_s remote_proxy_t
void remote_proxy_cb(lrmd_t *lrmd, const char *node_name, xmlNode *msg)
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)
void remote_proxy_nack_shutdown(lrmd_t *lrmd)
We're not going to shutdown as response to a remote proxy shutdown request.
void remote_proxy_free(gpointer data)
void remote_proxy_relay_response(remote_proxy_t *proxy, xmlNode *msg, int msg_id)
IPC interface to Pacemaker daemons.
void remote_proxy_ack_shutdown(lrmd_t *lrmd)
Send an acknowledgment of a remote proxy shutdown request.
int lrmd_send_fencing_alert(lrmd_t *lrmd, GList *alert_list, const char *target, const char *task, const char *desc, int op_rc)