MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / crm_send_remote_msg

Function crm_send_remote_msg

lib/common/remote.c:299–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299void
300crm_send_remote_msg(void *session, xmlNode * msg, gboolean encrypted)
301{
302 if (encrypted) {
303#ifdef HAVE_GNUTLS_GNUTLS_H
304 cib_send_tls(session, msg);
305#else
306 CRM_ASSERT(encrypted == FALSE);
307#endif
308 } else {
309 cib_send_plaintext(GPOINTER_TO_INT(session), msg);
310 }
311}
312
313xmlNode *
314crm_recv_remote_msg(void *session, gboolean encrypted)

Callers 7

cib_notify_clientFunction · 0.85
cib_remote_listenFunction · 0.85
do_local_notifyFunction · 0.85
cib_tls_signonFunction · 0.85
cib_remote_signonFunction · 0.85
cib_remote_perform_opFunction · 0.85

Calls 2

cib_send_tlsFunction · 0.85
cib_send_plaintextFunction · 0.85

Tested by

no test coverage detected