patchset 796 daemons/fenced/pacemaker-fenced.c xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 798 daemons/fenced/pacemaker-fenced.c for (change = pcmk__xml_first_child(patchset); change != NULL; patchset 918 daemons/fenced/pacemaker-fenced.c xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 920 daemons/fenced/pacemaker-fenced.c CRM_ASSERT(patchset); patchset 921 daemons/fenced/pacemaker-fenced.c crm_element_value_int(patchset, "format", &format); patchset 977 daemons/fenced/pacemaker-fenced.c xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 979 daemons/fenced/pacemaker-fenced.c CRM_ASSERT(patchset); patchset 980 daemons/fenced/pacemaker-fenced.c crm_element_value_int(patchset, "format", &format); patchset 1002 daemons/fenced/pacemaker-fenced.c xml_patch_versions(patchset, add, del); patchset 1004 daemons/fenced/pacemaker-fenced.c for (change = pcmk__xml_first_child(patchset); change != NULL; patchset 1091 daemons/fenced/pacemaker-fenced.c xmlNode *patchset = NULL; patchset 1098 daemons/fenced/pacemaker-fenced.c patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 1099 daemons/fenced/pacemaker-fenced.c xml_log_patchset(LOG_TRACE, "Config update", patchset); patchset 1100 daemons/fenced/pacemaker-fenced.c rc = xml_apply_patchset(local_cib, patchset, TRUE); patchset 275 include/crm/common/xml.h bool xml_patch_versions(xmlNode *patchset, int add[3], int del[3]); patchset 279 include/crm/common/xml.h int xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version); patchset 203 lib/common/alerts.c xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 215 lib/common/alerts.c crm_element_value_int(patchset, "format", &format); patchset 224 lib/common/alerts.c for (change = pcmk__xml_first_child(patchset); change != NULL; patchset 86 lib/common/patchset.c add_xml_changes_to_patchset(xmlNode *xml, xmlNode *patchset) patchset 95 lib/common/patchset.c if (patchset && pcmk_is_set(p->flags, xpf_created)) { patchset 103 lib/common/patchset.c change = create_xml_node(patchset, XML_DIFF_CHANGE); patchset 130 lib/common/patchset.c change = create_xml_node(patchset, XML_DIFF_CHANGE); patchset 172 lib/common/patchset.c add_xml_changes_to_patchset(cIter, patchset); patchset 176 lib/common/patchset.c if (patchset && pcmk_is_set(p->flags, xpf_moved)) { patchset 184 lib/common/patchset.c change = create_xml_node(patchset, XML_DIFF_CHANGE); patchset 295 lib/common/patchset.c xmlNode *patchset = diff_xml_object(source, target, suppress); patchset 297 lib/common/patchset.c if (patchset) { patchset 299 lib/common/patchset.c xml_repair_v1_diff(source, target, patchset, config); patchset 300 lib/common/patchset.c crm_xml_add(patchset, "format", "1"); patchset 302 lib/common/patchset.c return patchset; patchset 314 lib/common/patchset.c xmlNode *patchset = NULL; patchset 329 lib/common/patchset.c patchset = create_xml_node(NULL, XML_TAG_DIFF); patchset 330 lib/common/patchset.c crm_xml_add_int(patchset, "format", 2); patchset 332 lib/common/patchset.c version = create_xml_node(patchset, XML_DIFF_VERSION); patchset 356 lib/common/patchset.c xmlNode *change = create_xml_node(patchset, XML_DIFF_CHANGE); patchset 365 lib/common/patchset.c add_xml_changes_to_patchset(target, patchset); patchset 366 lib/common/patchset.c return patchset; patchset 458 lib/common/patchset.c xml_log_patchset(uint8_t log_level, const char *function, xmlNode *patchset) patchset 483 lib/common/patchset.c if (patchset == NULL) { patchset 492 lib/common/patchset.c xml_patch_versions(patchset, add, del); patchset 493 lib/common/patchset.c fmt = crm_element_value(patchset, "format"); patchset 494 lib/common/patchset.c digest = crm_element_value(patchset, XML_ATTR_DIGEST); patchset 503 lib/common/patchset.c } else if ((patchset != NULL) && (add[0] || add[1] || add[2])) { patchset 509 lib/common/patchset.c crm_element_value_int(patchset, "format", &format); patchset 513 lib/common/patchset.c for (change = pcmk__xml_first_child(patchset); change != NULL; patchset 610 lib/common/patchset.c removed = find_xml_node(patchset, "diff-removed", FALSE); patchset 623 lib/common/patchset.c added = find_xml_node(patchset, "diff-added", FALSE); patchset 772 lib/common/patchset.c find_patch_xml_node(xmlNode *patchset, int format, bool added, patchset 781 lib/common/patchset.c *patch_node = find_xml_node(patchset, label, FALSE); patchset 789 lib/common/patchset.c *patch_node = find_xml_node(patchset, "version", FALSE); patchset 802 lib/common/patchset.c xml_patch_versions(xmlNode *patchset, int add[3], int del[3]) patchset 815 lib/common/patchset.c crm_element_value_int(patchset, "format", &format); patchset 818 lib/common/patchset.c if (!find_patch_xml_node(patchset, format, FALSE, &tmp)) { patchset 829 lib/common/patchset.c if (!find_patch_xml_node(patchset, format, TRUE, &tmp)) { patchset 852 lib/common/patchset.c xml_patch_version_check(xmlNode *xml, xmlNode *patchset, int format) patchset 883 lib/common/patchset.c xml_patch_versions(patchset, add, del); patchset 895 lib/common/patchset.c del[0], del[1], del[2], add[0], add[1], add[2], patchset); patchset 896 lib/common/patchset.c crm_log_xml_info(patchset, "OldPatch"); patchset 928 lib/common/patchset.c apply_v1_patchset(xmlNode *xml, xmlNode *patchset) patchset 934 lib/common/patchset.c xmlNode *added = find_xml_node(patchset, "diff-added", FALSE); patchset 935 lib/common/patchset.c xmlNode *removed = find_xml_node(patchset, "diff-removed", FALSE); patchset 1143 lib/common/patchset.c apply_v2_patchset(xmlNode *xml, xmlNode *patchset) patchset 1150 lib/common/patchset.c for (change = pcmk__xml_first_child(patchset); change != NULL; patchset 1326 lib/common/patchset.c xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version) patchset 1331 lib/common/patchset.c const char *digest = crm_element_value(patchset, XML_ATTR_DIGEST); patchset 1333 lib/common/patchset.c if (patchset == NULL) { patchset 1337 lib/common/patchset.c xml_log_patchset(LOG_TRACE, __func__, patchset); patchset 1339 lib/common/patchset.c crm_element_value_int(patchset, "format", &format); patchset 1341 lib/common/patchset.c rc = pcmk_rc2legacy(xml_patch_version_check(xml, patchset, format)); patchset 1355 lib/common/patchset.c rc = pcmk_rc2legacy(apply_v1_patchset(xml, patchset)); patchset 1358 lib/common/patchset.c rc = pcmk_rc2legacy(apply_v2_patchset(xml, patchset)); patchset 1387 lib/common/patchset.c save_xml_to_file(patchset, "PatchDigest:diff", NULL);