reply 401 daemons/attrd/attrd_commands.c xmlNode *reply = create_xml_node(NULL, __func__); reply 404 daemons/attrd/attrd_commands.c if (reply == NULL) { reply 407 daemons/attrd/attrd_commands.c crm_xml_add(reply, F_TYPE, T_ATTRD); reply 408 daemons/attrd/attrd_commands.c crm_xml_add(reply, PCMK__XA_ATTR_VERSION, ATTRD_PROTOCOL_VERSION); reply 416 daemons/attrd/attrd_commands.c crm_xml_add(reply, PCMK__XA_ATTR_NAME, attr); reply 427 daemons/attrd/attrd_commands.c host_value = create_xml_node(reply, XML_CIB_TAG_NODE); reply 429 daemons/attrd/attrd_commands.c free_xml(reply); reply 442 daemons/attrd/attrd_commands.c host_value = create_xml_node(reply, XML_CIB_TAG_NODE); reply 444 daemons/attrd/attrd_commands.c free_xml(reply); reply 452 daemons/attrd/attrd_commands.c return reply; reply 470 daemons/attrd/attrd_commands.c xmlNode *reply; reply 486 daemons/attrd/attrd_commands.c reply = build_query_reply(attr, crm_element_value(query, reply 488 daemons/attrd/attrd_commands.c if (reply == NULL) { reply 493 daemons/attrd/attrd_commands.c crm_log_xml_trace(reply, "Reply"); reply 498 daemons/attrd/attrd_commands.c int rc = pcmk__ipc_send_xml(client, id, reply, flags); reply 505 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 304 daemons/based/based_callbacks.c process_ping_reply(xmlNode *reply) reply 307 daemons/based/based_callbacks.c const char *host = crm_element_value(reply, F_ORIG); reply 309 daemons/based/based_callbacks.c xmlNode *pong = get_message_xml(reply, F_CIB_CALLDATA); reply 356 daemons/based/based_callbacks.c sync_our_cib(reply, FALSE); reply 1151 daemons/based/based_callbacks.c cib_process_command(xmlNode * request, xmlNode ** reply, xmlNode ** cib_diff, gboolean privileged) reply 1181 daemons/based/based_callbacks.c *reply = NULL; reply 1345 daemons/based/based_callbacks.c *reply = create_xml_node(NULL, "cib-reply"); reply 1346 daemons/based/based_callbacks.c crm_xml_add(*reply, F_TYPE, T_CIB); reply 1347 daemons/based/based_callbacks.c crm_xml_add(*reply, F_CIB_OPERATION, op); reply 1348 daemons/based/based_callbacks.c crm_xml_add(*reply, F_CIB_CALLID, call_id); reply 1349 daemons/based/based_callbacks.c crm_xml_add(*reply, F_CIB_CLIENTID, caller); reply 1350 daemons/based/based_callbacks.c crm_xml_add_int(*reply, F_CIB_CALLOPTS, call_options); reply 1351 daemons/based/based_callbacks.c crm_xml_add_int(*reply, F_CIB_RC, rc); reply 1355 daemons/based/based_callbacks.c add_message_xml(*reply, F_CIB_CALLDATA, output); reply 1358 daemons/based/based_callbacks.c crm_log_xml_explicit(*reply, "cib:reply"); reply 31 daemons/based/based_common.c extern int cib_perform_command(xmlNode * request, xmlNode ** reply, xmlNode ** cib_diff, reply 566 daemons/based/based_remote.c struct pam_response *reply; reply 572 daemons/based/based_remote.c reply = calloc(1, sizeof(struct pam_response)); reply 573 daemons/based/based_remote.c CRM_ASSERT(reply != NULL); reply 582 daemons/based/based_remote.c reply[count].resp_retcode = 0; reply 583 daemons/based/based_remote.c reply[count].resp = string; /* We already made a copy */ reply 596 daemons/based/based_remote.c *response = reply; reply 597 daemons/based/based_remote.c reply = NULL; reply 603 daemons/based/based_remote.c if (reply[count].resp != NULL) { reply 608 daemons/based/based_remote.c while (*(reply[count].resp)) { reply 609 daemons/based/based_remote.c *(reply[count].resp)++ = '\0'; reply 611 daemons/based/based_remote.c free(reply[count].resp); reply 614 daemons/based/based_remote.c reply[count].resp = NULL; reply 617 daemons/based/based_remote.c free(reply); reply 618 daemons/based/based_remote.c reply = NULL; reply 1562 daemons/controld/controld_execd.c xmlNode *reply = create_request(CRM_OP_INVOKE_LRM, fragment, from_host, reply 1568 daemons/controld/controld_execd.c if (relay_message(reply, TRUE) == FALSE) { reply 1569 daemons/controld/controld_execd.c crm_log_xml_err(reply, "Unable to route reply"); reply 1571 daemons/controld/controld_execd.c free_xml(reply); reply 1581 daemons/controld/controld_execd.c xmlNode *reply = create_reply(msg, data); reply 1583 daemons/controld/controld_execd.c if (relay_message(reply, TRUE) == FALSE) { reply 1585 daemons/controld/controld_execd.c crm_log_xml_err(reply, "reply"); reply 1587 daemons/controld/controld_execd.c free_xml(reply); reply 1601 daemons/controld/controld_execd.c xmlNode *reply = create_request(CRM_OP_INVOKE_LRM, NULL, from_host, reply 1607 daemons/controld/controld_execd.c if (relay_message(reply, TRUE) == FALSE) { reply 1608 daemons/controld/controld_execd.c crm_log_xml_err(reply, "Unable to route reply"); reply 1610 daemons/controld/controld_execd.c free_xml(reply); reply 2082 daemons/controld/controld_execd.c xmlNode *reply = NULL; reply 2107 daemons/controld/controld_execd.c reply = create_request(CRM_OP_INVOKE_LRM, update, to_host, to_sys, CRM_SYSTEM_LRMD, NULL); reply 2113 daemons/controld/controld_execd.c crm_element_value(reply, XML_ATTR_REFERENCE)); reply 2115 daemons/controld/controld_execd.c if (relay_message(reply, TRUE) == FALSE) { reply 2116 daemons/controld/controld_execd.c crm_log_xml_err(reply, "Unable to route reply"); reply 2120 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 798 daemons/controld/controld_messages.c xmlNode *reply = NULL; reply 813 daemons/controld/controld_messages.c reply = create_reply(request, reply_data); reply 815 daemons/controld/controld_messages.c if (reply) { reply 816 daemons/controld/controld_messages.c (void) relay_message(reply, TRUE); reply 817 daemons/controld/controld_messages.c free_xml(reply); reply 837 daemons/controld/controld_messages.c xmlNode *reply = NULL; reply 841 daemons/controld/controld_messages.c reply = create_xml_node(NULL, XML_CIB_TAG_NODE); reply 842 daemons/controld/controld_messages.c crm_xml_add(reply, XML_PING_ATTR_SYSFROM, CRM_SYSTEM_CRMD); reply 845 daemons/controld/controld_messages.c crm_xml_add_boolean(reply, XML_ATTR_HAVE_QUORUM, fsa_has_quorum); reply 861 daemons/controld/controld_messages.c crm_xml_add_int(reply, XML_ATTR_ID, node->id); reply 862 daemons/controld/controld_messages.c crm_xml_add(reply, XML_ATTR_UUID, node->uuid); reply 863 daemons/controld/controld_messages.c crm_xml_add(reply, XML_ATTR_UNAME, node->uname); reply 864 daemons/controld/controld_messages.c crm_xml_add(reply, XML_NODE_IS_PEER, node->state); reply 865 daemons/controld/controld_messages.c crm_xml_add_boolean(reply, XML_NODE_IS_REMOTE, reply 870 daemons/controld/controld_messages.c msg = create_reply(msg, reply); reply 871 daemons/controld/controld_messages.c free_xml(reply); reply 491 daemons/execd/execd_commands.c xmlNode *reply = create_xml_node(NULL, T_LRMD_REPLY); reply 493 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_ORIGIN, origin); reply 494 daemons/execd/execd_commands.c crm_xml_add_int(reply, F_LRMD_RC, rc); reply 495 daemons/execd/execd_commands.c crm_xml_add_int(reply, F_LRMD_CALLID, call_id); reply 496 daemons/execd/execd_commands.c return reply; reply 1516 daemons/execd/execd_commands.c xmlNode **reply) reply 1541 daemons/execd/execd_commands.c *reply = create_lrmd_reply(__func__, rc, call_id); reply 1542 daemons/execd/execd_commands.c crm_xml_add(*reply, F_LRMD_OPERATION, CRM_OP_REGISTER); reply 1543 daemons/execd/execd_commands.c crm_xml_add(*reply, F_LRMD_CLIENTID, client->id); reply 1544 daemons/execd/execd_commands.c crm_xml_add(*reply, F_LRMD_PROTOCOL_VERSION, LRMD_PROTOCOL_VERSION); reply 1576 daemons/execd/execd_commands.c xmlNode *reply = NULL; reply 1589 daemons/execd/execd_commands.c reply = create_lrmd_reply(__func__, rc, call_id); reply 1591 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_RSC_ID, rsc->rsc_id); reply 1592 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_CLASS, rsc->class); reply 1593 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_PROVIDER, rsc->provider); reply 1594 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_TYPE, rsc->type); reply 1596 daemons/execd/execd_commands.c return reply; reply 1778 daemons/execd/execd_commands.c add_recurring_op_xml(xmlNode *reply, lrmd_rsc_t *rsc) reply 1780 daemons/execd/execd_commands.c xmlNode *rsc_xml = create_xml_node(reply, F_LRMD_RSC); reply 1800 daemons/execd/execd_commands.c xmlNode *reply = NULL; reply 1822 daemons/execd/execd_commands.c reply = create_lrmd_reply(__func__, rc, call_id); reply 1832 daemons/execd/execd_commands.c add_recurring_op_xml(reply, rsc); reply 1835 daemons/execd/execd_commands.c add_recurring_op_xml(reply, rsc); reply 1837 daemons/execd/execd_commands.c return reply; reply 1848 daemons/execd/execd_commands.c xmlNode *reply = NULL; reply 1875 daemons/execd/execd_commands.c rc = process_lrmd_signon(client, request, call_id, &reply); reply 1887 daemons/execd/execd_commands.c reply = process_lrmd_get_rsc_info(request, call_id); reply 1938 daemons/execd/execd_commands.c reply = process_lrmd_get_recurring(request, call_id); reply 1960 daemons/execd/execd_commands.c if (reply == NULL) { reply 1961 daemons/execd/execd_commands.c reply = create_lrmd_reply(__func__, rc, call_id); reply 1963 daemons/execd/execd_commands.c send_rc = lrmd_server_send_reply(client, id, reply); reply 1964 daemons/execd/execd_commands.c free_xml(reply); reply 209 daemons/execd/pacemaker-execd.c lrmd_server_send_reply(pcmk__client_t *client, uint32_t id, xmlNode *reply) reply 214 daemons/execd/pacemaker-execd.c return pcmk__ipc_send_xml(client, id, reply, FALSE); reply 217 daemons/execd/pacemaker-execd.c return lrmd_tls_send_msg(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 1788 daemons/fenced/fenced_commands.c xmlNode *reply; reply 1971 daemons/fenced/fenced_commands.c add_message_xml(query->reply, F_STONITH_CALLDATA, list); reply 1973 daemons/fenced/fenced_commands.c stonith_send_reply(query->reply, query->call_options, query->remote_peer, query->client_id); reply 1975 daemons/fenced/fenced_commands.c free_xml(query->reply); reply 2009 daemons/fenced/fenced_commands.c query->reply = stonith_construct_reply(msg, NULL, NULL, pcmk_ok); reply 2057 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 2060 daemons/fenced/fenced_commands.c reply = stonith_construct_async_reply(cmd, output, NULL, rc); reply 2072 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_SUBTYPE, "broadcast"); reply 2077 daemons/fenced/fenced_commands.c crm_log_xml_trace(reply, "Reply"); reply 2080 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_MERGED, "true"); reply 2084 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_OPERATION, T_STONITH_NOTIFY); reply 2085 daemons/fenced/fenced_commands.c send_cluster_message(NULL, crm_msg_stonith_ng, reply, FALSE); reply 2089 daemons/fenced/fenced_commands.c send_cluster_message(crm_get_peer(0, cmd->origin), crm_msg_stonith_ng, reply, FALSE); reply 2094 daemons/fenced/fenced_commands.c do_local_reply(reply, cmd->client, cmd->options & st_opt_sync_call, FALSE); reply 2113 daemons/fenced/fenced_commands.c free_xml(reply); reply 2344 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 2346 daemons/fenced/fenced_commands.c reply = create_xml_node(NULL, T_STONITH_REPLY); reply 2348 daemons/fenced/fenced_commands.c crm_xml_add(reply, "st_origin", __func__); reply 2349 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_TYPE, T_STONITH_NG); reply 2350 daemons/fenced/fenced_commands.c crm_xml_add(reply, "st_output", output); reply 2351 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_RC, rc); reply 2381 daemons/fenced/fenced_commands.c crm_xml_add(reply, name, value); reply 2384 daemons/fenced/fenced_commands.c add_message_xml(reply, F_STONITH_CALLDATA, data); reply 2387 daemons/fenced/fenced_commands.c return reply; reply 2393 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 2396 daemons/fenced/fenced_commands.c reply = create_xml_node(NULL, T_STONITH_REPLY); reply 2398 daemons/fenced/fenced_commands.c crm_xml_add(reply, "st_origin", __func__); reply 2399 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_TYPE, T_STONITH_NG); reply 2401 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_OPERATION, cmd->op); reply 2402 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_DEVICE, cmd->device); reply 2403 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_REMOTE_OP_ID, cmd->remote_op_id); reply 2404 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_CLIENTID, cmd->client); reply 2405 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_CLIENTNAME, cmd->client_name); reply 2406 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_TARGET, cmd->victim); reply 2407 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_ACTION, cmd->op); reply 2408 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_ORIGIN, cmd->origin); reply 2409 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_CALLID, cmd->id); reply 2410 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_CALLOPTS, cmd->options); reply 2412 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_RC, rc); reply 2414 daemons/fenced/fenced_commands.c crm_xml_add(reply, "st_output", output); reply 2418 daemons/fenced/fenced_commands.c add_message_xml(reply, F_STONITH_CALLDATA, data); reply 2420 daemons/fenced/fenced_commands.c return reply; reply 2475 daemons/fenced/fenced_commands.c stonith_send_reply(xmlNode * reply, int call_options, const char *remote_peer, reply 2479 daemons/fenced/fenced_commands.c send_cluster_message(crm_get_peer(0, remote_peer), crm_msg_stonith_ng, reply, FALSE); reply 2481 daemons/fenced/fenced_commands.c do_local_reply(reply, client_id, reply 2544 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 2570 daemons/fenced/fenced_commands.c xmlNode *reply = create_xml_node(NULL, "reply"); reply 2573 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_OPERATION, CRM_OP_REGISTER); reply 2574 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_CLIENTID, client->id); reply 2575 daemons/fenced/fenced_commands.c pcmk__ipc_send_xml(client, id, reply, flags); reply 2577 daemons/fenced/fenced_commands.c free_xml(reply); reply 2791 daemons/fenced/fenced_commands.c reply = stonith_construct_reply(request, output, data, rc); reply 2792 daemons/fenced/fenced_commands.c stonith_send_reply(reply, call_options, remote_peer, client_id); reply 2797 daemons/fenced/fenced_commands.c free_xml(reply); reply 406 daemons/fenced/fenced_remote.c xmlNode *reply = NULL; reply 419 daemons/fenced/fenced_remote.c reply = stonith_construct_reply(op->request, NULL, data, rc); reply 420 daemons/fenced/fenced_remote.c crm_xml_add(reply, F_STONITH_DELEGATE, op->delegate); reply 423 daemons/fenced/fenced_remote.c do_local_reply(reply, op->client_id, op->call_options & st_opt_sync_call, FALSE); reply 431 daemons/fenced/fenced_remote.c free_xml(reply); reply 520 daemons/pacemakerd/pacemakerd.c xmlNode *reply = NULL; reply 534 daemons/pacemakerd/pacemakerd.c reply = create_reply(msg, ping); reply 536 daemons/pacemakerd/pacemakerd.c if (reply) { reply 537 daemons/pacemakerd/pacemakerd.c if (pcmk__ipc_send_xml(c, id, reply, crm_ipc_server_event) != reply 541 daemons/pacemakerd/pacemakerd.c free_xml(reply); reply 1091 daemons/pacemakerd/pacemakerd.c xmlNode *reply = NULL; reply 1104 daemons/pacemakerd/pacemakerd.c rc = crm_ipc_send(ipc, request, crm_ipc_client_response, 0, &reply); reply 1111 daemons/pacemakerd/pacemakerd.c if ((rc == 0) || (reply == NULL)) { reply 1117 daemons/pacemakerd/pacemakerd.c if ((crm_element_value_int(reply, "status", &rc) == 0) reply 87 daemons/schedulerd/pacemaker-schedulerd.c xmlNode *reply = NULL; reply 151 daemons/schedulerd/pacemaker-schedulerd.c reply = create_reply(msg, sched_data_set->graph); reply 152 daemons/schedulerd/pacemaker-schedulerd.c CRM_ASSERT(reply != NULL); reply 160 daemons/schedulerd/pacemaker-schedulerd.c crm_xml_add(reply, F_CRM_TGRAPH_INPUT, filename); reply 161 daemons/schedulerd/pacemaker-schedulerd.c crm_xml_add_int(reply, "graph-errors", was_processing_error); reply 162 daemons/schedulerd/pacemaker-schedulerd.c crm_xml_add_int(reply, "graph-warnings", was_processing_warning); reply 163 daemons/schedulerd/pacemaker-schedulerd.c crm_xml_add_int(reply, "config-errors", pcmk__config_error); reply 164 daemons/schedulerd/pacemaker-schedulerd.c crm_xml_add_int(reply, "config-warnings", pcmk__config_warning); reply 166 daemons/schedulerd/pacemaker-schedulerd.c if (pcmk__ipc_send_xml(sender, 0, reply, reply 179 daemons/schedulerd/pacemaker-schedulerd.c crm_xml_add(reply, F_CRM_TGRAPH, graph_file); reply 183 daemons/schedulerd/pacemaker-schedulerd.c free_xml(first_named_child(reply, F_CRM_DATA)); reply 184 daemons/schedulerd/pacemaker-schedulerd.c CRM_ASSERT(pcmk__ipc_send_xml(sender, 0, reply, reply 188 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 1140 lib/common/ipc_client.c xmlNode ** reply) reply 1263 lib/common/ipc_client.c if (reply) { reply 1264 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 value = crm_element_value(reply, F_CRM_MSG_TYPE); reply 155 lib/common/ipc_pacemakerd.c if (crm_element_value(reply, XML_ATTR_REFERENCE) == NULL) { reply 161 lib/common/ipc_pacemakerd.c value = crm_element_value(reply, F_CRM_TASK); reply 170 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 1133 lib/fencing/st_client.c xmlNode *reply = get_xpath_object("//" F_STONITH_HISTORY_LIST, output, reply 1136 lib/fencing/st_client.c for (op = pcmk__xml_first_child(reply); op != NULL; reply 1504 lib/fencing/st_client.c xmlNode *reply = NULL; reply 1510 lib/fencing/st_client.c rc = crm_ipc_send(native->ipc, hello, crm_ipc_client_response, -1, &reply); reply 1517 lib/fencing/st_client.c } else if (reply == NULL) { reply 1522 lib/fencing/st_client.c const char *msg_type = crm_element_value(reply, F_STONITH_OPERATION); reply 1524 lib/fencing/st_client.c native->token = crm_element_value_copy(reply, F_STONITH_CLIENTID); reply 1528 lib/fencing/st_client.c crm_log_xml_debug(reply, "Invalid fencer reply"); reply 1533 lib/fencing/st_client.c crm_log_xml_debug(reply, "Invalid fencer reply"); reply 1546 lib/fencing/st_client.c free_xml(reply); reply 714 lib/lrmd/lrmd_client.c lrmd_tls_send_recv(lrmd_t * lrmd, xmlNode * msg, int timeout, xmlNode ** reply) reply 742 lib/lrmd/lrmd_client.c if (reply) { reply 743 lib/lrmd/lrmd_client.c *reply = xml; reply 753 lib/lrmd/lrmd_client.c lrmd_send_xml(lrmd_t * lrmd, xmlNode * msg, int timeout, xmlNode ** reply) reply 760 lib/lrmd/lrmd_client.c rc = crm_ipc_send(native->ipc, msg, crm_ipc_client_response, timeout, reply); reply 764 lib/lrmd/lrmd_client.c rc = lrmd_tls_send_recv(lrmd, msg, timeout, reply); reply 949 lib/lrmd/lrmd_client.c xmlNode *reply = NULL; reply 962 lib/lrmd/lrmd_client.c rc = lrmd_send_xml(lrmd, hello, -1, &reply); reply 967 lib/lrmd/lrmd_client.c } else if (reply == NULL) { reply 971 lib/lrmd/lrmd_client.c const char *version = crm_element_value(reply, F_LRMD_PROTOCOL_VERSION); reply 972 lib/lrmd/lrmd_client.c const char *msg_type = crm_element_value(reply, F_LRMD_OPERATION); reply 973 lib/lrmd/lrmd_client.c const char *tmp_ticket = crm_element_value(reply, F_LRMD_CLIENTID); reply 975 lib/lrmd/lrmd_client.c crm_element_value_int(reply, F_LRMD_RC, &rc); reply 980 lib/lrmd/lrmd_client.c crm_log_xml_err(reply, "Protocol Error"); reply 984 lib/lrmd/lrmd_client.c crm_log_xml_err(reply, "Bad reply"); reply 988 lib/lrmd/lrmd_client.c crm_log_xml_err(reply, "Bad reply"); reply 998 lib/lrmd/lrmd_client.c free_xml(reply); reply 331 lib/services/dbus.c pcmk_dbus_find_error(DBusPendingCall *pending, DBusMessage *reply, reply 341 lib/services/dbus.c } else if (reply == NULL) { reply 346 lib/services/dbus.c int dtype = dbus_message_get_type(reply); reply 353 lib/services/dbus.c dbus_message_iter_init(reply, &args); reply 374 lib/services/dbus.c dbus_set_error_from_message(&error, reply); reply 417 lib/services/dbus.c DBusMessage *reply = NULL; reply 449 lib/services/dbus.c reply = dbus_pending_call_steal_reply(pending); reply 452 lib/services/dbus.c (void) pcmk_dbus_find_error(pending, reply, error); reply 459 lib/services/dbus.c return reply; reply 590 lib/services/dbus.c handle_query_result(DBusMessage *reply, struct property_query *data) reply 599 lib/services/dbus.c if (pcmk_dbus_find_error((void*)&error, reply, &error)) { reply 607 lib/services/dbus.c dbus_message_iter_init(reply, &args); reply 608 lib/services/dbus.c if (!pcmk_dbus_type_check(reply, &args, DBUS_TYPE_VARIANT, reply 617 lib/services/dbus.c if (!pcmk_dbus_type_check(reply, &variant_iter, DBUS_TYPE_STRING, reply 658 lib/services/dbus.c DBusMessage *reply = NULL; reply 662 lib/services/dbus.c reply = dbus_pending_call_steal_reply(pending); reply 665 lib/services/dbus.c value = handle_query_result(reply, user_data); reply 668 lib/services/dbus.c if (reply) { reply 669 lib/services/dbus.c dbus_message_unref(reply); reply 764 lib/services/dbus.c DBusMessage *reply = pcmk_dbus_send_recv(msg, connection, NULL, reply 767 lib/services/dbus.c output = handle_query_result(reply, query_data); reply 769 lib/services/dbus.c if (reply) { reply 770 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 727 lib/services/systemd.c DBusMessage *reply = NULL; reply 797 lib/services/systemd.c reply = systemd_send_recv(msg, NULL, op->timeout); reply 799 lib/services/systemd.c systemd_exec_result(reply, op); reply 801 lib/services/systemd.c if(reply) { reply 802 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 294 tools/attrd_updater.c send_attrd_query(const char *name, const char *host, xmlNode **reply) reply 318 tools/attrd_updater.c rc = crm_ipc_send(ipc, query, crm_ipc_client_response, 0, reply); reply 340 tools/attrd_updater.c validate_attrd_reply(xmlNode *reply, const char *attr_name) reply 344 tools/attrd_updater.c if (reply == NULL) { reply 349 tools/attrd_updater.c crm_log_xml_trace(reply, "Reply"); reply 351 tools/attrd_updater.c reply_attr = crm_element_value(reply, PCMK__XA_ATTR_NAME); reply 358 tools/attrd_updater.c if (!pcmk__str_eq(crm_element_value(reply, F_TYPE), T_ATTRD, pcmk__str_casei) reply 359 tools/attrd_updater.c || (crm_element_value(reply, PCMK__XA_ATTR_VERSION) == NULL) reply 378 tools/attrd_updater.c print_attrd_values(xmlNode *reply, const char *attr_name) reply 385 tools/attrd_updater.c for (child = pcmk__xml_first_child(reply); child != NULL; reply 420 tools/attrd_updater.c xmlNode *reply = NULL; reply 431 tools/attrd_updater.c rc = send_attrd_query(attr_name, attr_node, &reply); reply 438 tools/attrd_updater.c rc = validate_attrd_reply(reply, attr_name); reply 440 tools/attrd_updater.c if (reply != NULL) { reply 441 tools/attrd_updater.c free_xml(reply); reply 447 tools/attrd_updater.c if (print_attrd_values(reply, attr_name) == FALSE) { reply 451 tools/attrd_updater.c free_xml(reply); reply 148 tools/crm_node.c pcmk_controld_api_reply_t *reply = event_data; reply 174 tools/crm_node.c if (reply->reply_type != pcmk_controld_reply_info) { reply 177 tools/crm_node.c reply->reply_type); reply 180 tools/crm_node.c if (reply->data.node_info.id == 0) { reply 186 tools/crm_node.c printf("%d\n", reply->data.node_info.id); reply 191 tools/crm_node.c if (reply->reply_type != pcmk_controld_reply_info) { reply 194 tools/crm_node.c reply->reply_type); reply 197 tools/crm_node.c if (reply->data.node_info.uname == NULL) { reply 202 tools/crm_node.c printf("%s\n", reply->data.node_info.uname); reply 206 tools/crm_node.c if (reply->reply_type != pcmk_controld_reply_info) { reply 209 tools/crm_node.c reply->reply_type); reply 212 tools/crm_node.c printf("%d\n", reply->data.node_info.have_quorum); reply 213 tools/crm_node.c if (!(reply->data.node_info.have_quorum)) { reply 221 tools/crm_node.c if (reply->reply_type != pcmk_controld_reply_nodes) { reply 224 tools/crm_node.c reply->reply_type); reply 227 tools/crm_node.c reply->data.nodes = g_list_sort(reply->data.nodes, sort_node); reply 228 tools/crm_node.c for (GList *node_iter = reply->data.nodes; reply 189 tools/crmadmin.c pcmk_controld_api_reply_t *reply = event_data; reply 218 tools/crmadmin.c if (reply->reply_type != pcmk_controld_reply_ping) { reply 220 tools/crmadmin.c reply->reply_type); reply 228 tools/crmadmin.c reply->data.ping.sys_from, reply 229 tools/crmadmin.c reply->host_from, reply 230 tools/crmadmin.c reply->data.ping.fsa_state, reply 231 tools/crmadmin.c reply->data.ping.result); reply 232 tools/crmadmin.c if (BE_SILENT && (reply->data.ping.fsa_state != NULL)) { reply 233 tools/crmadmin.c fprintf(stderr, "%s\n", reply->data.ping.fsa_state); reply 239 tools/crmadmin.c printf("Designated Controller is: %s\n", reply->host_from); reply 240 tools/crmadmin.c if (BE_SILENT && (reply->host_from != NULL)) { reply 241 tools/crmadmin.c fprintf(stderr, "%s\n", reply->host_from); reply 261 tools/crmadmin.c pcmk_pacemakerd_api_reply_t *reply = event_data; reply 290 tools/crmadmin.c if (reply->reply_type != pcmk_pacemakerd_reply_ping) { reply 292 tools/crmadmin.c reply->reply_type); reply 303 tools/crmadmin.c crm_time_set_timet(crm_when, &reply->data.ping.last_good); reply 309 tools/crmadmin.c reply->data.ping.sys_from, reply 310 tools/crmadmin.c (reply->data.ping.status == pcmk_rc_ok)? reply 312 tools/crmadmin.c reply->data.ping.state):"query failed", reply 313 tools/crmadmin.c (reply->data.ping.status == pcmk_rc_ok)?"last updated":"", reply 314 tools/crmadmin.c (reply->data.ping.status == pcmk_rc_ok)?pinged_buf:""); reply 316 tools/crmadmin.c (reply->data.ping.state != pcmk_pacemakerd_state_invalid)) { reply 318 tools/crmadmin.c (reply->data.ping.status == pcmk_rc_ok)? reply 320 tools/crmadmin.c reply->data.ping.state):