pacemaker  2.0.5-ba59be712
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, xmlNode *msg)
 
int pcmk__remote_ready (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 (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 1207 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 1076 of file remote.c.

◆ pcmk__read_remote_message()

int pcmk__read_remote_message ( pcmk__remote_t remote,
int  timeout_ms 
)

Definition at line 804 of file remote.c.

◆ pcmk__remote_message_xml()

xmlNode* pcmk__remote_message_xml ( pcmk__remote_t remote)

Definition at line 553 of file remote.c.

◆ pcmk__remote_ready()

int pcmk__remote_ready ( pcmk__remote_t remote,
int  timeout_ms 
)

Definition at line 646 of file remote.c.

◆ pcmk__remote_send_xml()

int pcmk__remote_send_xml ( pcmk__remote_t remote,
xmlNode *  msg 
)

Definition at line 501 of file remote.c.

◆ pcmk__sockaddr2str()

void pcmk__sockaddr2str ( void *  sa,
char *  s 
)

Definition at line 1179 of file remote.c.