pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Typedefs | Functions
remote_internal.h File Reference
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_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 15 of file remote_internal.h.

Function Documentation

◆ pcmk__accept_remote_connection()

int pcmk__accept_remote_connection ( int  ssock,
int *  csock 
)

Definition at line 1203 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 1068 of file remote.c.

◆ pcmk__read_remote_message()

int pcmk__read_remote_message ( pcmk__remote_t remote,
int  timeout_ms 
)

Definition at line 796 of file remote.c.

◆ pcmk__remote_message_xml()

xmlNode* pcmk__remote_message_xml ( pcmk__remote_t remote)

Definition at line 544 of file remote.c.

◆ pcmk__remote_ready()

int pcmk__remote_ready ( const pcmk__remote_t remote,
int  timeout_ms 
)

Definition at line 638 of file remote.c.

◆ pcmk__remote_send_xml()

int pcmk__remote_send_xml ( pcmk__remote_t remote,
const xmlNode *  msg 
)

Definition at line 492 of file remote.c.

◆ pcmk__sockaddr2str()

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

Definition at line 1174 of file remote.c.