pacemaker  2.1.9-49aab99839
Scalable High-Availability cluster resource manager
Typedefs | Functions
remote_internal.h File Reference
#include <stdbool.h>
#include <crm/common/nodes.h>
#include <crm/common/scheduler_types.h>
Include dependency graph for remote_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct pcmk__remote_s pcmk__remote_t
 

Functions

int pcmk__remote_send_xml (pcmk__remote_t *remote, const xmlNode *msg)
 
int pcmk__remote_ready (const pcmk__remote_t *remote, int timeout_ms)
 
int pcmk__read_available_remote_data (pcmk__remote_t *remote)
 
int pcmk__read_remote_message (pcmk__remote_t *remote, int timeout_ms)
 
xmlNode * pcmk__remote_message_xml (pcmk__remote_t *remote)
 
int pcmk__connect_remote (const char *host, int port, int timeout_ms, int *timer_id, int *sock_fd, void *userdata, void(*callback)(void *userdata, int rc, int sock))
 
int pcmk__accept_remote_connection (int ssock, int *csock)
 
void pcmk__sockaddr2str (const void *sa, char *s)
 

Typedef Documentation

◆ pcmk__remote_t

Definition at line 20 of file remote_internal.h.

Function Documentation

◆ pcmk__accept_remote_connection()

int pcmk__accept_remote_connection ( int  ssock,
int *  csock 
)

Definition at line 1231 of file remote.c.

◆ pcmk__connect_remote()

int pcmk__connect_remote ( const char *  host,
int  port,
int  timeout_ms,
int *  timer_id,
int *  sock_fd,
void *  userdata,
void(*)(void *userdata, int rc, int sock)  callback 
)

Definition at line 1096 of file remote.c.

◆ pcmk__read_available_remote_data()

int pcmk__read_available_remote_data ( pcmk__remote_t remote)

Definition at line 718 of file remote.c.

◆ pcmk__read_remote_message()

int pcmk__read_remote_message ( pcmk__remote_t remote,
int  timeout_ms 
)

Definition at line 824 of file remote.c.

◆ pcmk__remote_message_xml()

xmlNode* pcmk__remote_message_xml ( pcmk__remote_t remote)

Definition at line 570 of file remote.c.

◆ pcmk__remote_ready()

int pcmk__remote_ready ( const pcmk__remote_t remote,
int  timeout_ms 
)

Definition at line 666 of file remote.c.

◆ pcmk__remote_send_xml()

int pcmk__remote_send_xml ( pcmk__remote_t remote,
const xmlNode *  msg 
)

Definition at line 517 of file remote.c.

◆ pcmk__sockaddr2str()

void pcmk__sockaddr2str ( const void *  sa,
char *  s 
)

Definition at line 1202 of file remote.c.