10 #ifndef PCMK__CRM_COMMON_REMOTE_INTERNAL__H 11 #define PCMK__CRM_COMMON_REMOTE_INTERNAL__H 15 #include <libxml/tree.h> 36 int *timer_id,
int *sock_fd,
void *userdata,
37 void (*callback) (
void *userdata,
int rc,
int sock));
50 pcmk__is_pacemaker_remote_node(
const pcmk_node_t *node)
67 return pcmk__is_pacemaker_remote_node(node)
81 pcmk__is_guest_or_bundle_node(
const pcmk_node_t *node)
83 return pcmk__is_pacemaker_remote_node(node)
92 #endif // PCMK__CRM_COMMON_REMOTE_INTERNAL__H
Type aliases needed to define scheduler objects.
int pcmk__accept_remote_connection(int ssock, int *csock)
int pcmk__read_available_remote_data(pcmk__remote_t *remote)
pcmk__node_private_t * priv
int pcmk__remote_ready(const pcmk__remote_t *remote, int timeout_ms)
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))
pcmk__resource_private_t * priv
void pcmk__sockaddr2str(const void *sa, char *s)
int pcmk__remote_send_xml(pcmk__remote_t *remote, const xmlNode *msg)
enum pcmk__node_variant variant
pcmk_resource_t * launcher
int pcmk__read_remote_message(pcmk__remote_t *remote, int timeout_ms)
xmlNode * pcmk__remote_message_xml(pcmk__remote_t *remote)