pacemaker  1.1.18-7fdfbbe
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
proxy_common.c File Reference
#include <crm_internal.h>
#include <glib.h>
#include <unistd.h>
#include <crm/crm.h>
#include <crm/msg_xml.h>
#include <crm/services.h>
#include <crm/common/mainloop.h>
#include <crm/pengine/status.h>
#include <crm/cib.h>
#include <crm/lrmd.h>
Include dependency graph for proxy_common.c:

Go to the source code of this file.

Functions

int lrmd_internal_proxy_send (lrmd_t *lrmd, 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...
 
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 remote_proxy_free (gpointer data)
 
int remote_proxy_dispatch (const char *buffer, ssize_t length, gpointer userdata)
 
void remote_proxy_disconnected (gpointer userdata)
 
remote_proxy_tremote_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_cb (lrmd_t *lrmd, const char *node_name, xmlNode *msg)
 

Variables

GHashTable * proxy_table = NULL
 

Function Documentation

int lrmd_internal_proxy_send ( lrmd_t lrmd,
xmlNode *  msg 
)

Definition at line 1559 of file lrmd_client.c.

void remote_proxy_ack_shutdown ( lrmd_t lrmd)

Send an acknowledgment of a remote proxy shutdown request.

Parameters
[in]lrmdConnection to proxy

Definition at line 54 of file proxy_common.c.

void remote_proxy_cb ( lrmd_t lrmd,
const char *  node_name,
xmlNode *  msg 
)

Definition at line 215 of file proxy_common.c.

void remote_proxy_disconnected ( gpointer  userdata)

Definition at line 157 of file proxy_common.c.

int remote_proxy_dispatch ( const char *  buffer,
ssize_t  length,
gpointer  userdata 
)

Definition at line 128 of file proxy_common.c.

void remote_proxy_free ( gpointer  data)

Definition at line 117 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.

Parameters
[in]lrmdConnection to proxy

Definition at line 69 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 175 of file proxy_common.c.

void remote_proxy_relay_event ( remote_proxy_t proxy,
xmlNode *  msg 
)

Definition at line 78 of file proxy_common.c.

void remote_proxy_relay_response ( remote_proxy_t proxy,
xmlNode *  msg,
int  msg_id 
)

Definition at line 91 of file proxy_common.c.

Variable Documentation

GHashTable* proxy_table = NULL

Definition at line 35 of file proxy_common.c.