pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

Definition at line 15 of file remote_internal.h.

Function Documentation

int pcmk__accept_remote_connection ( int  ssock,
int *  csock 
)

Definition at line 1194 of file remote.c.

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 1063 of file remote.c.

int pcmk__read_remote_message ( pcmk__remote_t remote,
int  timeout_ms 
)

Definition at line 791 of file remote.c.

xmlNode* pcmk__remote_message_xml ( pcmk__remote_t remote)

Definition at line 540 of file remote.c.

int pcmk__remote_ready ( pcmk__remote_t remote,
int  timeout_ms 
)

Definition at line 633 of file remote.c.

int pcmk__remote_send_xml ( pcmk__remote_t remote,
xmlNode *  msg 
)

Definition at line 488 of file remote.c.

void pcmk__sockaddr2str ( void *  sa,
char *  s 
)

Definition at line 1166 of file remote.c.