reply 43 daemons/attrd/attrd_ipc.c xmlNode *reply = create_xml_node(NULL, __func__); reply 46 daemons/attrd/attrd_ipc.c if (reply == NULL) { reply 49 daemons/attrd/attrd_ipc.c crm_xml_add(reply, F_TYPE, T_ATTRD); reply 50 daemons/attrd/attrd_ipc.c crm_xml_add(reply, F_SUBTYPE, PCMK__ATTRD_CMD_QUERY); reply 51 daemons/attrd/attrd_ipc.c crm_xml_add(reply, PCMK__XA_ATTR_VERSION, ATTRD_PROTOCOL_VERSION); reply 59 daemons/attrd/attrd_ipc.c crm_xml_add(reply, PCMK__XA_ATTR_NAME, attr); reply 70 daemons/attrd/attrd_ipc.c host_value = create_xml_node(reply, XML_CIB_TAG_NODE); reply 72 daemons/attrd/attrd_ipc.c free_xml(reply); reply 85 daemons/attrd/attrd_ipc.c host_value = create_xml_node(reply, XML_CIB_TAG_NODE); reply 87 daemons/attrd/attrd_ipc.c free_xml(reply); reply 95 daemons/attrd/attrd_ipc.c return reply; reply 204 daemons/attrd/attrd_ipc.c xmlNode *reply = NULL; reply 219 daemons/attrd/attrd_ipc.c reply = build_query_reply(attr, crm_element_value(query, reply 221 daemons/attrd/attrd_ipc.c if (reply == NULL) { reply 231 daemons/attrd/attrd_ipc.c return reply; reply 182 daemons/attrd/attrd_messages.c xmlNode *reply = NULL; reply 190 daemons/attrd/attrd_messages.c reply = pcmk__process_request(request, attrd_handlers); reply 192 daemons/attrd/attrd_messages.c if (reply != NULL) { reply 193 daemons/attrd/attrd_messages.c crm_log_xml_trace(reply, "Reply"); reply 196 daemons/attrd/attrd_messages.c pcmk__ipc_send_xml(request->ipc_client, request->ipc_id, reply, reply 202 daemons/attrd/attrd_messages.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 1186 daemons/based/based_callbacks.c cib_process_command(xmlNode * request, xmlNode ** reply, xmlNode ** cib_diff, gboolean privileged) reply 1223 daemons/based/based_callbacks.c *reply = NULL; reply 1423 daemons/based/based_callbacks.c *reply = create_xml_node(NULL, "cib-reply"); reply 1424 daemons/based/based_callbacks.c crm_xml_add(*reply, F_TYPE, T_CIB); reply 1425 daemons/based/based_callbacks.c crm_xml_add(*reply, F_CIB_OPERATION, op); reply 1426 daemons/based/based_callbacks.c crm_xml_add(*reply, F_CIB_CALLID, call_id); reply 1427 daemons/based/based_callbacks.c crm_xml_add(*reply, F_CIB_CLIENTID, caller); reply 1428 daemons/based/based_callbacks.c crm_xml_add_int(*reply, F_CIB_CALLOPTS, call_options); reply 1429 daemons/based/based_callbacks.c crm_xml_add_int(*reply, F_CIB_RC, rc); reply 1433 daemons/based/based_callbacks.c add_message_xml(*reply, F_CIB_CALLDATA, output); reply 1436 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 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 1559 daemons/controld/controld_execd.c xmlNode *reply = create_request(CRM_OP_INVOKE_LRM, NULL, from_host, reply 1565 daemons/controld/controld_execd.c if (relay_message(reply, TRUE) == FALSE) { reply 1566 daemons/controld/controld_execd.c crm_log_xml_err(reply, "Unable to route reply"); reply 1568 daemons/controld/controld_execd.c free_xml(reply); reply 2065 daemons/controld/controld_execd.c xmlNode *reply = NULL; reply 2090 daemons/controld/controld_execd.c reply = create_request(CRM_OP_INVOKE_LRM, update, to_host, to_sys, CRM_SYSTEM_LRMD, NULL); reply 2096 daemons/controld/controld_execd.c crm_element_value(reply, XML_ATTR_REFERENCE)); reply 2098 daemons/controld/controld_execd.c if (relay_message(reply, TRUE) == FALSE) { reply 2099 daemons/controld/controld_execd.c crm_log_xml_err(reply, "Unable to route reply"); reply 2103 daemons/controld/controld_execd.c free_xml(reply); reply 176 daemons/controld/controld_join_client.c xmlNode *reply = NULL; reply 181 daemons/controld/controld_join_client.c reply = create_request(CRM_OP_JOIN_REQUEST, generation, fsa_our_dc, reply 184 daemons/controld/controld_join_client.c crm_xml_add(reply, F_CRM_JOIN_ID, join_id); reply 185 daemons/controld/controld_join_client.c crm_xml_add(reply, XML_ATTR_CRM_VERSION, CRM_FEATURE_SET); reply 186 daemons/controld/controld_join_client.c send_cluster_message(crm_get_peer(0, fsa_our_dc), crm_msg_crmd, reply, TRUE); reply 187 daemons/controld/controld_join_client.c free_xml(reply); reply 277 daemons/controld/controld_join_client.c xmlNode *reply = create_request(CRM_OP_JOIN_CONFIRM, tmp1, fsa_our_dc, reply 280 daemons/controld/controld_join_client.c crm_xml_add_int(reply, F_CRM_JOIN_ID, join_id); reply 304 daemons/controld/controld_join_client.c send_cluster_message(crm_get_peer(0, fsa_our_dc), crm_msg_crmd, reply, TRUE); reply 305 daemons/controld/controld_join_client.c free_xml(reply); reply 753 daemons/controld/controld_messages.c xmlNode *reply = NULL; reply 771 daemons/controld/controld_messages.c reply = create_reply(msg, ping); reply 773 daemons/controld/controld_messages.c if (reply != NULL) { reply 774 daemons/controld/controld_messages.c (void) relay_message(reply, TRUE); reply 775 daemons/controld/controld_messages.c free_xml(reply); reply 794 daemons/controld/controld_messages.c xmlNode *reply = NULL; reply 809 daemons/controld/controld_messages.c reply = create_reply(request, reply_data); reply 811 daemons/controld/controld_messages.c if (reply) { reply 812 daemons/controld/controld_messages.c (void) relay_message(reply, TRUE); reply 813 daemons/controld/controld_messages.c free_xml(reply); reply 833 daemons/controld/controld_messages.c xmlNode *reply = NULL; reply 867 daemons/controld/controld_messages.c reply = create_reply(msg, reply_data); reply 869 daemons/controld/controld_messages.c if (reply != NULL) { reply 870 daemons/controld/controld_messages.c (void) relay_message(reply, TRUE); reply 871 daemons/controld/controld_messages.c free_xml(reply); reply 119 daemons/controld/controld_schedulerd.c handle_reply(pcmk_schedulerd_api_reply_t *reply) reply 127 daemons/controld/controld_schedulerd.c msg_ref = reply->data.graph.reference; reply 148 daemons/controld/controld_schedulerd.c crm_xml_add(fsa_input.msg, F_CRM_TGRAPH_INPUT, reply->data.graph.input); reply 151 daemons/controld/controld_schedulerd.c add_node_copy(crm_data_node, reply->data.graph.tgraph); reply 165 daemons/controld/controld_schedulerd.c pcmk_schedulerd_api_reply_t *reply = event_data; reply 173 daemons/controld/controld_schedulerd.c handle_reply(reply); reply 538 daemons/execd/execd_commands.c xmlNode *reply = create_xml_node(NULL, T_LRMD_REPLY); reply 540 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_ORIGIN, origin); reply 541 daemons/execd/execd_commands.c crm_xml_add_int(reply, F_LRMD_RC, rc); reply 542 daemons/execd/execd_commands.c crm_xml_add_int(reply, F_LRMD_CALLID, call_id); reply 543 daemons/execd/execd_commands.c return reply; reply 1472 daemons/execd/execd_commands.c xmlNode **reply) reply 1499 daemons/execd/execd_commands.c *reply = create_lrmd_reply(__func__, rc, call_id); reply 1500 daemons/execd/execd_commands.c crm_xml_add(*reply, F_LRMD_OPERATION, CRM_OP_REGISTER); reply 1501 daemons/execd/execd_commands.c crm_xml_add(*reply, F_LRMD_CLIENTID, client->id); reply 1502 daemons/execd/execd_commands.c crm_xml_add(*reply, F_LRMD_PROTOCOL_VERSION, LRMD_PROTOCOL_VERSION); reply 1534 daemons/execd/execd_commands.c xmlNode *reply = NULL; reply 1547 daemons/execd/execd_commands.c reply = create_lrmd_reply(__func__, rc, call_id); reply 1549 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_RSC_ID, rsc->rsc_id); reply 1550 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_CLASS, rsc->class); reply 1551 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_PROVIDER, rsc->provider); reply 1552 daemons/execd/execd_commands.c crm_xml_add(reply, F_LRMD_TYPE, rsc->type); reply 1554 daemons/execd/execd_commands.c return reply; reply 1732 daemons/execd/execd_commands.c add_recurring_op_xml(xmlNode *reply, lrmd_rsc_t *rsc) reply 1734 daemons/execd/execd_commands.c xmlNode *rsc_xml = create_xml_node(reply, F_LRMD_RSC); reply 1754 daemons/execd/execd_commands.c xmlNode *reply = NULL; reply 1776 daemons/execd/execd_commands.c reply = create_lrmd_reply(__func__, rc, call_id); reply 1786 daemons/execd/execd_commands.c add_recurring_op_xml(reply, rsc); reply 1789 daemons/execd/execd_commands.c add_recurring_op_xml(reply, rsc); reply 1791 daemons/execd/execd_commands.c return reply; reply 1802 daemons/execd/execd_commands.c xmlNode *reply = NULL; reply 1825 daemons/execd/execd_commands.c rc = process_lrmd_signon(client, request, call_id, &reply); reply 1837 daemons/execd/execd_commands.c reply = process_lrmd_get_rsc_info(request, call_id); reply 1888 daemons/execd/execd_commands.c reply = process_lrmd_get_recurring(request, call_id); reply 1911 daemons/execd/execd_commands.c if (reply == NULL) { reply 1912 daemons/execd/execd_commands.c reply = create_lrmd_reply(__func__, rc, call_id); reply 1914 daemons/execd/execd_commands.c send_rc = lrmd_server_send_reply(client, id, reply); reply 1915 daemons/execd/execd_commands.c free_xml(reply); reply 204 daemons/execd/pacemaker-execd.c lrmd_server_send_reply(pcmk__client_t *client, uint32_t id, xmlNode *reply) reply 209 daemons/execd/pacemaker-execd.c return pcmk__ipc_send_xml(client, id, reply, FALSE); reply 212 daemons/execd/pacemaker-execd.c return lrmd__remote_send_xml(client->remote, reply, id, "reply"); reply 62 daemons/execd/pacemaker-execd.h int lrmd_server_send_reply(pcmk__client_t *client, uint32_t id, xmlNode *reply); reply 71 daemons/fenced/fenced_commands.c static void stonith_send_reply(xmlNode * reply, int call_options, const char *remote_peer, reply 2279 daemons/fenced/fenced_commands.c xmlNode *reply; reply 2479 daemons/fenced/fenced_commands.c add_message_xml(query->reply, F_STONITH_CALLDATA, list); reply 2482 daemons/fenced/fenced_commands.c stonith_send_reply(query->reply, query->call_options, query->remote_peer, reply 2486 daemons/fenced/fenced_commands.c free_xml(query->reply); reply 2595 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 2610 daemons/fenced/fenced_commands.c reply = construct_async_reply(cmd, result); reply 2612 daemons/fenced/fenced_commands.c pcmk__xe_set_bool_attr(reply, F_STONITH_MERGED, true); reply 2622 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_SUBTYPE, "broadcast"); reply 2623 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_OPERATION, T_STONITH_NOTIFY); reply 2624 daemons/fenced/fenced_commands.c send_cluster_message(NULL, crm_msg_stonith_ng, reply, FALSE); reply 2627 daemons/fenced/fenced_commands.c stonith_send_reply(reply, cmd->options, cmd->origin, client); reply 2630 daemons/fenced/fenced_commands.c crm_log_xml_trace(reply, "Reply"); reply 2631 daemons/fenced/fenced_commands.c free_xml(reply); reply 2928 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 2930 daemons/fenced/fenced_commands.c reply = create_xml_node(NULL, T_STONITH_REPLY); reply 2932 daemons/fenced/fenced_commands.c crm_xml_add(reply, "st_origin", __func__); reply 2933 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_TYPE, T_STONITH_NG); reply 2934 daemons/fenced/fenced_commands.c stonith__xe_set_result(reply, result); reply 2964 daemons/fenced/fenced_commands.c crm_xml_add(reply, name, value); reply 2967 daemons/fenced/fenced_commands.c add_message_xml(reply, F_STONITH_CALLDATA, data); reply 2970 daemons/fenced/fenced_commands.c return reply; reply 2984 daemons/fenced/fenced_commands.c xmlNode *reply = create_xml_node(NULL, T_STONITH_REPLY); reply 2986 daemons/fenced/fenced_commands.c crm_xml_add(reply, "st_origin", __func__); reply 2987 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_TYPE, T_STONITH_NG); reply 2988 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_OPERATION, cmd->op); reply 2989 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_DEVICE, cmd->device); reply 2990 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_REMOTE_OP_ID, cmd->remote_op_id); reply 2991 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_CLIENTID, cmd->client); reply 2992 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_CLIENTNAME, cmd->client_name); reply 2993 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_TARGET, cmd->target); reply 2994 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_ACTION, cmd->op); reply 2995 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_ORIGIN, cmd->origin); reply 2996 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_CALLID, cmd->id); reply 2997 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_CALLOPTS, cmd->options); reply 2999 daemons/fenced/fenced_commands.c stonith__xe_set_result(reply, result); reply 3000 daemons/fenced/fenced_commands.c return reply; reply 3065 daemons/fenced/fenced_commands.c stonith_send_reply(xmlNode *reply, int call_options, const char *remote_peer, reply 3068 daemons/fenced/fenced_commands.c CRM_CHECK((reply != NULL) && ((remote_peer != NULL) || (client != NULL)), reply 3072 daemons/fenced/fenced_commands.c do_local_reply(reply, client, call_options); reply 3075 daemons/fenced/fenced_commands.c reply, FALSE); reply 3163 daemons/fenced/fenced_commands.c xmlNode *reply = create_xml_node(NULL, "reply"); reply 3166 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_OPERATION, CRM_OP_REGISTER); reply 3167 daemons/fenced/fenced_commands.c crm_xml_add(reply, F_STONITH_CLIENTID, request->ipc_client->id); reply 3170 daemons/fenced/fenced_commands.c return reply; reply 3235 daemons/fenced/fenced_commands.c query->reply = fenced_construct_reply(request->xml, NULL, &request->result); reply 3397 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 3407 daemons/fenced/fenced_commands.c reply = fenced_construct_reply(request->xml, data, &request->result); reply 3410 daemons/fenced/fenced_commands.c return reply; reply 3559 daemons/fenced/fenced_commands.c xmlNode *reply = NULL; reply 3565 daemons/fenced/fenced_commands.c reply = pcmk__process_request(request, fenced_handlers); reply 3566 daemons/fenced/fenced_commands.c if (reply != NULL) { reply 3573 daemons/fenced/fenced_commands.c pcmk__ipc_send_xml(request->ipc_client, request->ipc_id, reply, reply 3577 daemons/fenced/fenced_commands.c stonith_send_reply(reply, request->call_options, reply 3580 daemons/fenced/fenced_commands.c free_xml(reply); reply 441 daemons/fenced/fenced_remote.c xmlNode *reply = NULL; reply 454 daemons/fenced/fenced_remote.c reply = fenced_construct_reply(op->request, data, &op->result); reply 455 daemons/fenced/fenced_remote.c crm_xml_add(reply, F_STONITH_DELEGATE, op->delegate); reply 462 daemons/fenced/fenced_remote.c do_local_reply(reply, client, op->call_options); reply 473 daemons/fenced/fenced_remote.c free_xml(reply); reply 230 daemons/pacemakerd/pacemakerd.c pcmk_pacemakerd_api_reply_t *reply = event_data; reply 245 daemons/pacemakerd/pacemakerd.c if (reply->reply_type != pcmk_pacemakerd_reply_shutdown) { reply 247 daemons/pacemakerd/pacemakerd.c reply->reply_type); reply 44 daemons/pacemakerd/pcmkd_messages.c xmlNode *reply = NULL; reply 62 daemons/pacemakerd/pcmkd_messages.c reply = create_reply(msg, ping); reply 66 daemons/pacemakerd/pcmkd_messages.c if (reply == NULL) { reply 90 daemons/pacemakerd/pcmkd_messages.c return reply; reply 99 daemons/pacemakerd/pcmkd_messages.c xmlNode *reply = NULL; reply 123 daemons/pacemakerd/pcmkd_messages.c reply = create_reply(msg, shutdown); reply 126 daemons/pacemakerd/pcmkd_messages.c if (reply == NULL) { reply 138 daemons/pacemakerd/pcmkd_messages.c return reply; reply 226 daemons/pacemakerd/pcmkd_messages.c xmlNode *reply = NULL; reply 241 daemons/pacemakerd/pcmkd_messages.c reply = pcmk__process_request(&request, pcmkd_handlers); reply 243 daemons/pacemakerd/pcmkd_messages.c if (reply != NULL) { reply 244 daemons/pacemakerd/pcmkd_messages.c pcmk__ipc_send_xml(c, id, reply, crm_ipc_server_event); reply 245 daemons/pacemakerd/pcmkd_messages.c free_xml(reply); reply 72 daemons/schedulerd/schedulerd_messages.c xmlNode *reply = NULL; reply 130 daemons/schedulerd/schedulerd_messages.c reply = create_reply(msg, data_set->graph); reply 132 daemons/schedulerd/schedulerd_messages.c if (reply == NULL) { reply 149 daemons/schedulerd/schedulerd_messages.c crm_xml_add(reply, F_CRM_TGRAPH_INPUT, filename); reply 150 daemons/schedulerd/schedulerd_messages.c crm_xml_add_int(reply, PCMK__XA_GRAPH_ERRORS, was_processing_error); reply 151 daemons/schedulerd/schedulerd_messages.c crm_xml_add_int(reply, PCMK__XA_GRAPH_WARNINGS, was_processing_warning); reply 152 daemons/schedulerd/schedulerd_messages.c crm_xml_add_int(reply, PCMK__XA_CONFIG_ERRORS, crm_config_error); reply 153 daemons/schedulerd/schedulerd_messages.c crm_xml_add_int(reply, PCMK__XA_CONFIG_WARNINGS, crm_config_warning); reply 177 daemons/schedulerd/schedulerd_messages.c return reply; reply 262 daemons/schedulerd/schedulerd_messages.c xmlNode *reply = NULL; reply 277 daemons/schedulerd/schedulerd_messages.c reply = pcmk__process_request(&request, schedulerd_handlers); reply 279 daemons/schedulerd/schedulerd_messages.c if (reply != NULL) { reply 280 daemons/schedulerd/schedulerd_messages.c pcmk__ipc_send_xml(c, id, reply, crm_ipc_server_event); reply 281 daemons/schedulerd/schedulerd_messages.c free_xml(reply); reply 174 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 62 lib/common/ipc_attrd.c dispatch(pcmk_ipc_api_t *api, xmlNode *reply) reply 71 lib/common/ipc_attrd.c if (pcmk__str_eq((const char *) reply->name, "ack", pcmk__str_none)) { reply 76 lib/common/ipc_attrd.c value = crm_element_value(reply, F_TYPE); reply 85 lib/common/ipc_attrd.c value = crm_element_value(reply, F_SUBTYPE); reply 91 lib/common/ipc_attrd.c if (!xmlHasProp(reply, (pcmkXmlStr) PCMK__XA_ATTR_NAME)) { reply 96 lib/common/ipc_attrd.c set_pairs_data(&reply_data, reply); reply 622 lib/common/ipc_client.c xmlNode *reply = NULL; reply 639 lib/common/ipc_client.c rc = crm_ipc_send(api->ipc, request, flags, 0, &reply); reply 648 lib/common/ipc_client.c if (reply != NULL) { reply 649 lib/common/ipc_client.c bool more = call_api_dispatch(api, reply); reply 651 lib/common/ipc_client.c free_xml(reply); reply 1210 lib/common/ipc_client.c xmlNode ** reply) reply 1333 lib/common/ipc_client.c if (reply) { reply 1334 lib/common/ipc_client.c *reply = string2xml(crm_ipc_buffer(client)); reply 161 lib/common/ipc_controld.c dispatch(pcmk_ipc_api_t *api, xmlNode *reply) reply 185 lib/common/ipc_controld.c if (pcmk__str_eq(crm_element_name(reply), "ack", pcmk__str_none)) { reply 200 lib/common/ipc_controld.c value = crm_element_value(reply, F_CRM_MSG_TYPE); reply 209 lib/common/ipc_controld.c if (pcmk__str_empty(crm_element_value(reply, XML_ATTR_REFERENCE))) { reply 215 lib/common/ipc_controld.c value = crm_element_value(reply, F_CRM_TASK); reply 224 lib/common/ipc_controld.c reply_data.feature_set = crm_element_value(reply, XML_ATTR_VERSION); reply 225 lib/common/ipc_controld.c reply_data.host_from = crm_element_value(reply, F_CRM_HOST_FROM); reply 226 lib/common/ipc_controld.c msg_data = get_message_xml(reply, F_CRM_DATA); reply 170 lib/common/ipc_pacemakerd.c dispatch(pcmk_ipc_api_t *api, xmlNode *reply) reply 180 lib/common/ipc_pacemakerd.c if (pcmk__str_eq((const char *) reply->name, "ack", pcmk__str_none)) { reply 182 lib/common/ipc_pacemakerd.c pcmk__scan_ll(crm_element_value(reply, "status"), &ack_status, CRM_EX_OK); reply 186 lib/common/ipc_pacemakerd.c value = crm_element_value(reply, F_CRM_MSG_TYPE); reply 196 lib/common/ipc_pacemakerd.c if (pcmk__str_empty(crm_element_value(reply, XML_ATTR_REFERENCE))) { reply 202 lib/common/ipc_pacemakerd.c value = crm_element_value(reply, F_CRM_TASK); reply 205 lib/common/ipc_pacemakerd.c msg_data = get_message_xml(reply, F_CRM_DATA); reply 78 lib/common/ipc_schedulerd.c dispatch(pcmk_ipc_api_t *api, xmlNode *reply) reply 87 lib/common/ipc_schedulerd.c if (pcmk__str_eq((const char *) reply->name, "ack", pcmk__str_casei)) { reply 91 lib/common/ipc_schedulerd.c value = crm_element_value(reply, F_CRM_MSG_TYPE); reply 100 lib/common/ipc_schedulerd.c if (pcmk__str_empty(crm_element_value(reply, XML_ATTR_REFERENCE))) { reply 107 lib/common/ipc_schedulerd.c msg_data = get_message_xml(reply, F_CRM_DATA); reply 108 lib/common/ipc_schedulerd.c value = crm_element_value(reply, F_CRM_TASK); reply 112 lib/common/ipc_schedulerd.c reply_data.data.graph.reference = crm_element_value(reply, XML_ATTR_REFERENCE); reply 113 lib/common/ipc_schedulerd.c reply_data.data.graph.input = crm_element_value(reply, F_CRM_TGRAPH_INPUT); 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 718 lib/fencing/st_client.c xmlNode *reply = get_xpath_object("//" F_STONITH_HISTORY_LIST, output, reply 721 lib/fencing/st_client.c for (op = pcmk__xml_first_child(reply); op != NULL; reply 1127 lib/fencing/st_client.c xmlNode *reply = NULL; reply 1133 lib/fencing/st_client.c rc = crm_ipc_send(native->ipc, hello, crm_ipc_client_response, -1, &reply); reply 1140 lib/fencing/st_client.c } else if (reply == NULL) { reply 1145 lib/fencing/st_client.c const char *msg_type = crm_element_value(reply, F_STONITH_OPERATION); reply 1147 lib/fencing/st_client.c native->token = crm_element_value_copy(reply, F_STONITH_CLIENTID); reply 1151 lib/fencing/st_client.c crm_log_xml_debug(reply, "Invalid fencer reply"); reply 1156 lib/fencing/st_client.c crm_log_xml_debug(reply, "Invalid fencer reply"); reply 1166 lib/fencing/st_client.c free_xml(reply); reply 620 lib/lrmd/lrmd_client.c xmlNode **reply) reply 635 lib/lrmd/lrmd_client.c for (*reply = NULL; *reply == NULL; ) { reply 637 lib/lrmd/lrmd_client.c *reply = pcmk__remote_message_xml(native->remote); reply 638 lib/lrmd/lrmd_client.c if (*reply == NULL) { reply 654 lib/lrmd/lrmd_client.c *reply = pcmk__remote_message_xml(native->remote); reply 655 lib/lrmd/lrmd_client.c if (*reply == NULL) { reply 660 lib/lrmd/lrmd_client.c crm_element_value_int(*reply, F_LRMD_REMOTE_MSG_ID, &reply_id); reply 661 lib/lrmd/lrmd_client.c msg_type = crm_element_value(*reply, F_LRMD_REMOTE_MSG_TYPE); reply 665 lib/lrmd/lrmd_client.c free_xml(*reply); reply 666 lib/lrmd/lrmd_client.c *reply = NULL; reply 670 lib/lrmd/lrmd_client.c native->pending_notify = g_list_append(native->pending_notify, *reply); reply 675 lib/lrmd/lrmd_client.c *reply = NULL; reply 679 lib/lrmd/lrmd_client.c free_xml(*reply); reply 680 lib/lrmd/lrmd_client.c *reply = NULL; reply 687 lib/lrmd/lrmd_client.c free_xml(*reply); reply 688 lib/lrmd/lrmd_client.c *reply = NULL; reply 722 lib/lrmd/lrmd_client.c lrmd_tls_send_recv(lrmd_t * lrmd, xmlNode * msg, int timeout, xmlNode ** reply) reply 744 lib/lrmd/lrmd_client.c if (reply) { reply 745 lib/lrmd/lrmd_client.c *reply = xml; reply 755 lib/lrmd/lrmd_client.c lrmd_send_xml(lrmd_t * lrmd, xmlNode * msg, int timeout, xmlNode ** reply) reply 762 lib/lrmd/lrmd_client.c rc = crm_ipc_send(native->ipc, msg, crm_ipc_client_response, timeout, reply); reply 766 lib/lrmd/lrmd_client.c rc = lrmd_tls_send_recv(lrmd, msg, timeout, reply); reply 958 lib/lrmd/lrmd_client.c xmlNode *reply = NULL; reply 971 lib/lrmd/lrmd_client.c rc = lrmd_send_xml(lrmd, hello, -1, &reply); reply 976 lib/lrmd/lrmd_client.c } else if (reply == NULL) { reply 980 lib/lrmd/lrmd_client.c const char *version = crm_element_value(reply, F_LRMD_PROTOCOL_VERSION); reply 981 lib/lrmd/lrmd_client.c const char *msg_type = crm_element_value(reply, F_LRMD_OPERATION); reply 982 lib/lrmd/lrmd_client.c const char *tmp_ticket = crm_element_value(reply, F_LRMD_CLIENTID); reply 984 lib/lrmd/lrmd_client.c crm_element_value_int(reply, F_LRMD_RC, &rc); reply 989 lib/lrmd/lrmd_client.c crm_log_xml_err(reply, "Protocol Error"); reply 993 lib/lrmd/lrmd_client.c crm_log_xml_err(reply, "Bad reply"); reply 997 lib/lrmd/lrmd_client.c crm_log_xml_err(reply, "Bad reply"); reply 1007 lib/lrmd/lrmd_client.c free_xml(reply); reply 94 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = event_data; reply 124 lib/pacemaker/pcmk_cluster_queries.c if (reply->reply_type != pcmk_controld_reply_ping) { reply 126 lib/pacemaker/pcmk_cluster_queries.c reply->reply_type); reply 132 lib/pacemaker/pcmk_cluster_queries.c return reply; reply 142 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = controld_event_reply(data, controld_api, reply 145 lib/pacemaker/pcmk_cluster_queries.c if (reply != NULL) { reply 147 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.sys_from, reply 148 lib/pacemaker/pcmk_cluster_queries.c reply->host_from, reply 149 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.fsa_state, reply 150 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.result); reply 164 lib/pacemaker/pcmk_cluster_queries.c pcmk_controld_api_reply_t *reply = controld_event_reply(data, controld_api, reply 167 lib/pacemaker/pcmk_cluster_queries.c if (reply != NULL) { reply 168 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "dc", reply->host_from); reply 182 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 data->pcmkd_state = reply->data.ping.state; reply 222 lib/pacemaker/pcmk_cluster_queries.c if (reply->data.ping.status == pcmk_rc_ok) { reply 226 lib/pacemaker/pcmk_cluster_queries.c crm_time_set_timet(when, &reply->data.ping.last_good); reply 233 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.sys_from, reply->data.ping.state, NULL, reply 241 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.sys_from, reply->data.ping.state, 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 254 lib/services/systemd.c DBusMessage *reply = NULL; reply 259 lib/services/systemd.c reply = dbus_pending_call_steal_reply(pending); reply 262 lib/services/systemd.c if (pcmk_dbus_find_error(pending, reply, &error)) { reply 274 lib/services/systemd.c if(reply) { reply 275 lib/services/systemd.c dbus_message_unref(reply); reply 341 lib/services/systemd.c execute_after_loadunit(DBusMessage *reply, svc_action_t *op) reply 349 lib/services/systemd.c if (pcmk_dbus_find_error((void *) &path, reply, &error)) { reply 355 lib/services/systemd.c } else if (!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, reply 368 lib/services/systemd.c dbus_message_get_args (reply, NULL, reply 398 lib/services/systemd.c DBusMessage *reply = NULL; reply 405 lib/services/systemd.c reply = dbus_pending_call_steal_reply(pending); reply 413 lib/services/systemd.c execute_after_loadunit(reply, user_data); reply 414 lib/services/systemd.c if (reply != NULL) { reply 415 lib/services/systemd.c dbus_message_unref(reply); reply 438 lib/services/systemd.c DBusMessage *reply = NULL; reply 472 lib/services/systemd.c reply = systemd_send_recv(msg, NULL, reply 476 lib/services/systemd.c unit = execute_after_loadunit(reply, op); reply 489 lib/services/systemd.c if (reply != NULL) { reply 490 lib/services/systemd.c dbus_message_unref(reply); reply 544 lib/services/systemd.c DBusMessage *reply = NULL; reply 556 lib/services/systemd.c reply = systemd_call_simple_method("ListUnitFiles"); reply 557 lib/services/systemd.c if (reply == NULL) { reply 560 lib/services/systemd.c if (!dbus_message_iter_init(reply, &args)) { reply 562 lib/services/systemd.c dbus_message_unref(reply); reply 565 lib/services/systemd.c if (!pcmk_dbus_type_check(reply, &args, DBUS_TYPE_ARRAY, reply 568 lib/services/systemd.c dbus_message_unref(reply); reply 581 lib/services/systemd.c if(!pcmk_dbus_type_check(reply, &unit, DBUS_TYPE_STRUCT, __func__, __LINE__)) { reply 587 lib/services/systemd.c if(!pcmk_dbus_type_check(reply, &elem, DBUS_TYPE_STRING, __func__, __LINE__)) { reply 626 lib/services/systemd.c dbus_message_unref(reply); reply 716 lib/services/systemd.c process_unit_method_reply(DBusMessage *reply, svc_action_t *op) reply 723 lib/services/systemd.c if (pcmk_dbus_find_error((void *) &error, reply, &error)) { reply 727 lib/services/systemd.c } else if (!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, reply 738 lib/services/systemd.c dbus_message_get_args(reply, NULL, reply 757 lib/services/systemd.c DBusMessage *reply = NULL; reply 764 lib/services/systemd.c reply = dbus_pending_call_steal_reply(pending); reply 772 lib/services/systemd.c process_unit_method_reply(reply, op); reply 774 lib/services/systemd.c if (reply != NULL) { reply 775 lib/services/systemd.c dbus_message_unref(reply); reply 933 lib/services/systemd.c DBusMessage *reply = NULL; reply 1000 lib/services/systemd.c reply = systemd_send_recv(msg, NULL, op->timeout); reply 1002 lib/services/systemd.c process_unit_method_reply(reply, op); reply 1003 lib/services/systemd.c if (reply != NULL) { reply 1004 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 451 lib/services/upstart.c DBusMessage *reply = NULL; reply 456 lib/services/upstart.c reply = dbus_pending_call_steal_reply(pending); reply 461 lib/services/upstart.c if (pcmk_dbus_find_error(pending, reply, &error)) { reply 471 lib/services/upstart.c } else if (!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, reply 481 lib/services/upstart.c dbus_message_get_args(reply, NULL, DBUS_TYPE_OBJECT_PATH, &path, reply 494 lib/services/upstart.c if (reply != NULL) { reply 495 lib/services/upstart.c dbus_message_unref(reply); reply 525 lib/services/upstart.c DBusMessage *reply = NULL; reply 662 lib/services/upstart.c reply = pcmk_dbus_send_recv(msg, upstart_proxy, &error, op->timeout); reply 672 lib/services/upstart.c } else if (!pcmk_dbus_type_check(reply, NULL, DBUS_TYPE_OBJECT_PATH, reply 681 lib/services/upstart.c dbus_message_get_args(reply, NULL, DBUS_TYPE_OBJECT_PATH, &path, reply 692 lib/services/upstart.c if (reply != NULL) { reply 693 lib/services/upstart.c dbus_message_unref(reply); reply 309 tools/attrd_updater.c print_attrd_values(pcmk__output_t *out, GList *reply) reply 311 tools/attrd_updater.c for (GList *iter = reply; iter != NULL; iter = iter->next) { reply 325 tools/attrd_updater.c pcmk__attrd_api_reply_t *reply = event_data; reply 332 tools/attrd_updater.c if (reply->reply_type == pcmk__attrd_reply_query) { reply 333 tools/attrd_updater.c print_attrd_values(out, reply->data.pairs); reply 287 tools/crm_attribute.c pcmk_controld_api_reply_t *reply = event_data; reply 300 tools/crm_attribute.c if (reply->reply_type != pcmk_controld_reply_info) { reply 303 tools/crm_attribute.c "Unknown reply type %d from controller", reply->reply_type); reply 307 tools/crm_attribute.c if (reply->data.node_info.uname == NULL) { reply 314 tools/crm_attribute.c pcmk__str_update(&options.dest_uname, reply->data.node_info.uname); reply 881 tools/crm_mon.c pcmk_pacemakerd_api_reply_t *reply = event_data; reply 902 tools/crm_mon.c if (reply->reply_type != pcmk_pacemakerd_reply_ping) { reply 904 tools/crm_mon.c reply->reply_type); reply 906 tools/crm_mon.c if ((reply->data.ping.last_good != (time_t) 0) && reply 907 tools/crm_mon.c (reply->data.ping.status == pcmk_rc_ok)) { reply 908 tools/crm_mon.c *state = reply->data.ping.state; reply 150 tools/crm_node.c pcmk_controld_api_reply_t *reply = event_data; reply 176 tools/crm_node.c if (reply->reply_type != pcmk_controld_reply_info) { reply 179 tools/crm_node.c reply->reply_type); reply 182 tools/crm_node.c if (reply->data.node_info.id == 0) { reply 188 tools/crm_node.c printf("%d\n", reply->data.node_info.id); reply 193 tools/crm_node.c if (reply->reply_type != pcmk_controld_reply_info) { reply 196 tools/crm_node.c reply->reply_type); reply 199 tools/crm_node.c if (reply->data.node_info.uname == NULL) { reply 204 tools/crm_node.c printf("%s\n", reply->data.node_info.uname); reply 208 tools/crm_node.c if (reply->reply_type != pcmk_controld_reply_info) { reply 211 tools/crm_node.c reply->reply_type); reply 214 tools/crm_node.c printf("%d\n", reply->data.node_info.have_quorum); reply 215 tools/crm_node.c if (!(reply->data.node_info.have_quorum)) { reply 223 tools/crm_node.c if (reply->reply_type != pcmk_controld_reply_nodes) { reply 226 tools/crm_node.c reply->reply_type); reply 229 tools/crm_node.c reply->data.nodes = g_list_sort(reply->data.nodes, sort_node); reply 230 tools/crm_node.c for (GList *node_iter = reply->data.nodes;