pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
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 <crm/lrmd_internal.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

◆ lrmd_internal_proxy_send()

int lrmd_internal_proxy_send ( lrmd_t lrmd,
xmlNode *  msg 
)

Definition at line 1894 of file lrmd_client.c.

◆ remote_proxy_ack_shutdown()

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 45 of file proxy_common.c.

◆ remote_proxy_cb()

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

Definition at line 206 of file proxy_common.c.

◆ remote_proxy_disconnected()

void remote_proxy_disconnected ( gpointer  userdata)

Definition at line 148 of file proxy_common.c.

◆ remote_proxy_dispatch()

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

Definition at line 119 of file proxy_common.c.

◆ remote_proxy_free()

void remote_proxy_free ( gpointer  data)

Definition at line 108 of file proxy_common.c.

◆ remote_proxy_nack_shutdown()

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 60 of file proxy_common.c.

◆ remote_proxy_new()

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.

◆ remote_proxy_relay_event()

void remote_proxy_relay_event ( remote_proxy_t proxy,
xmlNode *  msg 
)

Definition at line 69 of file proxy_common.c.

◆ remote_proxy_relay_response()

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

Definition at line 82 of file proxy_common.c.

Variable Documentation

◆ proxy_table

GHashTable* proxy_table = NULL

Definition at line 26 of file proxy_common.c.