pacemaker  2.0.5-ba59be712
Scalable High-Availability cluster resource manager
Data Structures | Typedefs | Functions
lrmd_internal.h File Reference
#include <stdint.h>
#include <glib.h>
#include <libxml/tree.h>
#include <crm/common/ipc.h>
#include <crm/common/mainloop.h>
#include <crm/common/remote_internal.h>
#include <crm/lrmd.h>
Include dependency graph for lrmd_internal.h:
This graph shows which files directly or indirectly include this file:

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_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_tls_send_msg (pcmk__remote_t *session, xmlNode *msg, uint32_t id, const char *msg_type)
 
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)
 
int remote_proxy_check (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)
 

Typedef Documentation

◆ remote_proxy_t

Function Documentation

◆ lrmd_send_attribute_alert()

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.

◆ lrmd_send_fencing_alert()

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.

◆ lrmd_send_node_alert()

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.

◆ lrmd_send_resource_alert()

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.

◆ lrmd_tls_send_msg()

int lrmd_tls_send_msg ( pcmk__remote_t session,
xmlNode *  msg,
uint32_t  id,
const char *  msg_type 
)

◆ 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_check()

int remote_proxy_check ( lrmd_t lrmd,
GHashTable *  hash 
)

Definition at line 925 of file lrmd_client.c.

◆ remote_proxy_disconnected()

void remote_proxy_disconnected ( gpointer  data)

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.