native 61 lib/cib/cib_native.c cib_native_opaque_t *native = NULL; native 64 lib/cib/cib_native.c native = calloc(1, sizeof(cib_native_opaque_t)); native 67 lib/cib/cib_native.c cib->variant_opaque = native; native 69 lib/cib/cib_native.c native->ipc = NULL; native 70 lib/cib/cib_native.c native->source = NULL; native 71 lib/cib/cib_native.c native->dnotify_fn = NULL; native 137 lib/cib/cib_native.c cib_native_opaque_t *native; native 145 lib/cib/cib_native.c native = cib->variant_opaque; native 146 lib/cib/cib_native.c while (crm_ipc_ready(native->ipc)) { native 148 lib/cib/cib_native.c if (crm_ipc_read(native->ipc) > 0) { native 149 lib/cib/cib_native.c const char *msg = crm_ipc_buffer(native->ipc); native 154 lib/cib/cib_native.c if (crm_ipc_connected(native->ipc) == FALSE) { native 167 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; native 171 lib/cib/cib_native.c native->source = NULL; native 172 lib/cib/cib_native.c native->ipc = NULL; native 174 lib/cib/cib_native.c if (native->dnotify_fn) { native 175 lib/cib/cib_native.c native->dnotify_fn(userdata); native 184 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; native 212 lib/cib/cib_native.c native->ipc = crm_ipc_new(channel, 0); native 214 lib/cib/cib_native.c if (native->ipc && crm_ipc_connect(native->ipc)) { native 215 lib/cib/cib_native.c *async_fd = crm_ipc_get_fd(native->ipc); native 217 lib/cib/cib_native.c } else if (native->ipc) { native 223 lib/cib/cib_native.c native->source = native 226 lib/cib/cib_native.c native->ipc = mainloop_get_ipc_client(native->source); native 229 lib/cib/cib_native.c if (rc != pcmk_ok || native->ipc == NULL || crm_ipc_connected(native->ipc) == FALSE) { native 230 lib/cib/cib_native.c crm_debug("Connection unsuccessful (%d %p)", rc, native->ipc); native 243 lib/cib/cib_native.c if (crm_ipc_send(native->ipc, hello, crm_ipc_client_response, -1, &reply) > 0) { native 254 lib/cib/cib_native.c native->token = crm_element_value_copy(reply, F_CIB_CLIENTID); native 255 lib/cib/cib_native.c if (native->token == NULL) { native 281 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; native 285 lib/cib/cib_native.c if (native->source != NULL) { native 287 lib/cib/cib_native.c mainloop_del_ipc_client(native->source); native 288 lib/cib/cib_native.c native->source = NULL; native 289 lib/cib/cib_native.c native->ipc = NULL; native 291 lib/cib/cib_native.c } else if (native->ipc) { native 293 lib/cib/cib_native.c crm_ipc_t *ipc = native->ipc; native 295 lib/cib/cib_native.c native->ipc = NULL; native 316 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; native 318 lib/cib/cib_native.c free(native->token); native 347 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; native 375 lib/cib/cib_native.c CRM_CHECK(native->token != NULL,; native 378 lib/cib/cib_native.c cib_create_op(cib->call_id, native->token, op, host, section, data, call_options, native 385 lib/cib/cib_native.c rc = crm_ipc_send(native->ipc, op_msg, ipc_flags, cib->call_timeout * 1000, &op_reply); native 467 lib/cib/cib_native.c if (crm_ipc_connected(native->ipc) == FALSE) { native 479 lib/cib/cib_native.c cib_native_opaque_t *native = NULL; native 486 lib/cib/cib_native.c native = cib->variant_opaque; native 487 lib/cib/cib_native.c native->dnotify_fn = dnotify; native 497 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; native 503 lib/cib/cib_native.c rc = crm_ipc_send(native->ipc, notify_msg, crm_ipc_client_response, native 185 lib/fencing/st_client.c stonith_private_t *native = NULL; native 192 lib/fencing/st_client.c native = stonith->private; native 193 lib/fencing/st_client.c native->ipc = NULL; native 194 lib/fencing/st_client.c native->source = NULL; native 200 lib/fencing/st_client.c g_list_foreach(native->notify_list, stonith_send_notification, &blob); native 1708 lib/fencing/st_client.c stonith_private_t *native = stonith->private; native 1712 lib/fencing/st_client.c if (native->source != NULL) { native 1714 lib/fencing/st_client.c mainloop_del_ipc_client(native->source); native 1715 lib/fencing/st_client.c native->source = NULL; native 1716 lib/fencing/st_client.c native->ipc = NULL; native 1718 lib/fencing/st_client.c } else if (native->ipc) { native 1720 lib/fencing/st_client.c crm_ipc_t *ipc = native->ipc; native 1722 lib/fencing/st_client.c native->ipc = NULL; native 1727 lib/fencing/st_client.c free(native->token); native->token = NULL; native 1736 lib/fencing/st_client.c stonith_private_t *native = stonith->private; native 1748 lib/fencing/st_client.c native->ipc = crm_ipc_new("stonith-ng", 0); native 1750 lib/fencing/st_client.c if (native->ipc && crm_ipc_connect(native->ipc)) { native 1751 lib/fencing/st_client.c *stonith_fd = crm_ipc_get_fd(native->ipc); native 1752 lib/fencing/st_client.c } else if (native->ipc) { native 1759 lib/fencing/st_client.c native->source = native 1761 lib/fencing/st_client.c native->ipc = mainloop_get_ipc_client(native->source); native 1764 lib/fencing/st_client.c if (native->ipc == NULL) { native 1776 lib/fencing/st_client.c rc = crm_ipc_send(native->ipc, hello, crm_ipc_client_response, -1, &reply); native 1802 lib/fencing/st_client.c native->token = strdup(tmp_ticket); native 1829 lib/fencing/st_client.c stonith_private_t *native = stonith->private; native 1840 lib/fencing/st_client.c rc = crm_ipc_send(native->ipc, notify_msg, crm_ipc_client_response, -1, NULL); native 2240 lib/fencing/st_client.c stonith_private_t *native = stonith->private; native 2268 lib/fencing/st_client.c CRM_CHECK(native->token != NULL,; native 2270 lib/fencing/st_client.c op_msg = stonith_create_op(stonith->call_id, native->token, op, data, call_options); native 2278 lib/fencing/st_client.c rc = crm_ipc_send(native->ipc, op_msg, ipc_flags, 1000 * (timeout + 60), &op_reply); native 2329 lib/fencing/st_client.c if (crm_ipc_connected(native->ipc) == FALSE) { native 237 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 244 lib/lrmd/lrmd_client.c } else if (!native->callback) { native 250 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; native 288 lib/lrmd/lrmd_client.c native->callback(&event); native 300 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 304 lib/lrmd/lrmd_client.c if (!native->callback) { native 325 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 327 lib/lrmd/lrmd_client.c if (native->remote->tls_session) { native 338 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 352 lib/lrmd/lrmd_client.c if (native->pending_notify) { native 356 lib/lrmd/lrmd_client.c for (iter = native->pending_notify; iter; iter = iter->next) { native 359 lib/lrmd/lrmd_client.c g_list_free_full(native->pending_notify, lrmd_free_xml); native 360 lib/lrmd/lrmd_client.c native->pending_notify = NULL; native 364 lib/lrmd/lrmd_client.c rc = crm_remote_ready(native->remote, 0); native 367 lib/lrmd/lrmd_client.c xml = crm_remote_parse_buffer(native->remote); native 371 lib/lrmd/lrmd_client.c crm_remote_recv(native->remote, -1, &disconnected); native 372 lib/lrmd/lrmd_client.c xml = crm_remote_parse_buffer(native->remote); native 379 lib/lrmd/lrmd_client.c if (native->expected_late_replies > 0) { native 380 lib/lrmd/lrmd_client.c native->expected_late_replies--; native 389 lib/lrmd/lrmd_client.c xml = crm_remote_parse_buffer(native->remote); native 405 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 407 lib/lrmd/lrmd_client.c switch (native->type) { native 409 lib/lrmd/lrmd_client.c return crm_ipc_ready(native->ipc); native 413 lib/lrmd/lrmd_client.c if (native->pending_notify) { native 417 lib/lrmd/lrmd_client.c return crm_remote_ready(native->remote, 0); native 420 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); native 491 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 496 lib/lrmd/lrmd_client.c native->ipc = NULL; native 497 lib/lrmd/lrmd_client.c native->source = NULL; native 499 lib/lrmd/lrmd_client.c if (native->callback) { native 502 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; native 503 lib/lrmd/lrmd_client.c native->callback(&event); native 512 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 516 lib/lrmd/lrmd_client.c if (native->remote->tls_session) { native 517 lib/lrmd/lrmd_client.c gnutls_bye(*native->remote->tls_session, GNUTLS_SHUT_RDWR); native 518 lib/lrmd/lrmd_client.c gnutls_deinit(*native->remote->tls_session); native 519 lib/lrmd/lrmd_client.c gnutls_free(native->remote->tls_session); native 521 lib/lrmd/lrmd_client.c if (native->psk_cred_c) { native 522 lib/lrmd/lrmd_client.c gnutls_psk_free_client_credentials(native->psk_cred_c); native 524 lib/lrmd/lrmd_client.c if (native->sock) { native 525 lib/lrmd/lrmd_client.c close(native->sock); native 527 lib/lrmd/lrmd_client.c if (native->process_notify) { native 528 lib/lrmd/lrmd_client.c mainloop_destroy_trigger(native->process_notify); native 529 lib/lrmd/lrmd_client.c native->process_notify = NULL; native 531 lib/lrmd/lrmd_client.c if (native->pending_notify) { native 532 lib/lrmd/lrmd_client.c g_list_free_full(native->pending_notify, lrmd_free_xml); native 533 lib/lrmd/lrmd_client.c native->pending_notify = NULL; native 536 lib/lrmd/lrmd_client.c free(native->remote->buffer); native 537 lib/lrmd/lrmd_client.c native->remote->buffer = NULL; native 538 lib/lrmd/lrmd_client.c native->source = 0; native 539 lib/lrmd/lrmd_client.c native->sock = 0; native 540 lib/lrmd/lrmd_client.c native->psk_cred_c = NULL; native 541 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; native 542 lib/lrmd/lrmd_client.c native->sock = 0; native 544 lib/lrmd/lrmd_client.c if (native->callback) { native 546 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; native 548 lib/lrmd/lrmd_client.c native->callback(&event); native 564 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 579 lib/lrmd/lrmd_client.c xml = crm_remote_parse_buffer(native->remote); native 593 lib/lrmd/lrmd_client.c crm_remote_recv(native->remote, remaining_timeout, disconnected); native 594 lib/lrmd/lrmd_client.c xml = crm_remote_parse_buffer(native->remote); native 616 lib/lrmd/lrmd_client.c native->pending_notify = g_list_append(native->pending_notify, xml); native 617 lib/lrmd/lrmd_client.c if (native->process_notify) { native 619 lib/lrmd/lrmd_client.c mainloop_set_trigger(native->process_notify); native 628 lib/lrmd/lrmd_client.c if (native->expected_late_replies > 0) { native 629 lib/lrmd/lrmd_client.c native->expected_late_replies--; native 638 lib/lrmd/lrmd_client.c if (native->remote->buffer && native->process_notify) { native 639 lib/lrmd/lrmd_client.c mainloop_set_trigger(native->process_notify); native 649 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 656 lib/lrmd/lrmd_client.c rc = lrmd_tls_send_msg(native->remote, msg, global_remote_msg_id, "request"); native 708 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 710 lib/lrmd/lrmd_client.c switch (native->type) { native 712 lib/lrmd/lrmd_client.c rc = crm_ipc_send(native->ipc, msg, crm_ipc_client_response, timeout, reply); native 720 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); native 730 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 732 lib/lrmd/lrmd_client.c switch (native->type) { native 734 lib/lrmd/lrmd_client.c rc = crm_ipc_send(native->ipc, msg, crm_ipc_flags_none, 0, NULL); native 743 lib/lrmd/lrmd_client.c native->expected_late_replies++; native 748 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); native 757 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 759 lib/lrmd/lrmd_client.c switch (native->type) { native 761 lib/lrmd/lrmd_client.c return crm_ipc_connected(native->ipc); native 769 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); native 797 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 810 lib/lrmd/lrmd_client.c CRM_CHECK(native->token != NULL,; native 814 lib/lrmd/lrmd_client.c op_msg = lrmd_create_op(native->token, op, data, timeout, options); native 865 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 869 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_POKE, data, NULL, 0, 0, native->type == CRM_CLIENT_IPC ? TRUE : FALSE); native 880 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 888 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_CHECK, data, NULL, 0, 0, native->type == CRM_CLIENT_IPC ? TRUE : FALSE); native 898 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 908 lib/lrmd/lrmd_client.c if (native->proxy_callback) { native 942 lib/lrmd/lrmd_client.c native->token = strdup(tmp_ticket); native 943 lib/lrmd/lrmd_client.c native->peer_version = strdup(version?version:"1.0"); /* Included since 1.1 */ native 961 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 972 lib/lrmd/lrmd_client.c native->ipc = crm_ipc_new(CRM_SYSTEM_LRMD, 0); native 973 lib/lrmd/lrmd_client.c if (native->ipc && crm_ipc_connect(native->ipc)) { native 974 lib/lrmd/lrmd_client.c *fd = crm_ipc_get_fd(native->ipc); native 975 lib/lrmd/lrmd_client.c } else if (native->ipc) { native 980 lib/lrmd/lrmd_client.c native->source = mainloop_add_ipc_client(CRM_SYSTEM_LRMD, G_PRIORITY_HIGH, 0, lrmd, &lrmd_callbacks); native 981 lib/lrmd/lrmd_client.c native->ipc = mainloop_get_ipc_client(native->source); native 984 lib/lrmd/lrmd_client.c if (native->ipc == NULL) { native 1105 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 1107 lib/lrmd/lrmd_client.c if (native->callback) { native 1110 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; native 1112 lib/lrmd/lrmd_client.c native->callback(&event); native 1121 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 1130 lib/lrmd/lrmd_client.c native->async_timer = 0; native 1135 lib/lrmd/lrmd_client.c native->server, native->port); native 1144 lib/lrmd/lrmd_client.c native->sock = sock; native 1149 lib/lrmd/lrmd_client.c native->server, native->port, rc); native 1155 lib/lrmd/lrmd_client.c gnutls_psk_allocate_client_credentials(&native->psk_cred_c); native 1156 lib/lrmd/lrmd_client.c gnutls_psk_set_client_credentials(native->psk_cred_c, DEFAULT_REMOTE_USERNAME, &psk_key, GNUTLS_PSK_KEY_RAW); native 1159 lib/lrmd/lrmd_client.c native->remote->tls_session = create_psk_tls_session(sock, GNUTLS_CLIENT, native->psk_cred_c); native 1161 lib/lrmd/lrmd_client.c if (crm_initiate_client_tls_handshake(native->remote, LRMD_CLIENT_HANDSHAKE_TIMEOUT) != 0) { native 1163 lib/lrmd/lrmd_client.c native->server, native->port); native 1164 lib/lrmd/lrmd_client.c gnutls_deinit(*native->remote->tls_session); native 1165 lib/lrmd/lrmd_client.c gnutls_free(native->remote->tls_session); native 1166 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; native 1173 lib/lrmd/lrmd_client.c native->server, native->port); native 1175 lib/lrmd/lrmd_client.c name = crm_strdup_printf("remote-lrmd-%s:%d", native->server, native->port); native 1177 lib/lrmd/lrmd_client.c native->process_notify = mainloop_add_trigger(G_PRIORITY_HIGH, lrmd_tls_dispatch, lrmd); native 1178 lib/lrmd/lrmd_client.c native->source = native 1179 lib/lrmd/lrmd_client.c mainloop_add_fd(name, G_PRIORITY_HIGH, native->sock, lrmd, &lrmd_tls_callbacks); native 1193 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 1196 lib/lrmd/lrmd_client.c sock = crm_remote_tcp_connect_async(native->server, native->port, timeout, native 1201 lib/lrmd/lrmd_client.c native->sock = sock; native 1202 lib/lrmd/lrmd_client.c native->async_timer = timer_id; native 1215 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 1221 lib/lrmd/lrmd_client.c sock = crm_remote_tcp_connect(native->server, native->port); native 1223 lib/lrmd/lrmd_client.c crm_warn("Could not establish remote lrmd connection to %s", native->server); native 1228 lib/lrmd/lrmd_client.c native->sock = sock; native 1236 lib/lrmd/lrmd_client.c gnutls_psk_allocate_client_credentials(&native->psk_cred_c); native 1237 lib/lrmd/lrmd_client.c gnutls_psk_set_client_credentials(native->psk_cred_c, DEFAULT_REMOTE_USERNAME, &psk_key, GNUTLS_PSK_KEY_RAW); native 1240 lib/lrmd/lrmd_client.c native->remote->tls_session = create_psk_tls_session(sock, GNUTLS_CLIENT, native->psk_cred_c); native 1242 lib/lrmd/lrmd_client.c if (crm_initiate_client_tls_handshake(native->remote, LRMD_CLIENT_HANDSHAKE_TIMEOUT) != 0) { native 1243 lib/lrmd/lrmd_client.c crm_err("Session creation for %s:%d failed", native->server, native->port); native 1244 lib/lrmd/lrmd_client.c gnutls_deinit(*native->remote->tls_session); native 1245 lib/lrmd/lrmd_client.c gnutls_free(native->remote->tls_session); native 1246 lib/lrmd/lrmd_client.c native->remote->tls_session = NULL; native 1251 lib/lrmd/lrmd_client.c crm_info("Remote lrmd client TLS connection established with server %s:%d", native->server, native 1252 lib/lrmd/lrmd_client.c native->port); native 1258 lib/lrmd/lrmd_client.c native->server, native->port); native 1260 lib/lrmd/lrmd_client.c native->process_notify = mainloop_add_trigger(G_PRIORITY_HIGH, lrmd_tls_dispatch, lrmd); native 1261 lib/lrmd/lrmd_client.c native->source = native 1262 lib/lrmd/lrmd_client.c mainloop_add_fd(name, G_PRIORITY_HIGH, native->sock, lrmd, &lrmd_tls_callbacks); native 1273 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 1275 lib/lrmd/lrmd_client.c switch (native->type) { native 1285 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); native 1299 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 1301 lib/lrmd/lrmd_client.c if (!native->callback) { native 1306 lib/lrmd/lrmd_client.c switch (native->type) { native 1325 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); native 1334 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 1336 lib/lrmd/lrmd_client.c if (native->source != NULL) { native 1338 lib/lrmd/lrmd_client.c mainloop_del_ipc_client(native->source); native 1339 lib/lrmd/lrmd_client.c native->source = NULL; native 1340 lib/lrmd/lrmd_client.c native->ipc = NULL; native 1342 lib/lrmd/lrmd_client.c } else if (native->ipc) { native 1344 lib/lrmd/lrmd_client.c crm_ipc_t *ipc = native->ipc; native 1346 lib/lrmd/lrmd_client.c native->ipc = NULL; native 1356 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 1358 lib/lrmd/lrmd_client.c if (native->remote->tls_session) { native 1359 lib/lrmd/lrmd_client.c gnutls_bye(*native->remote->tls_session, GNUTLS_SHUT_RDWR); native 1360 lib/lrmd/lrmd_client.c gnutls_deinit(*native->remote->tls_session); native 1361 lib/lrmd/lrmd_client.c gnutls_free(native->remote->tls_session); native 1362 lib/lrmd/lrmd_client.c native->remote->tls_session = 0; native 1365 lib/lrmd/lrmd_client.c if (native->async_timer) { native 1366 lib/lrmd/lrmd_client.c g_source_remove(native->async_timer); native 1367 lib/lrmd/lrmd_client.c native->async_timer = 0; native 1370 lib/lrmd/lrmd_client.c if (native->source != NULL) { native 1372 lib/lrmd/lrmd_client.c mainloop_del_ipc_client(native->source); native 1373 lib/lrmd/lrmd_client.c native->source = NULL; native 1375 lib/lrmd/lrmd_client.c } else if (native->sock) { native 1376 lib/lrmd/lrmd_client.c close(native->sock); native 1377 lib/lrmd/lrmd_client.c native->sock = 0; native 1380 lib/lrmd/lrmd_client.c if (native->pending_notify) { native 1381 lib/lrmd/lrmd_client.c g_list_free_full(native->pending_notify, lrmd_free_xml); native 1382 lib/lrmd/lrmd_client.c native->pending_notify = NULL; native 1390 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 1392 lib/lrmd/lrmd_client.c crm_info("Disconnecting from %d lrmd service", native->type); native 1393 lib/lrmd/lrmd_client.c switch (native->type) { native 1403 lib/lrmd/lrmd_client.c crm_err("Unsupported connection type: %d", native->type); native 1406 lib/lrmd/lrmd_client.c free(native->token); native 1407 lib/lrmd/lrmd_client.c native->token = NULL; native 1409 lib/lrmd/lrmd_client.c free(native->peer_version); native 1410 lib/lrmd/lrmd_client.c native->peer_version = NULL; native 1533 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 1535 lib/lrmd/lrmd_client.c native->callback = callback; native 1541 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 1543 lib/lrmd/lrmd_client.c native->proxy_callback = callback; native 1544 lib/lrmd/lrmd_client.c native->proxy_callback_userdata = userdata; native 1550 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 1552 lib/lrmd/lrmd_client.c if (native->proxy_callback) { native 1554 lib/lrmd/lrmd_client.c native->proxy_callback(lrmd, native->proxy_callback_userdata, msg); native 1859 lib/lrmd/lrmd_client.c lrmd_private_t *native = new_lrmd->private; native 1866 lib/lrmd/lrmd_client.c native->type = CRM_CLIENT_TLS; native 1867 lib/lrmd/lrmd_client.c native->remote_nodename = nodename ? strdup(nodename) : strdup(server); native 1868 lib/lrmd/lrmd_client.c native->server = server ? strdup(server) : strdup(nodename); native 1869 lib/lrmd/lrmd_client.c native->port = port; native 1870 lib/lrmd/lrmd_client.c if (native->port == 0) { native 1871 lib/lrmd/lrmd_client.c native->port = crm_default_remote_port(); native 1891 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->private; native 1894 lib/lrmd/lrmd_client.c free(native->server); native 1896 lib/lrmd/lrmd_client.c free(native->remote_nodename); native 1897 lib/lrmd/lrmd_client.c free(native->remote); native 1898 lib/lrmd/lrmd_client.c free(native->token); native 1899 lib/lrmd/lrmd_client.c free(native->peer_version);