native 53 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; native 84 lib/cib/cib_native.c rc = crm_ipc_send(native->ipc, op_msg, ipc_flags, cib->call_timeout * 1000, &op_reply); native 167 lib/cib/cib_native.c if (!crm_ipc_connected(native->ipc)) { native 223 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; native 227 lib/cib/cib_native.c native->source = NULL; native 228 lib/cib/cib_native.c native->ipc = NULL; native 230 lib/cib/cib_native.c if (native->dnotify_fn) { native 231 lib/cib/cib_native.c native->dnotify_fn(userdata); native 238 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; native 245 lib/cib/cib_native.c if (native->source != NULL) { native 247 lib/cib/cib_native.c mainloop_del_ipc_client(native->source); native 248 lib/cib/cib_native.c native->source = NULL; native 249 lib/cib/cib_native.c native->ipc = NULL; native 251 lib/cib/cib_native.c } else if (native->ipc) { native 253 lib/cib/cib_native.c crm_ipc_t *ipc = native->ipc; native 255 lib/cib/cib_native.c native->ipc = NULL; native 273 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; native 302 lib/cib/cib_native.c native->ipc = crm_ipc_new(channel, 0); native 303 lib/cib/cib_native.c if (native->ipc != NULL) { native 304 lib/cib/cib_native.c rc = pcmk__connect_generic_ipc(native->ipc); native 306 lib/cib/cib_native.c rc = pcmk__ipc_fd(native->ipc, async_fd); native 316 lib/cib/cib_native.c native->source = native 319 lib/cib/cib_native.c native->ipc = mainloop_get_ipc_client(native->source); native 322 lib/cib/cib_native.c if (rc != pcmk_ok || native->ipc == NULL || !crm_ipc_connected(native->ipc)) { native 335 lib/cib/cib_native.c if (crm_ipc_send(native->ipc, hello, crm_ipc_client_response, -1, native 348 lib/cib/cib_native.c native->token = crm_element_value_copy(reply, native 350 lib/cib/cib_native.c if (native->token == NULL) { native 389 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; native 391 lib/cib/cib_native.c free(native->token); native 406 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; native 412 lib/cib/cib_native.c rc = crm_ipc_send(native->ipc, notify_msg, crm_ipc_client_response, native 428 lib/cib/cib_native.c cib_native_opaque_t *native = NULL; native 435 lib/cib/cib_native.c native = cib->variant_opaque; native 436 lib/cib/cib_native.c native->dnotify_fn = dnotify; native 463 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; native 466 lib/cib/cib_native.c *async_id = native->token; native 469 lib/cib/cib_native.c *sync_id = native->token; native 477 lib/cib/cib_native.c cib_native_opaque_t *native = NULL; native 484 lib/cib/cib_native.c native = calloc(1, sizeof(cib_native_opaque_t)); native 486 lib/cib/cib_native.c if (native == NULL) { native 492 lib/cib/cib_native.c cib->variant_opaque = native; native 494 lib/cib/cib_native.c native->ipc = NULL; native 495 lib/cib/cib_native.c native->source = NULL; native 496 lib/cib/cib_native.c native->dnotify_fn = NULL; native 272 lib/fencing/st_client.c stonith_private_t *native = NULL; native 279 lib/fencing/st_client.c native = stonith->st_private; native 280 lib/fencing/st_client.c native->ipc = NULL; native 281 lib/fencing/st_client.c native->source = NULL; native 283 lib/fencing/st_client.c free(native->token); native->token = NULL; native 288 lib/fencing/st_client.c foreach_notify_entry(native, stonith_send_notification, &blob); native 846 lib/fencing/st_client.c stonith_private_t *native = stonith->st_private; native 850 lib/fencing/st_client.c if (native->source != NULL) { native 852 lib/fencing/st_client.c mainloop_del_ipc_client(native->source); native 853 lib/fencing/st_client.c native->source = NULL; native 854 lib/fencing/st_client.c native->ipc = NULL; native 856 lib/fencing/st_client.c } else if (native->ipc) { native 858 lib/fencing/st_client.c crm_ipc_t *ipc = native->ipc; native 860 lib/fencing/st_client.c native->ipc = NULL; native 865 lib/fencing/st_client.c free(native->token); native->token = NULL; native 1096 lib/fencing/st_client.c stonith_private_t *native = NULL; native 1106 lib/fencing/st_client.c native = stonith->st_private; native 1107 lib/fencing/st_client.c pcmk__assert(native != NULL); native 1115 lib/fencing/st_client.c native->ipc = crm_ipc_new("stonith-ng", 0); native 1116 lib/fencing/st_client.c if (native->ipc != NULL) { native 1117 lib/fencing/st_client.c rc = pcmk__connect_generic_ipc(native->ipc); native 1119 lib/fencing/st_client.c rc = pcmk__ipc_fd(native->ipc, stonith_fd); native 1126 lib/fencing/st_client.c crm_ipc_close(native->ipc); native 1127 lib/fencing/st_client.c crm_ipc_destroy(native->ipc); native 1128 lib/fencing/st_client.c native->ipc = NULL; native 1134 lib/fencing/st_client.c native->source = native 1136 lib/fencing/st_client.c native->ipc = mainloop_get_ipc_client(native->source); native 1139 lib/fencing/st_client.c if (native->ipc == NULL) { native 1148 lib/fencing/st_client.c rc = crm_ipc_send(native->ipc, hello, crm_ipc_client_response, -1, &reply); native 1162 lib/fencing/st_client.c native->token = crm_element_value_copy(reply, PCMK__XA_ST_CLIENTID); native 1169 lib/fencing/st_client.c } else if (native->token == NULL) { native 1176 lib/fencing/st_client.c display_name, native->token); native 1198 lib/fencing/st_client.c stonith_private_t *native = stonith->st_private; native 1209 lib/fencing/st_client.c rc = crm_ipc_send(native->ipc, notify_msg, crm_ipc_client_response, -1, NULL); native 1555 lib/fencing/st_client.c stonith_private_t *native = NULL; native 1559 lib/fencing/st_client.c native = stonith->st_private; native 1565 lib/fencing/st_client.c if ((stonith->state == stonith_disconnected) || (native->token == NULL)) { native 1578 lib/fencing/st_client.c op_msg = stonith_create_op(stonith->call_id, native->token, op, data, call_options); native 1601 lib/fencing/st_client.c rc = crm_ipc_send(native->ipc, op_msg, ipc_flags, native 1655 lib/fencing/st_client.c if (!crm_ipc_connected(native->ipc)) { native 1657 lib/fencing/st_client.c free(native->token); native->token = NULL; native 278 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 285 lib/lrmd/lrmd_client.c } else if (!native->callback) { native 291 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; native 356 lib/lrmd/lrmd_client.c native->callback(&event); native 369 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 371 lib/lrmd/lrmd_client.c if (native->callback != NULL) { native 390 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 392 lib/lrmd/lrmd_client.c return (native->remote->tls_session != NULL); native 398 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 405 lib/lrmd/lrmd_client.c if (native->expected_late_replies > 0) { native 406 lib/lrmd/lrmd_client.c native->expected_late_replies--; native 419 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 421 lib/lrmd/lrmd_client.c if (native->pending_notify == NULL) { native 426 lib/lrmd/lrmd_client.c g_list_foreach(native->pending_notify, lrmd_dispatch_internal, lrmd); native 427 lib/lrmd/lrmd_client.c g_list_free_full(native->pending_notify, lrmd_free_xml); native 428 lib/lrmd/lrmd_client.c native->pending_notify = NULL; native 446 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 463 lib/lrmd/lrmd_client.c rc = pcmk__remote_ready(native->remote, 0); native 465 lib/lrmd/lrmd_client.c rc = pcmk__read_remote_message(native->remote, -1); native 470 lib/lrmd/lrmd_client.c (native->remote_nodename? native->remote_nodename : "local")); native 478 lib/lrmd/lrmd_client.c xml = pcmk__remote_message_xml(native->remote); native 494 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 496 lib/lrmd/lrmd_client.c switch (native->type) { native 498 lib/lrmd/lrmd_client.c return crm_ipc_ready(native->ipc); native 502 lib/lrmd/lrmd_client.c if (native->pending_notify) { native 505 lib/lrmd/lrmd_client.c int rc = pcmk__remote_ready(native->remote, 0); native 519 lib/lrmd/lrmd_client.c native->type); native 590 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 592 lib/lrmd/lrmd_client.c switch (native->type) { native 599 lib/lrmd/lrmd_client.c native->remote_nodename); native 604 lib/lrmd/lrmd_client.c native->type); native 608 lib/lrmd/lrmd_client.c native->ipc = NULL; native 609 lib/lrmd/lrmd_client.c native->source = NULL; native 611 lib/lrmd/lrmd_client.c if (native->callback) { native 614 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; native 615 lib/lrmd/lrmd_client.c native->callback(&event); native 624 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 628 lib/lrmd/lrmd_client.c if (native->remote->tls_session) { native 629 lib/lrmd/lrmd_client.c gnutls_bye(*native->remote->tls_session, GNUTLS_SHUT_RDWR); native 630 lib/lrmd/lrmd_client.c gnutls_deinit(*native->remote->tls_session); native 631 lib/lrmd/lrmd_client.c gnutls_free(native->remote->tls_session); native 632 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; native 634 lib/lrmd/lrmd_client.c if (native->psk_cred_c) { native 635 lib/lrmd/lrmd_client.c gnutls_psk_free_client_credentials(native->psk_cred_c); native 637 lib/lrmd/lrmd_client.c if (native->sock) { native 638 lib/lrmd/lrmd_client.c close(native->sock); native 640 lib/lrmd/lrmd_client.c if (native->process_notify) { native 641 lib/lrmd/lrmd_client.c mainloop_destroy_trigger(native->process_notify); native 642 lib/lrmd/lrmd_client.c native->process_notify = NULL; native 644 lib/lrmd/lrmd_client.c if (native->pending_notify) { native 645 lib/lrmd/lrmd_client.c g_list_free_full(native->pending_notify, lrmd_free_xml); native 646 lib/lrmd/lrmd_client.c native->pending_notify = NULL; native 648 lib/lrmd/lrmd_client.c if (native->handshake_trigger != NULL) { native 649 lib/lrmd/lrmd_client.c mainloop_destroy_trigger(native->handshake_trigger); native 650 lib/lrmd/lrmd_client.c native->handshake_trigger = NULL; native 653 lib/lrmd/lrmd_client.c free(native->remote->buffer); native 654 lib/lrmd/lrmd_client.c free(native->remote->start_state); native 655 lib/lrmd/lrmd_client.c native->remote->buffer = NULL; native 656 lib/lrmd/lrmd_client.c native->remote->start_state = NULL; native 657 lib/lrmd/lrmd_client.c native->source = 0; native 658 lib/lrmd/lrmd_client.c native->sock = 0; native 659 lib/lrmd/lrmd_client.c native->psk_cred_c = NULL; native 660 lib/lrmd/lrmd_client.c native->sock = 0; native 662 lib/lrmd/lrmd_client.c if (native->callback) { native 664 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; native 666 lib/lrmd/lrmd_client.c native->callback(&event); native 686 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 701 lib/lrmd/lrmd_client.c *reply = pcmk__remote_message_xml(native->remote); native 713 lib/lrmd/lrmd_client.c rc = pcmk__read_remote_message(native->remote, remaining_timeout); native 718 lib/lrmd/lrmd_client.c *reply = pcmk__remote_message_xml(native->remote); native 734 lib/lrmd/lrmd_client.c native->pending_notify = g_list_append(native->pending_notify, *reply); native 735 lib/lrmd/lrmd_client.c if (native->process_notify) { native 737 lib/lrmd/lrmd_client.c mainloop_set_trigger(native->process_notify); native 746 lib/lrmd/lrmd_client.c if (native->expected_late_replies > 0) { native 747 lib/lrmd/lrmd_client.c native->expected_late_replies--; native 756 lib/lrmd/lrmd_client.c if (native->remote->buffer && native->process_notify) { native 757 lib/lrmd/lrmd_client.c mainloop_set_trigger(native->process_notify); native 768 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 775 lib/lrmd/lrmd_client.c rc = lrmd__remote_send_xml(native->remote, msg, global_remote_msg_id, native 822 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 824 lib/lrmd/lrmd_client.c switch (native->type) { native 826 lib/lrmd/lrmd_client.c rc = crm_ipc_send(native->ipc, msg, crm_ipc_client_response, timeout, reply); native 835 lib/lrmd/lrmd_client.c native->type); native 846 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 848 lib/lrmd/lrmd_client.c switch (native->type) { native 850 lib/lrmd/lrmd_client.c rc = crm_ipc_send(native->ipc, msg, crm_ipc_flags_none, 0, NULL); native 859 lib/lrmd/lrmd_client.c native->expected_late_replies++; native 866 lib/lrmd/lrmd_client.c native->type); native 876 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 878 lib/lrmd/lrmd_client.c switch (native->type) { native 880 lib/lrmd/lrmd_client.c return crm_ipc_connected(native->ipc); native 887 lib/lrmd/lrmd_client.c native->type); native 916 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 929 lib/lrmd/lrmd_client.c CRM_CHECK(native->token != NULL,; native 933 lib/lrmd/lrmd_client.c op_msg = lrmd_create_op(native->token, op, data, timeout, options); native 983 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 988 lib/lrmd/lrmd_client.c (native->type == pcmk__client_ipc)); native 1000 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1007 lib/lrmd/lrmd_client.c (stonith__watchdog_fencing_enabled_for_node(native->remote_nodename))) { native 1012 lib/lrmd/lrmd_client.c (native->type == pcmk__client_ipc)); native 1021 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1031 lib/lrmd/lrmd_client.c if (native->proxy_callback) { native 1060 lib/lrmd/lrmd_client.c native->remote->uptime = uptime; native 1063 lib/lrmd/lrmd_client.c native->remote->start_state = strdup(start_state); native 1081 lib/lrmd/lrmd_client.c native->token = strdup(tmp_ticket); native 1082 lib/lrmd/lrmd_client.c native->peer_version = strdup(version?version:"1.0"); /* Included since 1.1 */ native 1100 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1111 lib/lrmd/lrmd_client.c native->ipc = crm_ipc_new(CRM_SYSTEM_LRMD, 0); native 1112 lib/lrmd/lrmd_client.c if (native->ipc != NULL) { native 1113 lib/lrmd/lrmd_client.c rc = pcmk__connect_generic_ipc(native->ipc); native 1115 lib/lrmd/lrmd_client.c rc = pcmk__ipc_fd(native->ipc, fd); native 1123 lib/lrmd/lrmd_client.c native->source = mainloop_add_ipc_client(CRM_SYSTEM_LRMD, G_PRIORITY_HIGH, 0, lrmd, &lrmd_callbacks); native 1124 lib/lrmd/lrmd_client.c native->ipc = mainloop_get_ipc_client(native->source); native 1127 lib/lrmd/lrmd_client.c if (native->ipc == NULL) { native 1419 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1423 lib/lrmd/lrmd_client.c native->server, native->port, native 1427 lib/lrmd/lrmd_client.c gnutls_deinit(*native->remote->tls_session); native 1428 lib/lrmd/lrmd_client.c gnutls_free(native->remote->tls_session); native 1429 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; native 1437 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1440 lib/lrmd/lrmd_client.c native->server, native->port); native 1449 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1451 lib/lrmd/lrmd_client.c if (native->callback) { native 1454 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; native 1456 lib/lrmd/lrmd_client.c native->callback(&event); native 1472 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1474 lib/lrmd/lrmd_client.c int rc = pcmk__tls_client_handshake(native->remote, TLS_HANDSHAKE_TIMEOUT, native 1496 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1500 lib/lrmd/lrmd_client.c native->server, native->port); native 1507 lib/lrmd/lrmd_client.c native->process_notify = mainloop_add_trigger(G_PRIORITY_HIGH, native 1509 lib/lrmd/lrmd_client.c native->source = mainloop_add_fd(name, G_PRIORITY_HIGH, native->sock, lrmd, native 1537 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1538 lib/lrmd/lrmd_client.c pcmk__remote_t *remote = native->remote; native 1558 lib/lrmd/lrmd_client.c mainloop_set_trigger(native->handshake_trigger); native 1572 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1576 lib/lrmd/lrmd_client.c native->async_timer = 0; native 1582 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); native 1589 lib/lrmd/lrmd_client.c native->sock = sock; native 1595 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); native 1601 lib/lrmd/lrmd_client.c gnutls_psk_allocate_client_credentials(&native->psk_cred_c); native 1602 lib/lrmd/lrmd_client.c gnutls_psk_set_client_credentials(native->psk_cred_c, DEFAULT_REMOTE_USERNAME, &psk_key, GNUTLS_PSK_KEY_RAW); native 1605 lib/lrmd/lrmd_client.c native->remote->tls_session = pcmk__new_tls_session(sock, GNUTLS_CLIENT, native 1607 lib/lrmd/lrmd_client.c native->psk_cred_c); native 1608 lib/lrmd/lrmd_client.c if (native->remote->tls_session == NULL) { native 1618 lib/lrmd/lrmd_client.c rc = pcmk__tls_client_try_handshake(native->remote, &tls_rc); native 1622 lib/lrmd/lrmd_client.c if (native->handshake_trigger != NULL) { native 1631 lib/lrmd/lrmd_client.c native->handshake_trigger = mainloop_add_trigger(G_PRIORITY_LOW, try_handshake_cb, hs); native 1632 lib/lrmd/lrmd_client.c mainloop_set_trigger(native->handshake_trigger); native 1647 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1650 lib/lrmd/lrmd_client.c native->sock = -1; native 1651 lib/lrmd/lrmd_client.c rc = pcmk__connect_remote(native->server, native->port, timeout, &timer_id, native 1652 lib/lrmd/lrmd_client.c &(native->sock), lrmd, lrmd_tcp_connect_cb); native 1656 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); native 1659 lib/lrmd/lrmd_client.c native->async_timer = timer_id; native 1668 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1673 lib/lrmd/lrmd_client.c native->sock = -1; native 1674 lib/lrmd/lrmd_client.c rc = pcmk__connect_remote(native->server, native->port, 0, NULL, native 1675 lib/lrmd/lrmd_client.c &(native->sock), NULL, NULL); native 1679 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); native 1690 lib/lrmd/lrmd_client.c gnutls_psk_allocate_client_credentials(&native->psk_cred_c); native 1691 lib/lrmd/lrmd_client.c gnutls_psk_set_client_credentials(native->psk_cred_c, DEFAULT_REMOTE_USERNAME, &psk_key, GNUTLS_PSK_KEY_RAW); native 1694 lib/lrmd/lrmd_client.c native->remote->tls_session = pcmk__new_tls_session(native->sock, GNUTLS_CLIENT, native 1696 lib/lrmd/lrmd_client.c native->psk_cred_c); native 1697 lib/lrmd/lrmd_client.c if (native->remote->tls_session == NULL) { native 1706 lib/lrmd/lrmd_client.c crm_info("Client TLS connection established with Pacemaker Remote server %s:%d", native->server, native 1707 lib/lrmd/lrmd_client.c native->port); native 1710 lib/lrmd/lrmd_client.c *fd = native->sock; native 1722 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1724 lib/lrmd/lrmd_client.c switch (native->type) { native 1737 lib/lrmd/lrmd_client.c native->type); native 1752 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1754 lib/lrmd/lrmd_client.c CRM_CHECK(native && native->callback, return -EINVAL); native 1756 lib/lrmd/lrmd_client.c switch (native->type) { native 1772 lib/lrmd/lrmd_client.c native->type); native 1782 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1784 lib/lrmd/lrmd_client.c if (native->source != NULL) { native 1786 lib/lrmd/lrmd_client.c mainloop_del_ipc_client(native->source); native 1787 lib/lrmd/lrmd_client.c native->source = NULL; native 1788 lib/lrmd/lrmd_client.c native->ipc = NULL; native 1790 lib/lrmd/lrmd_client.c } else if (native->ipc) { native 1792 lib/lrmd/lrmd_client.c crm_ipc_t *ipc = native->ipc; native 1794 lib/lrmd/lrmd_client.c native->ipc = NULL; native 1804 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1806 lib/lrmd/lrmd_client.c if (native->remote->tls_session) { native 1807 lib/lrmd/lrmd_client.c gnutls_bye(*native->remote->tls_session, GNUTLS_SHUT_RDWR); native 1808 lib/lrmd/lrmd_client.c gnutls_deinit(*native->remote->tls_session); native 1809 lib/lrmd/lrmd_client.c gnutls_free(native->remote->tls_session); native 1810 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; native 1813 lib/lrmd/lrmd_client.c if (native->async_timer) { native 1814 lib/lrmd/lrmd_client.c g_source_remove(native->async_timer); native 1815 lib/lrmd/lrmd_client.c native->async_timer = 0; native 1818 lib/lrmd/lrmd_client.c if (native->source != NULL) { native 1820 lib/lrmd/lrmd_client.c mainloop_del_ipc_client(native->source); native 1821 lib/lrmd/lrmd_client.c native->source = NULL; native 1823 lib/lrmd/lrmd_client.c } else if (native->sock) { native 1824 lib/lrmd/lrmd_client.c close(native->sock); native 1825 lib/lrmd/lrmd_client.c native->sock = 0; native 1828 lib/lrmd/lrmd_client.c if (native->pending_notify) { native 1829 lib/lrmd/lrmd_client.c g_list_free_full(native->pending_notify, lrmd_free_xml); native 1830 lib/lrmd/lrmd_client.c native->pending_notify = NULL; native 1838 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 1841 lib/lrmd/lrmd_client.c switch (native->type) { native 1849 lib/lrmd/lrmd_client.c native->remote_nodename); native 1855 lib/lrmd/lrmd_client.c native->type); native 1859 lib/lrmd/lrmd_client.c free(native->token); native 1860 lib/lrmd/lrmd_client.c native->token = NULL; native 1862 lib/lrmd/lrmd_client.c free(native->peer_version); native 1863 lib/lrmd/lrmd_client.c native->peer_version = NULL; native 2062 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 2064 lib/lrmd/lrmd_client.c native->callback = callback; native 2070 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 2072 lib/lrmd/lrmd_client.c native->proxy_callback = callback; native 2073 lib/lrmd/lrmd_client.c native->proxy_callback_userdata = userdata; native 2079 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 2081 lib/lrmd/lrmd_client.c if (native->proxy_callback) { native 2083 lib/lrmd/lrmd_client.c native->proxy_callback(lrmd, native->proxy_callback_userdata, msg); native 2526 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 2529 lib/lrmd/lrmd_client.c free(native->server); native 2531 lib/lrmd/lrmd_client.c free(native->remote_nodename); native 2532 lib/lrmd/lrmd_client.c free(native->remote); native 2533 lib/lrmd/lrmd_client.c free(native->token); native 2534 lib/lrmd/lrmd_client.c free(native->peer_version); native 2714 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 2716 lib/lrmd/lrmd_client.c if (native->remote == NULL) { native 2719 lib/lrmd/lrmd_client.c return native->remote->uptime; native 2726 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; native 2728 lib/lrmd/lrmd_client.c if (native->remote == NULL) { native 2731 lib/lrmd/lrmd_client.c return native->remote->start_state;