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 1573 daemons/controld/controld_execd.c xmlNode *reply = create_request(CRM_OP_INVOKE_LRM, fragment, from_host, reply 1579 daemons/controld/controld_execd.c if (relay_message(reply, TRUE) == FALSE) { reply 1580 daemons/controld/controld_execd.c crm_log_xml_err(reply, "Unable to route reply"); reply 1582 daemons/controld/controld_execd.c free_xml(reply); reply 1592 daemons/controld/controld_execd.c xmlNode *reply = create_reply(msg, data); reply 1594 daemons/controld/controld_execd.c if (relay_message(reply, TRUE) == FALSE) { reply 1596 daemons/controld/controld_execd.c crm_log_xml_err(reply, "reply"); reply 1598 daemons/controld/controld_execd.c free_xml(reply); reply 1612 daemons/controld/controld_execd.c xmlNode *reply = create_request(CRM_OP_INVOKE_LRM, NULL, from_host, reply 1618 daemons/controld/controld_execd.c if (relay_message(reply, TRUE) == FALSE) { reply 1619 daemons/controld/controld_execd.c crm_log_xml_err(reply, "Unable to route reply"); reply 1621 daemons/controld/controld_execd.c free_xml(reply); reply 2102 daemons/controld/controld_execd.c xmlNode *reply = NULL; reply 2127 daemons/controld/controld_execd.c reply = create_request(CRM_OP_INVOKE_LRM, update, to_host, to_sys, CRM_SYSTEM_LRMD, NULL); reply 2133 daemons/controld/controld_execd.c crm_element_value(reply, XML_ATTR_REFERENCE)); reply 2135 daemons/controld/controld_execd.c if (relay_message(reply, TRUE) == FALSE) { reply 2136 daemons/controld/controld_execd.c crm_log_xml_err(reply, "Unable to route reply"); reply 2140 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 528 daemons/execd/execd_commands.c xmlNode *reply = create_xml_node(NULL, T_LRMD_REPLY); reply 530 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_ORIGIN, origin); reply 531 daemons/execd/execd_commands.c crm_xml_add_int(reply, F_LRMD_RC, rc); reply 532 daemons/execd/execd_commands.c crm_xml_add_int(reply, F_LRMD_CALLID, call_id); reply 533 daemons/execd/execd_commands.c return reply; reply 1472 daemons/execd/execd_commands.c xmlNode **reply) reply 1497 daemons/execd/execd_commands.c *reply = create_lrmd_reply(__func__, rc, call_id); reply 1498 daemons/execd/execd_commands.c crm_xml_add(*reply, F_LRMD_OPERATION, CRM_OP_REGISTER); reply 1499 daemons/execd/execd_commands.c crm_xml_add(*reply, F_LRMD_CLIENTID, client->id); reply 1500 daemons/execd/execd_commands.c crm_xml_add(*reply, F_LRMD_PROTOCOL_VERSION, LRMD_PROTOCOL_VERSION); reply 1532 daemons/execd/execd_commands.c xmlNode *reply = NULL; reply 1545 daemons/execd/execd_commands.c reply = create_lrmd_reply(__func__, rc, call_id); reply 1547 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_RSC_ID, rsc->rsc_id); reply 1548 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_CLASS, rsc->class); reply 1549 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_PROVIDER, rsc->provider); reply 1550 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_TYPE, rsc->type); reply 1552 daemons/execd/execd_commands.c return reply; reply 1730 daemons/execd/execd_commands.c add_recurring_op_xml(xmlNode *reply, lrmd_rsc_t *rsc) reply 1732 daemons/execd/execd_commands.c xmlNode *rsc_xml = create_xml_node(reply, F_LRMD_RSC); reply 1752 daemons/execd/execd_commands.c xmlNode *reply = NULL; reply 1774 daemons/execd/execd_commands.c reply = create_lrmd_reply(__func__, rc, call_id); reply 1784 daemons/execd/execd_commands.c add_recurring_op_xml(reply, rsc); reply 1787 daemons/execd/execd_commands.c add_recurring_op_xml(reply, rsc); reply 1789 daemons/execd/execd_commands.c return reply; reply 1800 daemons/execd/execd_commands.c xmlNode *reply = NULL; reply 1823 daemons/execd/execd_commands.c rc = process_lrmd_signon(client, request, call_id, &reply); reply 1835 daemons/execd/execd_commands.c reply = process_lrmd_get_rsc_info(request, call_id); reply 1886 daemons/execd/execd_commands.c reply = process_lrmd_get_recurring(request, call_id); reply 1909 daemons/execd/execd_commands.c if (reply == NULL) { reply 1910 daemons/execd/execd_commands.c reply = create_lrmd_reply(__func__, rc, call_id); reply 1912 daemons/execd/execd_commands.c send_rc = lrmd_server_send_reply(client, id, reply); reply 1913 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 2016 daemons/fenced/fenced_commands.c xmlNode *reply; reply 2203 daemons/fenced/fenced_commands.c add_message_xml(query->reply, F_STONITH_CALLDATA, list); reply 2205 daemons/fenced/fenced_commands.c stonith_send_reply(query->reply, query->call_options, query->remote_peer, query->client_id); reply 2207 daemons/fenced/fenced_commands.c free_xml(query->reply); reply 2241 daemons/fenced/fenced_commands.c query->reply = stonith_construct_reply(msg, NULL, NULL, pcmk_ok); reply 2333 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 2336 daemons/fenced/fenced_commands.c reply = stonith_construct_async_reply(cmd, output, NULL, rc); reply 2345 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_SUBTYPE, "broadcast"); reply 2350 daemons/fenced/fenced_commands.c crm_log_xml_trace(reply, "Reply"); reply 2353 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_MERGED, "true"); reply 2357 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_OPERATION, T_STONITH_NOTIFY); reply 2358 daemons/fenced/fenced_commands.c send_cluster_message(NULL, crm_msg_stonith_ng, reply, FALSE); reply 2362 daemons/fenced/fenced_commands.c send_cluster_message(crm_get_peer(0, cmd->origin), crm_msg_stonith_ng, reply, FALSE); reply 2367 daemons/fenced/fenced_commands.c do_local_reply(reply, cmd->client, cmd->options & st_opt_sync_call, FALSE); reply 2386 daemons/fenced/fenced_commands.c free_xml(reply); reply 2619 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 2621 daemons/fenced/fenced_commands.c reply = create_xml_node(NULL, T_STONITH_REPLY); reply 2623 daemons/fenced/fenced_commands.c crm_xml_add(reply, "st_origin", __func__); reply 2624 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_TYPE, T_STONITH_NG); reply 2625 daemons/fenced/fenced_commands.c crm_xml_add(reply, "st_output", output); reply 2626 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_RC, rc); reply 2656 daemons/fenced/fenced_commands.c crm_xml_add(reply, name, value); reply 2659 daemons/fenced/fenced_commands.c add_message_xml(reply, F_STONITH_CALLDATA, data); reply 2662 daemons/fenced/fenced_commands.c return reply; reply 2668 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 2671 daemons/fenced/fenced_commands.c reply = create_xml_node(NULL, T_STONITH_REPLY); reply 2673 daemons/fenced/fenced_commands.c crm_xml_add(reply, "st_origin", __func__); reply 2674 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_TYPE, T_STONITH_NG); reply 2676 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_OPERATION, cmd->op); reply 2677 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_DEVICE, cmd->device); reply 2678 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_REMOTE_OP_ID, cmd->remote_op_id); reply 2679 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_CLIENTID, cmd->client); reply 2680 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_CLIENTNAME, cmd->client_name); reply 2681 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_TARGET, cmd->victim); reply 2682 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_ACTION, cmd->op); reply 2683 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_ORIGIN, cmd->origin); reply 2684 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_CALLID, cmd->id); reply 2685 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_CALLOPTS, cmd->options); reply 2687 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_RC, rc); reply 2689 daemons/fenced/fenced_commands.c crm_xml_add(reply, "st_output", output); reply 2693 daemons/fenced/fenced_commands.c add_message_xml(reply, F_STONITH_CALLDATA, data); reply 2695 daemons/fenced/fenced_commands.c return reply; reply 2767 daemons/fenced/fenced_commands.c stonith_send_reply(xmlNode * reply, int call_options, const char *remote_peer, reply 2771 daemons/fenced/fenced_commands.c send_cluster_message(crm_get_peer(0, remote_peer), crm_msg_stonith_ng, reply, FALSE); reply 2773 daemons/fenced/fenced_commands.c do_local_reply(reply, client_id, reply 2838 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 2860 daemons/fenced/fenced_commands.c xmlNode *reply = create_xml_node(NULL, "reply"); reply 2863 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_OPERATION, CRM_OP_REGISTER); reply 2864 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_CLIENTID, client->id); reply 2865 daemons/fenced/fenced_commands.c pcmk__ipc_send_xml(client, id, reply, flags); reply 2867 daemons/fenced/fenced_commands.c free_xml(reply); reply 3085 daemons/fenced/fenced_commands.c reply = stonith_construct_reply(request, output, data, rc); reply 3086 daemons/fenced/fenced_commands.c stonith_send_reply(reply, call_options, remote_peer, client_id); reply 3091 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 210 lib/cib/cib_native.c xmlNode *reply = NULL; reply 218 lib/cib/cib_native.c if (crm_ipc_send(native->ipc, hello, crm_ipc_client_response, -1, &reply) > 0) { reply 219 lib/cib/cib_native.c const char *msg_type = crm_element_value(reply, F_CIB_OPERATION); reply 222 lib/cib/cib_native.c crm_log_xml_trace(reply, "reg-reply"); reply 230 lib/cib/cib_native.c native->token = crm_element_value_copy(reply, F_CIB_CLIENTID); reply 235 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 1188 lib/fencing/st_client.c xmlNode *reply = get_xpath_object("//" F_STONITH_HISTORY_LIST, output, reply 1191 lib/fencing/st_client.c for (op = pcmk__xml_first_child(reply); op != NULL; reply 1561 lib/fencing/st_client.c xmlNode *reply = NULL; reply 1567 lib/fencing/st_client.c rc = crm_ipc_send(native->ipc, hello, crm_ipc_client_response, -1, &reply); reply 1574 lib/fencing/st_client.c } else if (reply == NULL) { reply 1579 lib/fencing/st_client.c const char *msg_type = crm_element_value(reply, F_STONITH_OPERATION); reply 1581 lib/fencing/st_client.c native->token = crm_element_value_copy(reply, F_STONITH_CLIENTID); reply 1585 lib/fencing/st_client.c crm_log_xml_debug(reply, "Invalid fencer reply"); reply 1590 lib/fencing/st_client.c crm_log_xml_debug(reply, "Invalid fencer reply"); reply 1603 lib/fencing/st_client.c free_xml(reply); reply 617 lib/lrmd/lrmd_client.c xmlNode **reply) reply 632 lib/lrmd/lrmd_client.c for (*reply = NULL; *reply == NULL; ) { reply 634 lib/lrmd/lrmd_client.c *reply = pcmk__remote_message_xml(native->remote); reply 635 lib/lrmd/lrmd_client.c if (*reply == NULL) { reply 651 lib/lrmd/lrmd_client.c *reply = pcmk__remote_message_xml(native->remote); reply 652 lib/lrmd/lrmd_client.c if (*reply == NULL) { reply 657 lib/lrmd/lrmd_client.c crm_element_value_int(*reply, F_LRMD_REMOTE_MSG_ID, &reply_id); reply 658 lib/lrmd/lrmd_client.c msg_type = crm_element_value(*reply, F_LRMD_REMOTE_MSG_TYPE); reply 662 lib/lrmd/lrmd_client.c free_xml(*reply); reply 663 lib/lrmd/lrmd_client.c *reply = NULL; reply 667 lib/lrmd/lrmd_client.c native->pending_notify = g_list_append(native->pending_notify, *reply); reply 672 lib/lrmd/lrmd_client.c *reply = NULL; reply 676 lib/lrmd/lrmd_client.c free_xml(*reply); reply 677 lib/lrmd/lrmd_client.c *reply = NULL; reply 684 lib/lrmd/lrmd_client.c free_xml(*reply); reply 685 lib/lrmd/lrmd_client.c *reply = NULL; reply 719 lib/lrmd/lrmd_client.c lrmd_tls_send_recv(lrmd_t * lrmd, xmlNode * msg, int timeout, xmlNode ** reply) reply 741 lib/lrmd/lrmd_client.c if (reply) { reply 742 lib/lrmd/lrmd_client.c *reply = xml; reply 752 lib/lrmd/lrmd_client.c lrmd_send_xml(lrmd_t * lrmd, xmlNode * msg, int timeout, xmlNode ** reply) reply 759 lib/lrmd/lrmd_client.c rc = crm_ipc_send(native->ipc, msg, crm_ipc_client_response, timeout, reply); reply 763 lib/lrmd/lrmd_client.c rc = lrmd_tls_send_recv(lrmd, msg, timeout, reply); reply 955 lib/lrmd/lrmd_client.c xmlNode *reply = NULL; reply 968 lib/lrmd/lrmd_client.c rc = lrmd_send_xml(lrmd, hello, -1, &reply); reply 973 lib/lrmd/lrmd_client.c } else if (reply == NULL) { reply 977 lib/lrmd/lrmd_client.c const char *version = crm_element_value(reply, F_LRMD_PROTOCOL_VERSION); reply 978 lib/lrmd/lrmd_client.c const char *msg_type = crm_element_value(reply, F_LRMD_OPERATION); reply 979 lib/lrmd/lrmd_client.c const char *tmp_ticket = crm_element_value(reply, F_LRMD_CLIENTID); reply 981 lib/lrmd/lrmd_client.c crm_element_value_int(reply, F_LRMD_RC, &rc); reply 986 lib/lrmd/lrmd_client.c crm_log_xml_err(reply, "Protocol Error"); reply 990 lib/lrmd/lrmd_client.c crm_log_xml_err(reply, "Bad reply"); reply 994 lib/lrmd/lrmd_client.c crm_log_xml_err(reply, "Bad reply"); reply 1004 lib/lrmd/lrmd_client.c free_xml(reply); reply 93 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = event_data; reply 123 lib/pacemaker/pcmk_cluster_queries.c if (reply->reply_type != pcmk_controld_reply_ping) { reply 125 lib/pacemaker/pcmk_cluster_queries.c reply->reply_type); reply 131 lib/pacemaker/pcmk_cluster_queries.c return reply; reply 141 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = controld_event_reply(data, controld_api, reply 144 lib/pacemaker/pcmk_cluster_queries.c if (reply != NULL) { reply 146 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.sys_from, reply 147 lib/pacemaker/pcmk_cluster_queries.c reply->host_from, reply 148 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.fsa_state, reply 149 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.result); reply 163 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = controld_event_reply(data, controld_api, reply 166 lib/pacemaker/pcmk_cluster_queries.c if (reply != NULL) { reply 167 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "dc", reply->host_from); reply 181 lib/pacemaker/pcmk_cluster_queries.c pcmk_pacemakerd_api_reply_t *reply = event_data; reply 213 lib/pacemaker/pcmk_cluster_queries.c if (reply->reply_type != pcmk_pacemakerd_reply_ping) { reply 215 lib/pacemaker/pcmk_cluster_queries.c reply->reply_type); reply 222 lib/pacemaker/pcmk_cluster_queries.c crm_time_set_timet(crm_when, &reply->data.ping.last_good); reply 228 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.sys_from, reply 229 lib/pacemaker/pcmk_cluster_queries.c (reply->data.ping.status == pcmk_rc_ok)? reply 231 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.state):"query failed", reply 232 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 106 lib/services/systemd.c DBusMessage *reply = NULL; reply 118 lib/services/systemd.c reply = systemd_send_recv(msg, &error, DBUS_TIMEOUT_USE_DEFAULT); reply 127 lib/services/systemd.c } else if (reply == NULL) { reply 132 lib/services/systemd.c return reply; reply 226 lib/services/systemd.c DBusMessage *reply = NULL; reply 231 lib/services/systemd.c reply = dbus_pending_call_steal_reply(pending); reply 234 lib/services/systemd.c if (pcmk_dbus_find_error(pending, reply, &error)) { reply 245 lib/services/systemd.c if(reply) { reply 246 lib/services/systemd.c dbus_message_unref(reply); reply 309 lib/services/systemd.c execute_after_loadunit(DBusMessage *reply, svc_action_t *op) reply 317 lib/services/systemd.c if (pcmk_dbus_find_error((void *) &path, reply, &error)) { reply 323 lib/services/systemd.c } else if (!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, reply 336 lib/services/systemd.c dbus_message_get_args (reply, NULL, reply 365 lib/services/systemd.c DBusMessage *reply = NULL; reply 372 lib/services/systemd.c reply = dbus_pending_call_steal_reply(pending); reply 380 lib/services/systemd.c execute_after_loadunit(reply, user_data); reply 381 lib/services/systemd.c if (reply != NULL) { reply 382 lib/services/systemd.c dbus_message_unref(reply); reply 405 lib/services/systemd.c DBusMessage *reply = NULL; reply 439 lib/services/systemd.c reply = systemd_send_recv(msg, NULL, reply 443 lib/services/systemd.c unit = execute_after_loadunit(reply, op); reply 456 lib/services/systemd.c if (reply != NULL) { reply 457 lib/services/systemd.c dbus_message_unref(reply); reply 511 lib/services/systemd.c DBusMessage *reply = NULL; reply 523 lib/services/systemd.c reply = systemd_call_simple_method("ListUnitFiles"); reply 524 lib/services/systemd.c if (reply == NULL) { reply 527 lib/services/systemd.c if (!dbus_message_iter_init(reply, &args)) { reply 529 lib/services/systemd.c dbus_message_unref(reply); reply 532 lib/services/systemd.c if (!pcmk_dbus_type_check(reply, &args, DBUS_TYPE_ARRAY, reply 535 lib/services/systemd.c dbus_message_unref(reply); reply 548 lib/services/systemd.c if(!pcmk_dbus_type_check(reply, &unit, DBUS_TYPE_STRUCT, __func__, __LINE__)) { reply 554 lib/services/systemd.c if(!pcmk_dbus_type_check(reply, &elem, DBUS_TYPE_STRING, __func__, __LINE__)) { reply 593 lib/services/systemd.c dbus_message_unref(reply); reply 678 lib/services/systemd.c process_unit_method_reply(DBusMessage *reply, svc_action_t *op) reply 685 lib/services/systemd.c if (pcmk_dbus_find_error((void *) &error, reply, &error)) { reply 689 lib/services/systemd.c } else if (!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, reply 699 lib/services/systemd.c dbus_message_get_args(reply, NULL, reply 718 lib/services/systemd.c DBusMessage *reply = NULL; reply 725 lib/services/systemd.c reply = dbus_pending_call_steal_reply(pending); reply 733 lib/services/systemd.c process_unit_method_reply(reply, op); reply 735 lib/services/systemd.c if (reply != NULL) { reply 736 lib/services/systemd.c dbus_message_unref(reply); reply 893 lib/services/systemd.c DBusMessage *reply = NULL; reply 955 lib/services/systemd.c reply = systemd_send_recv(msg, NULL, op->timeout); reply 957 lib/services/systemd.c process_unit_method_reply(reply, op); reply 958 lib/services/systemd.c if (reply != NULL) { reply 959 lib/services/systemd.c dbus_message_unref(reply); reply 116 lib/services/upstart.c DBusMessage *reply = NULL; reply 134 lib/services/upstart.c reply = pcmk_dbus_send_recv(msg, upstart_proxy, &error, timeout); reply 142 lib/services/upstart.c } else if (!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, reply 149 lib/services/upstart.c dbus_message_get_args(reply, NULL, DBUS_TYPE_OBJECT_PATH, path, reply 158 lib/services/upstart.c if (reply != NULL) { reply 159 lib/services/upstart.c dbus_message_unref(reply); reply 207 lib/services/upstart.c DBusMessage *reply = NULL; reply 227 lib/services/upstart.c reply = pcmk_dbus_send_recv(msg, upstart_proxy, &error, DBUS_TIMEOUT_USE_DEFAULT); reply 235 lib/services/upstart.c } else if (!dbus_message_iter_init(reply, &args)) { reply 237 lib/services/upstart.c dbus_message_unref(reply); reply 241 lib/services/upstart.c if(!pcmk_dbus_type_check(reply, &args, DBUS_TYPE_ARRAY, __func__, __LINE__)) { reply 243 lib/services/upstart.c dbus_message_unref(reply); reply 253 lib/services/upstart.c if(!pcmk_dbus_type_check(reply, &unit, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { reply 277 lib/services/upstart.c dbus_message_unref(reply); reply 295 lib/services/upstart.c DBusMessage *reply; reply 307 lib/services/upstart.c reply = pcmk_dbus_send_recv(msg, upstart_proxy, &error, timeout); reply 315 lib/services/upstart.c } else if(reply == NULL) { reply 319 lib/services/upstart.c } else if (!dbus_message_iter_init(reply, &args)) { reply 324 lib/services/upstart.c if(!pcmk_dbus_type_check(reply, &args, DBUS_TYPE_ARRAY, __func__, __LINE__)) { reply 330 lib/services/upstart.c if(pcmk_dbus_type_check(reply, &unit, DBUS_TYPE_OBJECT_PATH, __func__, __LINE__)) { reply 342 lib/services/upstart.c if(reply) { reply 343 lib/services/upstart.c dbus_message_unref(reply); reply 450 lib/services/upstart.c DBusMessage *reply = NULL; reply 455 lib/services/upstart.c reply = dbus_pending_call_steal_reply(pending); reply 460 lib/services/upstart.c if (pcmk_dbus_find_error(pending, reply, &error)) { reply 469 lib/services/upstart.c } else if (!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, reply 478 lib/services/upstart.c dbus_message_get_args(reply, NULL, DBUS_TYPE_OBJECT_PATH, &path, reply 491 lib/services/upstart.c if (reply != NULL) { reply 492 lib/services/upstart.c dbus_message_unref(reply); reply 522 lib/services/upstart.c DBusMessage *reply = NULL; reply 658 lib/services/upstart.c reply = pcmk_dbus_send_recv(msg, upstart_proxy, &error, op->timeout); reply 668 lib/services/upstart.c } else if (!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, reply 676 lib/services/upstart.c dbus_message_get_args(reply, NULL, DBUS_TYPE_OBJECT_PATH, &path, reply 687 lib/services/upstart.c if (reply != NULL) { reply 688 lib/services/upstart.c dbus_message_unref(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 904 tools/crm_mon.c pcmk_pacemakerd_api_reply_t *reply = event_data; reply 925 tools/crm_mon.c if (reply->reply_type != pcmk_pacemakerd_reply_ping) { reply 927 tools/crm_mon.c reply->reply_type); reply 929 tools/crm_mon.c if ((reply->data.ping.last_good != (time_t) 0) && reply 930 tools/crm_mon.c (reply->data.ping.status == pcmk_rc_ok)) { reply 931 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;