reply 438 daemons/attrd/attrd_commands.c xmlNode *reply = create_xml_node(NULL, __func__); reply 441 daemons/attrd/attrd_commands.c if (reply == NULL) { reply 444 daemons/attrd/attrd_commands.c crm_xml_add(reply, F_TYPE, T_ATTRD); reply 445 daemons/attrd/attrd_commands.c crm_xml_add(reply, PCMK__XA_ATTR_VERSION, ATTRD_PROTOCOL_VERSION); reply 453 daemons/attrd/attrd_commands.c crm_xml_add(reply, PCMK__XA_ATTR_NAME, attr); reply 464 daemons/attrd/attrd_commands.c host_value = create_xml_node(reply, XML_CIB_TAG_NODE); reply 466 daemons/attrd/attrd_commands.c free_xml(reply); reply 479 daemons/attrd/attrd_commands.c host_value = create_xml_node(reply, XML_CIB_TAG_NODE); reply 481 daemons/attrd/attrd_commands.c free_xml(reply); reply 489 daemons/attrd/attrd_commands.c return reply; reply 507 daemons/attrd/attrd_commands.c xmlNode *reply; reply 523 daemons/attrd/attrd_commands.c reply = build_query_reply(attr, crm_element_value(query, reply 525 daemons/attrd/attrd_commands.c if (reply == NULL) { reply 530 daemons/attrd/attrd_commands.c crm_log_xml_trace(reply, "Reply"); reply 535 daemons/attrd/attrd_commands.c int rc = pcmk__ipc_send_xml(client, id, reply, flags); reply 542 daemons/attrd/attrd_commands.c free_xml(reply); reply 57 daemons/based/based_callbacks.c static int cib_process_command(xmlNode *request, xmlNode **reply, reply 303 daemons/based/based_callbacks.c process_ping_reply(xmlNode *reply) reply 306 daemons/based/based_callbacks.c const char *host = crm_element_value(reply, F_ORIG); reply 308 daemons/based/based_callbacks.c xmlNode *pong = get_message_xml(reply, F_CIB_CALLDATA); reply 364 daemons/based/based_callbacks.c sync_our_cib(reply, FALSE); reply 1168 daemons/based/based_callbacks.c cib_process_command(xmlNode * request, xmlNode ** reply, xmlNode ** cib_diff, gboolean privileged) reply 1198 daemons/based/based_callbacks.c *reply = NULL; reply 1362 daemons/based/based_callbacks.c *reply = create_xml_node(NULL, "cib-reply"); reply 1363 daemons/based/based_callbacks.c crm_xml_add(*reply, F_TYPE, T_CIB); reply 1364 daemons/based/based_callbacks.c crm_xml_add(*reply, F_CIB_OPERATION, op); reply 1365 daemons/based/based_callbacks.c crm_xml_add(*reply, F_CIB_CALLID, call_id); reply 1366 daemons/based/based_callbacks.c crm_xml_add(*reply, F_CIB_CLIENTID, caller); reply 1367 daemons/based/based_callbacks.c crm_xml_add_int(*reply, F_CIB_CALLOPTS, call_options); reply 1368 daemons/based/based_callbacks.c crm_xml_add_int(*reply, F_CIB_RC, rc); reply 1372 daemons/based/based_callbacks.c add_message_xml(*reply, F_CIB_CALLDATA, output); reply 1375 daemons/based/based_callbacks.c crm_log_xml_explicit(*reply, "cib:reply"); reply 33 daemons/based/based_common.c extern int cib_perform_command(xmlNode * request, xmlNode ** reply, xmlNode ** cib_diff, reply 562 daemons/based/based_remote.c struct pam_response *reply; reply 568 daemons/based/based_remote.c reply = calloc(1, sizeof(struct pam_response)); reply 569 daemons/based/based_remote.c CRM_ASSERT(reply != NULL); reply 578 daemons/based/based_remote.c reply[count].resp_retcode = 0; reply 579 daemons/based/based_remote.c reply[count].resp = string; /* We already made a copy */ reply 592 daemons/based/based_remote.c *response = reply; reply 593 daemons/based/based_remote.c reply = NULL; reply 599 daemons/based/based_remote.c if (reply[count].resp != NULL) { reply 604 daemons/based/based_remote.c while (*(reply[count].resp)) { reply 605 daemons/based/based_remote.c *(reply[count].resp)++ = '\0'; reply 607 daemons/based/based_remote.c free(reply[count].resp); reply 610 daemons/based/based_remote.c reply[count].resp = NULL; reply 613 daemons/based/based_remote.c free(reply); reply 614 daemons/based/based_remote.c reply = NULL; reply 1557 daemons/controld/controld_execd.c xmlNode *reply = create_request(CRM_OP_INVOKE_LRM, fragment, from_host, reply 1563 daemons/controld/controld_execd.c if (relay_message(reply, TRUE) == FALSE) { reply 1564 daemons/controld/controld_execd.c crm_log_xml_err(reply, "Unable to route reply"); reply 1566 daemons/controld/controld_execd.c free_xml(reply); reply 1576 daemons/controld/controld_execd.c xmlNode *reply = create_reply(msg, data); reply 1578 daemons/controld/controld_execd.c if (relay_message(reply, TRUE) == FALSE) { reply 1580 daemons/controld/controld_execd.c crm_log_xml_err(reply, "reply"); reply 1582 daemons/controld/controld_execd.c free_xml(reply); reply 1596 daemons/controld/controld_execd.c xmlNode *reply = create_request(CRM_OP_INVOKE_LRM, NULL, from_host, reply 1602 daemons/controld/controld_execd.c if (relay_message(reply, TRUE) == FALSE) { reply 1603 daemons/controld/controld_execd.c crm_log_xml_err(reply, "Unable to route reply"); reply 1605 daemons/controld/controld_execd.c free_xml(reply); reply 2085 daemons/controld/controld_execd.c xmlNode *reply = NULL; reply 2110 daemons/controld/controld_execd.c reply = create_request(CRM_OP_INVOKE_LRM, update, to_host, to_sys, CRM_SYSTEM_LRMD, NULL); reply 2116 daemons/controld/controld_execd.c crm_element_value(reply, XML_ATTR_REFERENCE)); reply 2118 daemons/controld/controld_execd.c if (relay_message(reply, TRUE) == FALSE) { reply 2119 daemons/controld/controld_execd.c crm_log_xml_err(reply, "Unable to route reply"); reply 2123 daemons/controld/controld_execd.c free_xml(reply); reply 174 daemons/controld/controld_join_client.c xmlNode *reply = NULL; reply 179 daemons/controld/controld_join_client.c reply = create_request(CRM_OP_JOIN_REQUEST, generation, fsa_our_dc, reply 182 daemons/controld/controld_join_client.c crm_xml_add(reply, F_CRM_JOIN_ID, join_id); reply 183 daemons/controld/controld_join_client.c crm_xml_add(reply, XML_ATTR_CRM_VERSION, CRM_FEATURE_SET); reply 184 daemons/controld/controld_join_client.c send_cluster_message(crm_get_peer(0, fsa_our_dc), crm_msg_crmd, reply, TRUE); reply 185 daemons/controld/controld_join_client.c free_xml(reply); reply 270 daemons/controld/controld_join_client.c xmlNode *reply = create_request(CRM_OP_JOIN_CONFIRM, tmp1, fsa_our_dc, reply 273 daemons/controld/controld_join_client.c crm_xml_add_int(reply, F_CRM_JOIN_ID, join_id); reply 297 daemons/controld/controld_join_client.c send_cluster_message(crm_get_peer(0, fsa_our_dc), crm_msg_crmd, reply, TRUE); reply 298 daemons/controld/controld_join_client.c free_xml(reply); reply 789 daemons/controld/controld_messages.c xmlNode *reply = NULL; reply 804 daemons/controld/controld_messages.c reply = create_reply(request, reply_data); reply 806 daemons/controld/controld_messages.c if (reply) { reply 807 daemons/controld/controld_messages.c (void) relay_message(reply, TRUE); reply 808 daemons/controld/controld_messages.c free_xml(reply); reply 828 daemons/controld/controld_messages.c xmlNode *reply = NULL; reply 832 daemons/controld/controld_messages.c reply = create_xml_node(NULL, XML_CIB_TAG_NODE); reply 833 daemons/controld/controld_messages.c crm_xml_add(reply, XML_PING_ATTR_SYSFROM, CRM_SYSTEM_CRMD); reply 836 daemons/controld/controld_messages.c crm_xml_add_boolean(reply, XML_ATTR_HAVE_QUORUM, fsa_has_quorum); reply 852 daemons/controld/controld_messages.c crm_xml_add_int(reply, XML_ATTR_ID, node->id); reply 853 daemons/controld/controld_messages.c crm_xml_add(reply, XML_ATTR_UUID, node->uuid); reply 854 daemons/controld/controld_messages.c crm_xml_add(reply, XML_ATTR_UNAME, node->uname); reply 855 daemons/controld/controld_messages.c crm_xml_add(reply, XML_NODE_IS_PEER, node->state); reply 856 daemons/controld/controld_messages.c crm_xml_add_boolean(reply, XML_NODE_IS_REMOTE, reply 861 daemons/controld/controld_messages.c msg = create_reply(msg, reply); reply 862 daemons/controld/controld_messages.c free_xml(reply); reply 511 daemons/execd/execd_commands.c xmlNode *reply = create_xml_node(NULL, T_LRMD_REPLY); reply 513 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_ORIGIN, origin); reply 514 daemons/execd/execd_commands.c crm_xml_add_int(reply, F_LRMD_RC, rc); reply 515 daemons/execd/execd_commands.c crm_xml_add_int(reply, F_LRMD_CALLID, call_id); reply 516 daemons/execd/execd_commands.c return reply; reply 1544 daemons/execd/execd_commands.c xmlNode **reply) reply 1569 daemons/execd/execd_commands.c *reply = create_lrmd_reply(__func__, rc, call_id); reply 1570 daemons/execd/execd_commands.c crm_xml_add(*reply, F_LRMD_OPERATION, CRM_OP_REGISTER); reply 1571 daemons/execd/execd_commands.c crm_xml_add(*reply, F_LRMD_CLIENTID, client->id); reply 1572 daemons/execd/execd_commands.c crm_xml_add(*reply, F_LRMD_PROTOCOL_VERSION, LRMD_PROTOCOL_VERSION); reply 1604 daemons/execd/execd_commands.c xmlNode *reply = NULL; reply 1617 daemons/execd/execd_commands.c reply = create_lrmd_reply(__func__, rc, call_id); reply 1619 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_RSC_ID, rsc->rsc_id); reply 1620 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_CLASS, rsc->class); reply 1621 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_PROVIDER, rsc->provider); reply 1622 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_TYPE, rsc->type); reply 1624 daemons/execd/execd_commands.c return reply; reply 1802 daemons/execd/execd_commands.c add_recurring_op_xml(xmlNode *reply, lrmd_rsc_t *rsc) reply 1804 daemons/execd/execd_commands.c xmlNode *rsc_xml = create_xml_node(reply, F_LRMD_RSC); reply 1824 daemons/execd/execd_commands.c xmlNode *reply = NULL; reply 1846 daemons/execd/execd_commands.c reply = create_lrmd_reply(__func__, rc, call_id); reply 1856 daemons/execd/execd_commands.c add_recurring_op_xml(reply, rsc); reply 1859 daemons/execd/execd_commands.c add_recurring_op_xml(reply, rsc); reply 1861 daemons/execd/execd_commands.c return reply; reply 1872 daemons/execd/execd_commands.c xmlNode *reply = NULL; reply 1895 daemons/execd/execd_commands.c rc = process_lrmd_signon(client, request, call_id, &reply); reply 1907 daemons/execd/execd_commands.c reply = process_lrmd_get_rsc_info(request, call_id); reply 1958 daemons/execd/execd_commands.c reply = process_lrmd_get_recurring(request, call_id); reply 1981 daemons/execd/execd_commands.c if (reply == NULL) { reply 1982 daemons/execd/execd_commands.c reply = create_lrmd_reply(__func__, rc, call_id); reply 1984 daemons/execd/execd_commands.c send_rc = lrmd_server_send_reply(client, id, reply); reply 1985 daemons/execd/execd_commands.c free_xml(reply); reply 205 daemons/execd/pacemaker-execd.c lrmd_server_send_reply(pcmk__client_t *client, uint32_t id, xmlNode *reply) reply 210 daemons/execd/pacemaker-execd.c return pcmk__ipc_send_xml(client, id, reply, FALSE); reply 213 daemons/execd/pacemaker-execd.c return lrmd__remote_send_xml(client->remote, reply, id, "reply"); reply 56 daemons/execd/pacemaker-execd.h int lrmd_server_send_reply(pcmk__client_t *client, uint32_t id, xmlNode *reply); reply 66 daemons/fenced/fenced_commands.c static void stonith_send_reply(xmlNode * reply, int call_options, const char *remote_peer, reply 1876 daemons/fenced/fenced_commands.c xmlNode *reply; reply 2062 daemons/fenced/fenced_commands.c add_message_xml(query->reply, F_STONITH_CALLDATA, list); reply 2064 daemons/fenced/fenced_commands.c stonith_send_reply(query->reply, query->call_options, query->remote_peer, query->client_id); reply 2066 daemons/fenced/fenced_commands.c free_xml(query->reply); reply 2100 daemons/fenced/fenced_commands.c query->reply = stonith_construct_reply(msg, NULL, NULL, pcmk_ok); reply 2148 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 2151 daemons/fenced/fenced_commands.c reply = stonith_construct_async_reply(cmd, output, NULL, rc); reply 2163 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_SUBTYPE, "broadcast"); reply 2168 daemons/fenced/fenced_commands.c crm_log_xml_trace(reply, "Reply"); reply 2171 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_MERGED, "true"); reply 2175 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_OPERATION, T_STONITH_NOTIFY); reply 2176 daemons/fenced/fenced_commands.c send_cluster_message(NULL, crm_msg_stonith_ng, reply, FALSE); reply 2180 daemons/fenced/fenced_commands.c send_cluster_message(crm_get_peer(0, cmd->origin), crm_msg_stonith_ng, reply, FALSE); reply 2185 daemons/fenced/fenced_commands.c do_local_reply(reply, cmd->client, cmd->options & st_opt_sync_call, FALSE); reply 2204 daemons/fenced/fenced_commands.c free_xml(reply); reply 2441 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 2443 daemons/fenced/fenced_commands.c reply = create_xml_node(NULL, T_STONITH_REPLY); reply 2445 daemons/fenced/fenced_commands.c crm_xml_add(reply, "st_origin", __func__); reply 2446 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_TYPE, T_STONITH_NG); reply 2447 daemons/fenced/fenced_commands.c crm_xml_add(reply, "st_output", output); reply 2448 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_RC, rc); reply 2478 daemons/fenced/fenced_commands.c crm_xml_add(reply, name, value); reply 2481 daemons/fenced/fenced_commands.c add_message_xml(reply, F_STONITH_CALLDATA, data); reply 2484 daemons/fenced/fenced_commands.c return reply; reply 2490 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 2493 daemons/fenced/fenced_commands.c reply = create_xml_node(NULL, T_STONITH_REPLY); reply 2495 daemons/fenced/fenced_commands.c crm_xml_add(reply, "st_origin", __func__); reply 2496 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_TYPE, T_STONITH_NG); reply 2498 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_OPERATION, cmd->op); reply 2499 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_DEVICE, cmd->device); reply 2500 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_REMOTE_OP_ID, cmd->remote_op_id); reply 2501 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_CLIENTID, cmd->client); reply 2502 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_CLIENTNAME, cmd->client_name); reply 2503 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_TARGET, cmd->victim); reply 2504 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_ACTION, cmd->op); reply 2505 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_ORIGIN, cmd->origin); reply 2506 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_CALLID, cmd->id); reply 2507 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_CALLOPTS, cmd->options); reply 2509 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_RC, rc); reply 2511 daemons/fenced/fenced_commands.c crm_xml_add(reply, "st_output", output); reply 2515 daemons/fenced/fenced_commands.c add_message_xml(reply, F_STONITH_CALLDATA, data); reply 2517 daemons/fenced/fenced_commands.c return reply; reply 2573 daemons/fenced/fenced_commands.c stonith_send_reply(xmlNode * reply, int call_options, const char *remote_peer, reply 2577 daemons/fenced/fenced_commands.c send_cluster_message(crm_get_peer(0, remote_peer), crm_msg_stonith_ng, reply, FALSE); reply 2579 daemons/fenced/fenced_commands.c do_local_reply(reply, client_id, reply 2644 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 2666 daemons/fenced/fenced_commands.c xmlNode *reply = create_xml_node(NULL, "reply"); reply 2669 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_OPERATION, CRM_OP_REGISTER); reply 2670 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_CLIENTID, client->id); reply 2671 daemons/fenced/fenced_commands.c pcmk__ipc_send_xml(client, id, reply, flags); reply 2673 daemons/fenced/fenced_commands.c free_xml(reply); reply 2891 daemons/fenced/fenced_commands.c reply = stonith_construct_reply(request, output, data, rc); reply 2892 daemons/fenced/fenced_commands.c stonith_send_reply(reply, call_options, remote_peer, client_id); reply 2897 daemons/fenced/fenced_commands.c free_xml(reply); reply 405 daemons/fenced/fenced_remote.c xmlNode *reply = NULL; reply 418 daemons/fenced/fenced_remote.c reply = stonith_construct_reply(op->request, NULL, data, rc); reply 419 daemons/fenced/fenced_remote.c crm_xml_add(reply, F_STONITH_DELEGATE, op->delegate); reply 422 daemons/fenced/fenced_remote.c do_local_reply(reply, op->client_id, op->call_options & st_opt_sync_call, FALSE); reply 430 daemons/fenced/fenced_remote.c free_xml(reply); reply 214 daemons/pacemakerd/pacemakerd.c pcmk_pacemakerd_api_reply_t *reply = event_data; reply 229 daemons/pacemakerd/pacemakerd.c if (reply->reply_type != pcmk_pacemakerd_reply_shutdown) { reply 231 daemons/pacemakerd/pacemakerd.c reply->reply_type); reply 27 daemons/pacemakerd/pcmkd_messages.c xmlNode *reply = NULL; reply 41 daemons/pacemakerd/pcmkd_messages.c reply = create_reply(msg, ping); reply 43 daemons/pacemakerd/pcmkd_messages.c if (reply) { reply 44 daemons/pacemakerd/pcmkd_messages.c if (pcmk__ipc_send_xml(c, id, reply, crm_ipc_server_event) != reply 49 daemons/pacemakerd/pcmkd_messages.c free_xml(reply); reply 73 daemons/pacemakerd/pcmkd_messages.c xmlNode *reply = NULL; reply 94 daemons/pacemakerd/pcmkd_messages.c reply = create_reply(msg, shutdown); reply 96 daemons/pacemakerd/pcmkd_messages.c if (reply) { reply 97 daemons/pacemakerd/pcmkd_messages.c if (pcmk__ipc_send_xml(c, id, reply, crm_ipc_server_event) != pcmk_rc_ok) { reply 101 daemons/pacemakerd/pcmkd_messages.c free_xml(reply); reply 95 daemons/schedulerd/pacemaker-schedulerd.c xmlNode *reply = NULL; reply 148 daemons/schedulerd/pacemaker-schedulerd.c reply = create_reply(msg, sched_data_set->graph); reply 149 daemons/schedulerd/pacemaker-schedulerd.c CRM_ASSERT(reply != NULL); reply 161 daemons/schedulerd/pacemaker-schedulerd.c crm_xml_add(reply, F_CRM_TGRAPH_INPUT, filename); reply 162 daemons/schedulerd/pacemaker-schedulerd.c crm_xml_add_int(reply, "graph-errors", was_processing_error); reply 163 daemons/schedulerd/pacemaker-schedulerd.c crm_xml_add_int(reply, "graph-warnings", was_processing_warning); reply 164 daemons/schedulerd/pacemaker-schedulerd.c crm_xml_add_int(reply, "config-errors", crm_config_error); reply 165 daemons/schedulerd/pacemaker-schedulerd.c crm_xml_add_int(reply, "config-warnings", crm_config_warning); reply 167 daemons/schedulerd/pacemaker-schedulerd.c if (pcmk__ipc_send_xml(sender, 0, reply, reply 180 daemons/schedulerd/pacemaker-schedulerd.c crm_xml_add(reply, F_CRM_TGRAPH, graph_file); reply 184 daemons/schedulerd/pacemaker-schedulerd.c free_xml(first_named_child(reply, F_CRM_DATA)); reply 185 daemons/schedulerd/pacemaker-schedulerd.c CRM_ASSERT(pcmk__ipc_send_xml(sender, 0, reply, reply 189 daemons/schedulerd/pacemaker-schedulerd.c free_xml(reply); reply 171 include/crm/common/ipc.h int32_t ms_timeout, xmlNode ** reply); reply 201 lib/cib/cib_native.c xmlNode *reply = NULL; reply 209 lib/cib/cib_native.c if (crm_ipc_send(native->ipc, hello, crm_ipc_client_response, -1, &reply) > 0) { reply 210 lib/cib/cib_native.c const char *msg_type = crm_element_value(reply, F_CIB_OPERATION); reply 213 lib/cib/cib_native.c crm_log_xml_trace(reply, "reg-reply"); reply 221 lib/cib/cib_native.c native->token = crm_element_value_copy(reply, F_CIB_CLIENTID); reply 226 lib/cib/cib_native.c free_xml(reply); reply 587 lib/common/ipc_client.c xmlNode *reply = NULL; reply 604 lib/common/ipc_client.c rc = crm_ipc_send(api->ipc, request, flags, 0, &reply); reply 613 lib/common/ipc_client.c if (reply != NULL) { reply 614 lib/common/ipc_client.c call_api_dispatch(api, reply); reply 615 lib/common/ipc_client.c free_xml(reply); reply 1151 lib/common/ipc_client.c xmlNode ** reply) reply 1274 lib/common/ipc_client.c if (reply) { reply 1275 lib/common/ipc_client.c *reply = string2xml(crm_ipc_buffer(client)); reply 163 lib/common/ipc_controld.c dispatch(pcmk_ipc_api_t *api, xmlNode *reply) reply 184 lib/common/ipc_controld.c value = crm_element_value(reply, F_CRM_MSG_TYPE); reply 193 lib/common/ipc_controld.c if (crm_element_value(reply, XML_ATTR_REFERENCE) == NULL) { reply 199 lib/common/ipc_controld.c value = crm_element_value(reply, F_CRM_TASK); reply 208 lib/common/ipc_controld.c reply_data.feature_set = crm_element_value(reply, XML_ATTR_VERSION); reply 209 lib/common/ipc_controld.c reply_data.host_from = crm_element_value(reply, F_CRM_HOST_FROM); reply 210 lib/common/ipc_controld.c msg_data = get_message_xml(reply, F_CRM_DATA); reply 137 lib/common/ipc_pacemakerd.c dispatch(pcmk_ipc_api_t *api, xmlNode *reply) reply 147 lib/common/ipc_pacemakerd.c if (pcmk__str_eq((const char *) reply->name, "ack", pcmk__str_casei)) { reply 151 lib/common/ipc_pacemakerd.c value = crm_element_value(reply, F_CRM_MSG_TYPE); reply 159 lib/common/ipc_pacemakerd.c if (crm_element_value(reply, XML_ATTR_REFERENCE) == NULL) { reply 165 lib/common/ipc_pacemakerd.c value = crm_element_value(reply, F_CRM_TASK); reply 168 lib/common/ipc_pacemakerd.c msg_data = get_message_xml(reply, F_CRM_DATA); reply 105 lib/common/messages.c xmlNode *reply = NULL; reply 124 lib/common/messages.c reply = create_xml_node(NULL, __func__); reply 125 lib/common/messages.c if (reply == NULL) { reply 130 lib/common/messages.c crm_xml_add(reply, F_CRM_ORIGIN, origin); reply 131 lib/common/messages.c crm_xml_add(reply, F_TYPE, T_CRM); reply 132 lib/common/messages.c crm_xml_add(reply, F_CRM_VERSION, CRM_FEATURE_SET); reply 133 lib/common/messages.c crm_xml_add(reply, F_CRM_MSG_TYPE, XML_ATTR_RESPONSE); reply 134 lib/common/messages.c crm_xml_add(reply, F_CRM_REFERENCE, crm_msg_reference); reply 135 lib/common/messages.c crm_xml_add(reply, F_CRM_TASK, operation); reply 138 lib/common/messages.c crm_xml_add(reply, F_CRM_SYS_TO, sys_from); reply 139 lib/common/messages.c crm_xml_add(reply, F_CRM_SYS_FROM, sys_to); reply 143 lib/common/messages.c crm_xml_add(reply, F_CRM_HOST_TO, host_from); reply 147 lib/common/messages.c add_message_xml(reply, F_CRM_DATA, xml_response_data); reply 150 lib/common/messages.c return reply; reply 1126 lib/fencing/st_client.c xmlNode *reply = get_xpath_object("//" F_STONITH_HISTORY_LIST, output, reply 1129 lib/fencing/st_client.c for (op = pcmk__xml_first_child(reply); op != NULL; reply 1496 lib/fencing/st_client.c xmlNode *reply = NULL; reply 1502 lib/fencing/st_client.c rc = crm_ipc_send(native->ipc, hello, crm_ipc_client_response, -1, &reply); reply 1509 lib/fencing/st_client.c } else if (reply == NULL) { reply 1514 lib/fencing/st_client.c const char *msg_type = crm_element_value(reply, F_STONITH_OPERATION); reply 1516 lib/fencing/st_client.c native->token = crm_element_value_copy(reply, F_STONITH_CLIENTID); reply 1520 lib/fencing/st_client.c crm_log_xml_debug(reply, "Invalid fencer reply"); reply 1525 lib/fencing/st_client.c crm_log_xml_debug(reply, "Invalid fencer reply"); reply 1538 lib/fencing/st_client.c free_xml(reply); reply 614 lib/lrmd/lrmd_client.c xmlNode **reply) reply 629 lib/lrmd/lrmd_client.c for (*reply = NULL; *reply == NULL; ) { reply 631 lib/lrmd/lrmd_client.c *reply = pcmk__remote_message_xml(native->remote); reply 632 lib/lrmd/lrmd_client.c if (*reply == NULL) { reply 648 lib/lrmd/lrmd_client.c *reply = pcmk__remote_message_xml(native->remote); reply 649 lib/lrmd/lrmd_client.c if (*reply == NULL) { reply 654 lib/lrmd/lrmd_client.c crm_element_value_int(*reply, F_LRMD_REMOTE_MSG_ID, &reply_id); reply 655 lib/lrmd/lrmd_client.c msg_type = crm_element_value(*reply, F_LRMD_REMOTE_MSG_TYPE); reply 659 lib/lrmd/lrmd_client.c free_xml(*reply); reply 660 lib/lrmd/lrmd_client.c *reply = NULL; reply 664 lib/lrmd/lrmd_client.c native->pending_notify = g_list_append(native->pending_notify, *reply); reply 669 lib/lrmd/lrmd_client.c *reply = NULL; reply 673 lib/lrmd/lrmd_client.c free_xml(*reply); reply 674 lib/lrmd/lrmd_client.c *reply = NULL; reply 681 lib/lrmd/lrmd_client.c free_xml(*reply); reply 682 lib/lrmd/lrmd_client.c *reply = NULL; reply 716 lib/lrmd/lrmd_client.c lrmd_tls_send_recv(lrmd_t * lrmd, xmlNode * msg, int timeout, xmlNode ** reply) reply 738 lib/lrmd/lrmd_client.c if (reply) { reply 739 lib/lrmd/lrmd_client.c *reply = xml; reply 749 lib/lrmd/lrmd_client.c lrmd_send_xml(lrmd_t * lrmd, xmlNode * msg, int timeout, xmlNode ** reply) reply 756 lib/lrmd/lrmd_client.c rc = crm_ipc_send(native->ipc, msg, crm_ipc_client_response, timeout, reply); reply 760 lib/lrmd/lrmd_client.c rc = lrmd_tls_send_recv(lrmd, msg, timeout, reply); reply 950 lib/lrmd/lrmd_client.c xmlNode *reply = NULL; reply 963 lib/lrmd/lrmd_client.c rc = lrmd_send_xml(lrmd, hello, -1, &reply); reply 968 lib/lrmd/lrmd_client.c } else if (reply == NULL) { reply 972 lib/lrmd/lrmd_client.c const char *version = crm_element_value(reply, F_LRMD_PROTOCOL_VERSION); reply 973 lib/lrmd/lrmd_client.c const char *msg_type = crm_element_value(reply, F_LRMD_OPERATION); reply 974 lib/lrmd/lrmd_client.c const char *tmp_ticket = crm_element_value(reply, F_LRMD_CLIENTID); reply 976 lib/lrmd/lrmd_client.c crm_element_value_int(reply, F_LRMD_RC, &rc); reply 981 lib/lrmd/lrmd_client.c crm_log_xml_err(reply, "Protocol Error"); reply 985 lib/lrmd/lrmd_client.c crm_log_xml_err(reply, "Bad reply"); reply 989 lib/lrmd/lrmd_client.c crm_log_xml_err(reply, "Bad reply"); reply 999 lib/lrmd/lrmd_client.c free_xml(reply); reply 92 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = event_data; reply 122 lib/pacemaker/pcmk_cluster_queries.c if (reply->reply_type != pcmk_controld_reply_ping) { reply 124 lib/pacemaker/pcmk_cluster_queries.c reply->reply_type); reply 130 lib/pacemaker/pcmk_cluster_queries.c return reply; reply 140 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = controld_event_reply(data, controld_api, reply 143 lib/pacemaker/pcmk_cluster_queries.c if (reply != NULL) { reply 145 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.sys_from, reply 146 lib/pacemaker/pcmk_cluster_queries.c reply->host_from, reply 147 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.fsa_state, reply 148 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.result); reply 162 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = controld_event_reply(data, controld_api, reply 165 lib/pacemaker/pcmk_cluster_queries.c if (reply != NULL) { reply 166 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "dc", reply->host_from); reply 180 lib/pacemaker/pcmk_cluster_queries.c pcmk_pacemakerd_api_reply_t *reply = event_data; reply 212 lib/pacemaker/pcmk_cluster_queries.c if (reply->reply_type != pcmk_pacemakerd_reply_ping) { reply 214 lib/pacemaker/pcmk_cluster_queries.c reply->reply_type); reply 221 lib/pacemaker/pcmk_cluster_queries.c crm_time_set_timet(crm_when, &reply->data.ping.last_good); reply 227 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.sys_from, reply 228 lib/pacemaker/pcmk_cluster_queries.c (reply->data.ping.status == pcmk_rc_ok)? reply 230 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.state):"query failed", reply 231 lib/pacemaker/pcmk_cluster_queries.c (reply->data.ping.status == pcmk_rc_ok)?pinged_buf:""); reply 330 lib/services/dbus.c pcmk_dbus_find_error(DBusPendingCall *pending, DBusMessage *reply, reply 340 lib/services/dbus.c } else if (reply == NULL) { reply 345 lib/services/dbus.c int dtype = dbus_message_get_type(reply); reply 352 lib/services/dbus.c dbus_message_iter_init(reply, &args); reply 373 lib/services/dbus.c dbus_set_error_from_message(&error, reply); reply 416 lib/services/dbus.c DBusMessage *reply = NULL; reply 448 lib/services/dbus.c reply = dbus_pending_call_steal_reply(pending); reply 451 lib/services/dbus.c (void) pcmk_dbus_find_error(pending, reply, error); reply 458 lib/services/dbus.c return reply; reply 589 lib/services/dbus.c handle_query_result(DBusMessage *reply, struct property_query *data) reply 598 lib/services/dbus.c if (pcmk_dbus_find_error((void*)&error, reply, &error)) { reply 606 lib/services/dbus.c dbus_message_iter_init(reply, &args); reply 607 lib/services/dbus.c if (!pcmk_dbus_type_check(reply, &args, DBUS_TYPE_VARIANT, reply 616 lib/services/dbus.c if (!pcmk_dbus_type_check(reply, &variant_iter, DBUS_TYPE_STRING, reply 657 lib/services/dbus.c DBusMessage *reply = NULL; reply 661 lib/services/dbus.c reply = dbus_pending_call_steal_reply(pending); reply 664 lib/services/dbus.c value = handle_query_result(reply, user_data); reply 667 lib/services/dbus.c if (reply) { reply 668 lib/services/dbus.c dbus_message_unref(reply); reply 763 lib/services/dbus.c DBusMessage *reply = pcmk_dbus_send_recv(msg, connection, NULL, reply 766 lib/services/dbus.c output = handle_query_result(reply, query_data); reply 768 lib/services/dbus.c if (reply) { reply 769 lib/services/dbus.c dbus_message_unref(reply); reply 42 lib/services/pcmk-dbus.h bool pcmk_dbus_find_error(DBusPendingCall *pending, DBusMessage *reply, reply 72 lib/services/systemd.c DBusMessage *reply = NULL; reply 84 lib/services/systemd.c reply = systemd_send_recv(msg, &error, DBUS_TIMEOUT_USE_DEFAULT); reply 93 lib/services/systemd.c } else if (reply == NULL) { reply 98 lib/services/systemd.c return reply; reply 192 lib/services/systemd.c DBusMessage *reply = NULL; reply 197 lib/services/systemd.c reply = dbus_pending_call_steal_reply(pending); reply 200 lib/services/systemd.c if (pcmk_dbus_find_error(pending, reply, &error)) { reply 211 lib/services/systemd.c if(reply) { reply 212 lib/services/systemd.c dbus_message_unref(reply); reply 256 lib/services/systemd.c systemd_loadunit_result(DBusMessage *reply, svc_action_t * op) reply 261 lib/services/systemd.c if (pcmk_dbus_find_error((void*)&path, reply, &error)) { reply 268 lib/services/systemd.c } else if (!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, reply 274 lib/services/systemd.c dbus_message_get_args (reply, NULL, reply 295 lib/services/systemd.c DBusMessage *reply = NULL; reply 299 lib/services/systemd.c reply = dbus_pending_call_steal_reply(pending); reply 302 lib/services/systemd.c crm_trace("Got result: %p for %p / %p for %s", reply, pending, op->opaque->pending, op->id); reply 307 lib/services/systemd.c systemd_loadunit_result(reply, user_data); reply 309 lib/services/systemd.c if(reply) { reply 310 lib/services/systemd.c dbus_message_unref(reply); reply 318 lib/services/systemd.c DBusMessage *reply = NULL; reply 345 lib/services/systemd.c reply = systemd_send_recv(msg, NULL, reply 349 lib/services/systemd.c unit = systemd_loadunit_result(reply, op); reply 353 lib/services/systemd.c if(reply) { reply 354 lib/services/systemd.c dbus_message_unref(reply); reply 401 lib/services/systemd.c DBusMessage *reply = NULL; reply 413 lib/services/systemd.c reply = systemd_call_simple_method("ListUnitFiles"); reply 414 lib/services/systemd.c if (reply == NULL) { reply 417 lib/services/systemd.c if (!dbus_message_iter_init(reply, &args)) { reply 419 lib/services/systemd.c dbus_message_unref(reply); reply 422 lib/services/systemd.c if (!pcmk_dbus_type_check(reply, &args, DBUS_TYPE_ARRAY, reply 425 lib/services/systemd.c dbus_message_unref(reply); reply 438 lib/services/systemd.c if(!pcmk_dbus_type_check(reply, &unit, DBUS_TYPE_STRUCT, __func__, __LINE__)) { reply 444 lib/services/systemd.c if(!pcmk_dbus_type_check(reply, &elem, DBUS_TYPE_STRING, __func__, __LINE__)) { reply 483 lib/services/systemd.c dbus_message_unref(reply); reply 546 lib/services/systemd.c systemd_exec_result(DBusMessage *reply, svc_action_t *op) reply 550 lib/services/systemd.c if (pcmk_dbus_find_error((void*)&error, reply, &error)) { reply 559 lib/services/systemd.c if(!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { reply 566 lib/services/systemd.c dbus_message_get_args (reply, NULL, reply 580 lib/services/systemd.c DBusMessage *reply = NULL; reply 584 lib/services/systemd.c reply = dbus_pending_call_steal_reply(pending); reply 587 lib/services/systemd.c crm_trace("Got result: %p for %p for %s, %s", reply, pending, op->rsc, op->action); reply 591 lib/services/systemd.c systemd_exec_result(reply, op); reply 593 lib/services/systemd.c if(reply) { reply 594 lib/services/systemd.c dbus_message_unref(reply); reply 731 lib/services/systemd.c DBusMessage *reply = NULL; reply 801 lib/services/systemd.c reply = systemd_send_recv(msg, NULL, op->timeout); reply 803 lib/services/systemd.c systemd_exec_result(reply, op); reply 805 lib/services/systemd.c if(reply) { reply 806 lib/services/systemd.c dbus_message_unref(reply); reply 69 lib/services/upstart.c DBusMessage *reply = NULL; reply 82 lib/services/upstart.c reply = pcmk_dbus_send_recv(msg, upstart_proxy, &error, timeout); reply 89 lib/services/upstart.c } else if(!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { reply 96 lib/services/upstart.c dbus_message_get_args (reply, NULL, reply 102 lib/services/upstart.c dbus_message_unref(reply); reply 106 lib/services/upstart.c if(reply) { reply 107 lib/services/upstart.c dbus_message_unref(reply); reply 155 lib/services/upstart.c DBusMessage *reply = NULL; reply 175 lib/services/upstart.c reply = pcmk_dbus_send_recv(msg, upstart_proxy, &error, DBUS_TIMEOUT_USE_DEFAULT); reply 183 lib/services/upstart.c } else if (!dbus_message_iter_init(reply, &args)) { reply 185 lib/services/upstart.c dbus_message_unref(reply); reply 189 lib/services/upstart.c if(!pcmk_dbus_type_check(reply, &args, DBUS_TYPE_ARRAY, __func__, __LINE__)) { reply 191 lib/services/upstart.c dbus_message_unref(reply); reply 201 lib/services/upstart.c if(!pcmk_dbus_type_check(reply, &unit, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { reply 225 lib/services/upstart.c dbus_message_unref(reply); reply 243 lib/services/upstart.c DBusMessage *reply; reply 255 lib/services/upstart.c reply = pcmk_dbus_send_recv(msg, upstart_proxy, &error, timeout); reply 263 lib/services/upstart.c } else if(reply == NULL) { reply 267 lib/services/upstart.c } else if (!dbus_message_iter_init(reply, &args)) { reply 272 lib/services/upstart.c if(!pcmk_dbus_type_check(reply, &args, DBUS_TYPE_ARRAY, __func__, __LINE__)) { reply 278 lib/services/upstart.c if(pcmk_dbus_type_check(reply, &unit, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { reply 290 lib/services/upstart.c if(reply) { reply 291 lib/services/upstart.c dbus_message_unref(reply); reply 370 lib/services/upstart.c DBusMessage *reply = NULL; reply 375 lib/services/upstart.c reply = dbus_pending_call_steal_reply(pending); reply 378 lib/services/upstart.c if (pcmk_dbus_find_error(pending, reply, &error)) { reply 391 lib/services/upstart.c if(!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { reply 398 lib/services/upstart.c dbus_message_get_args (reply, NULL, reply 410 lib/services/upstart.c if(reply) { reply 411 lib/services/upstart.c dbus_message_unref(reply); reply 427 lib/services/upstart.c DBusMessage *reply = NULL; reply 522 lib/services/upstart.c reply = pcmk_dbus_send_recv(msg, upstart_proxy, &error, op->timeout); reply 535 lib/services/upstart.c } else if(!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { reply 542 lib/services/upstart.c dbus_message_get_args (reply, NULL, reply 556 lib/services/upstart.c if(reply) { reply 557 lib/services/upstart.c dbus_message_unref(reply); reply 87 maint/mocked/based.c xmlNode *reply, *cib; reply 104 maint/mocked/based.c reply = create_xml_node(NULL, "cib-reply"); reply 105 maint/mocked/based.c crm_xml_add(reply, F_TYPE, T_CIB); reply 106 maint/mocked/based.c crm_xml_add(reply, F_CIB_OPERATION, reply 108 maint/mocked/based.c crm_xml_add(reply, F_CIB_CALLID, reply 110 maint/mocked/based.c crm_xml_add(reply, F_CIB_CLIENTID, reply 112 maint/mocked/based.c crm_xml_add_int(reply, F_CIB_CALLOPTS, flags); reply 113 maint/mocked/based.c crm_xml_add_int(reply, F_CIB_RC, pcmk_ok); reply 117 maint/mocked/based.c add_message_xml(reply, F_CIB_CALLDATA, cib); reply 120 maint/mocked/based.c pcmk__ipc_send_xml(cib_client, cib_client->request_id, reply, reply 124 maint/mocked/based.c free_xml(reply); reply 296 tools/attrd_updater.c send_attrd_query(const char *name, const char *host, xmlNode **reply) reply 320 tools/attrd_updater.c rc = crm_ipc_send(ipc, query, crm_ipc_client_response, 0, reply); reply 342 tools/attrd_updater.c validate_attrd_reply(xmlNode *reply, const char *attr_name) reply 346 tools/attrd_updater.c if (reply == NULL) { reply 351 tools/attrd_updater.c crm_log_xml_trace(reply, "Reply"); reply 353 tools/attrd_updater.c reply_attr = crm_element_value(reply, PCMK__XA_ATTR_NAME); reply 360 tools/attrd_updater.c if (!pcmk__str_eq(crm_element_value(reply, F_TYPE), T_ATTRD, pcmk__str_casei) reply 361 tools/attrd_updater.c || (crm_element_value(reply, PCMK__XA_ATTR_VERSION) == NULL) reply 380 tools/attrd_updater.c print_attrd_values(xmlNode *reply, const char *attr_name) reply 387 tools/attrd_updater.c for (child = pcmk__xml_first_child(reply); child != NULL; reply 422 tools/attrd_updater.c xmlNode *reply = NULL; reply 436 tools/attrd_updater.c rc = send_attrd_query(attr_name, attr_node, &reply); reply 443 tools/attrd_updater.c rc = validate_attrd_reply(reply, attr_name); reply 445 tools/attrd_updater.c if (reply != NULL) { reply 446 tools/attrd_updater.c free_xml(reply); reply 452 tools/attrd_updater.c if (print_attrd_values(reply, attr_name) == FALSE) { reply 456 tools/attrd_updater.c free_xml(reply); reply 911 tools/crm_mon.c pcmk_pacemakerd_api_reply_t *reply = event_data; reply 932 tools/crm_mon.c if (reply->reply_type != pcmk_pacemakerd_reply_ping) { reply 934 tools/crm_mon.c reply->reply_type); reply 936 tools/crm_mon.c if ((reply->data.ping.last_good != (time_t) 0) && reply 937 tools/crm_mon.c (reply->data.ping.status == pcmk_rc_ok)) { reply 938 tools/crm_mon.c *state = reply->data.ping.state; reply 149 tools/crm_node.c pcmk_controld_api_reply_t *reply = event_data; reply 175 tools/crm_node.c if (reply->reply_type != pcmk_controld_reply_info) { reply 178 tools/crm_node.c reply->reply_type); reply 181 tools/crm_node.c if (reply->data.node_info.id == 0) { reply 187 tools/crm_node.c printf("%d\n", reply->data.node_info.id); reply 192 tools/crm_node.c if (reply->reply_type != pcmk_controld_reply_info) { reply 195 tools/crm_node.c reply->reply_type); reply 198 tools/crm_node.c if (reply->data.node_info.uname == NULL) { reply 203 tools/crm_node.c printf("%s\n", reply->data.node_info.uname); reply 207 tools/crm_node.c if (reply->reply_type != pcmk_controld_reply_info) { reply 210 tools/crm_node.c reply->reply_type); reply 213 tools/crm_node.c printf("%d\n", reply->data.node_info.have_quorum); reply 214 tools/crm_node.c if (!(reply->data.node_info.have_quorum)) { reply 222 tools/crm_node.c if (reply->reply_type != pcmk_controld_reply_nodes) { reply 225 tools/crm_node.c reply->reply_type); reply 228 tools/crm_node.c reply->data.nodes = g_list_sort(reply->data.nodes, sort_node); reply 229 tools/crm_node.c for (GList *node_iter = reply->data.nodes;