38 remote_proxy_notify_destroy(
lrmd_t *lrmd, 
const char *session_id)
 
  137         crm_warn(
"Received a NULL msg from IPC service.");
 
  176                  const char *node_name, 
const char *session_id, 
const char *channel)
 
  180     if(channel == NULL) {
 
  181         crm_err(
"No channel specified to proxy");
 
  182         remote_proxy_notify_destroy(lrmd, session_id);
 
  200         if (proxy->
source == NULL) {
 
  202             remote_proxy_notify_destroy(lrmd, session_id);
 
  207     crm_trace(
"new remote proxy client established to %s on %s, session id %s",
 
  208               channel, node_name, session_id);
 
  233         remote_proxy_end_session(proxy);
 
  244             remote_proxy_notify_destroy(lrmd, session);
 
  250                   remote_proxy_end_session(proxy); 
return);
 
  253             remote_proxy_end_session(proxy);
 
  279                 crm_err(
"Could not relay %s request %d from %s to %s for %s: %s (%d)",
 
  290                 crm_trace(
"Relayed %s request %d from %s to %s for %s",
 
  297             xmlNode *op_reply = NULL;
 
  300             crm_trace(
"Relaying %s request %d from %s to %s for %s",
 
  305                 crm_err(
"Could not relay %s request %d from %s to %s for %s: %s (%d)",
 
  308                 crm_trace(
"Relayed %s request %d from %s to %s for %s",
 
  318         crm_err(
"Unknown proxy operation: %s", op);
 
void remote_proxy_relay_response(remote_proxy_t *proxy, xmlNode *msg, int msg_id)
 
#define CRM_CHECK(expr, failure_action)
 
int remote_proxy_dispatch(const char *buffer, ssize_t length, gpointer userdata)
 
xmlNode * get_message_xml(xmlNode *msg, const char *field)
 
#define F_LRMD_IPC_CLIENT
 
#define LRMD_IPC_OP_SHUTDOWN_NACK
 
#define F_LRMD_IPC_SESSION
 
const char * pcmk_strerror(int rc)
 
#define LRMD_IPC_OP_DESTROY
 
#define LRMD_IPC_OP_RESPONSE
 
void remote_proxy_relay_event(remote_proxy_t *proxy, xmlNode *msg)
 
void remote_proxy_ack_shutdown(lrmd_t *lrmd)
Send an acknowledgment of a remote proxy shutdown request. 
 
int lrmd_internal_proxy_send(lrmd_t *lrmd, xmlNode *msg)
 
uint32_t crm_ipc_buffer_flags(crm_ipc_t *client)
 
Wrappers for and extensions to glib mainloop. 
 
xmlNode * string2xml(const char *input)
 
#define F_LRMD_IPC_MSG_ID
 
#define crm_warn(fmt, args...)
 
#define LRMD_IPC_OP_REQUEST
 
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)
 
#define crm_trace(fmt, args...)
 
#define crm_log_xml_explicit(xml, text)
 
xmlNode * create_xml_node(xmlNode *parent, const char *name)
 
int crm_element_value_int(xmlNode *data, const char *name, int *dest)
 
const char * crm_element_value(xmlNode *data, const char *name)
 
void mainloop_del_ipc_client(mainloop_io_t *client)
 
gboolean add_message_xml(xmlNode *msg, const char *field, xmlNode *xml)
 
void free_xml(xmlNode *child)
 
void remote_proxy_disconnected(gpointer data)
 
bool crm_ipc_connected(crm_ipc_t *client)
 
#define LRMD_IPC_OP_SHUTDOWN_ACK
 
const char * crm_xml_add(xmlNode *node, const char *name, const char *value)
 
const char * crm_xml_add_int(xmlNode *node, const char *name, int value)
 
void remote_proxy_nack_shutdown(lrmd_t *lrmd)
We're not going to shutdown as response to a remote proxy shutdown request. 
 
#define F_LRMD_IPC_MSG_FLAGS
 
const char * crm_ipc_name(crm_ipc_t *client)
 
crm_ipc_t * mainloop_get_ipc_client(mainloop_io_t *client)
 
#define crm_err(fmt, args...)
 
int crm_ipc_send(crm_ipc_t *client, xmlNode *message, enum crm_ipc_flags flags, int32_t ms_timeout, xmlNode **reply)
 
void remote_proxy_free(gpointer data)
 
const char * crm_acl_get_set_user(xmlNode *request, const char *field, const char *peer_user)
 
#define LRMD_IPC_OP_EVENT
 
mainloop_io_t * mainloop_add_ipc_client(const char *name, int priority, size_t max_size, void *userdata, struct ipc_client_callbacks *callbacks)
 
#define safe_str_eq(a, b)
 
enum crm_ais_msg_types type