patchset 751 fencing/main.c xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 753 fencing/main.c for (change = __xml_first_child(patchset); change != NULL; change = __xml_next(change)) { patchset 873 fencing/main.c xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 875 fencing/main.c CRM_ASSERT(patchset); patchset 876 fencing/main.c crm_element_value_int(patchset, "format", &format); patchset 932 fencing/main.c xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 934 fencing/main.c CRM_ASSERT(patchset); patchset 935 fencing/main.c crm_element_value_int(patchset, "format", &format); patchset 957 fencing/main.c xml_patch_versions(patchset, add, del); patchset 959 fencing/main.c for (change = __xml_first_child(patchset); change != NULL; change = __xml_next(change)) { patchset 1046 fencing/main.c xmlNode *patchset = NULL; patchset 1053 fencing/main.c patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 1054 fencing/main.c xml_log_patchset(LOG_TRACE, "Config update", patchset); patchset 1055 fencing/main.c rc = xml_apply_patchset(local_cib, patchset, TRUE); patchset 386 include/crm/common/xml.h bool xml_patch_versions(xmlNode *patchset, int add[3], int del[3]); patchset 390 include/crm/common/xml.h int xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version); patchset 237 lib/common/alerts.c xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 249 lib/common/alerts.c crm_element_value_int(patchset, "format", &format); patchset 258 lib/common/alerts.c for (change = __xml_first_child(patchset); change != NULL; change = __xml_next(change)) { patchset 974 lib/common/xml.c __xml_build_changes(xmlNode * xml, xmlNode *patchset) patchset 981 lib/common/xml.c if(patchset && is_set(p->flags, xpf_created)) { patchset 988 lib/common/xml.c change = create_xml_node(patchset, XML_DIFF_CHANGE); patchset 1012 lib/common/xml.c change = create_xml_node(patchset, XML_DIFF_CHANGE); patchset 1052 lib/common/xml.c __xml_build_changes(cIter, patchset); patchset 1056 lib/common/xml.c if(patchset && is_set(p->flags, xpf_moved)) { patchset 1062 lib/common/xml.c change = create_xml_node(patchset, XML_DIFF_CHANGE); patchset 1204 lib/common/xml.c xmlNode *patchset = diff_xml_object(source, target, suppress); patchset 1206 lib/common/xml.c if(patchset) { patchset 1208 lib/common/xml.c xml_repair_v1_diff(source, target, patchset, config); patchset 1209 lib/common/xml.c crm_xml_add(patchset, "format", "1"); patchset 1211 lib/common/xml.c return patchset; patchset 1223 lib/common/xml.c xmlNode *patchset = NULL; patchset 1238 lib/common/xml.c patchset = create_xml_node(NULL, XML_TAG_DIFF); patchset 1239 lib/common/xml.c crm_xml_add_int(patchset, "format", 2); patchset 1241 lib/common/xml.c version = create_xml_node(patchset, XML_DIFF_VERSION); patchset 1265 lib/common/xml.c xmlNode *change = create_xml_node(patchset, XML_DIFF_CHANGE); patchset 1274 lib/common/xml.c __xml_build_changes(target, patchset); patchset 1275 lib/common/xml.c return patchset; patchset 1387 lib/common/xml.c xml_log_patchset(uint8_t log_level, const char *function, xmlNode * patchset) patchset 1408 lib/common/xml.c if (patchset == NULL) { patchset 1418 lib/common/xml.c xml_patch_versions(patchset, add, del); patchset 1419 lib/common/xml.c fmt = crm_element_value(patchset, "format"); patchset 1420 lib/common/xml.c digest = crm_element_value(patchset, XML_ATTR_DIGEST); patchset 1428 lib/common/xml.c } else if (patchset != NULL && (add[0] || add[1] || add[2])) { patchset 1434 lib/common/xml.c crm_element_value_int(patchset, "format", &format); patchset 1438 lib/common/xml.c for (change = __xml_first_child(patchset); change != NULL; change = __xml_next(change)) { patchset 1517 lib/common/xml.c removed = find_xml_node(patchset, "diff-removed", FALSE); patchset 1529 lib/common/xml.c added = find_xml_node(patchset, "diff-added", FALSE); patchset 1737 lib/common/xml.c find_patch_xml_node(xmlNode *patchset, int format, bool added, patchset 1746 lib/common/xml.c *patch_node = find_xml_node(patchset, label, FALSE); patchset 1754 lib/common/xml.c *patch_node = find_xml_node(patchset, "version", FALSE); patchset 1765 lib/common/xml.c bool xml_patch_versions(xmlNode *patchset, int add[3], int del[3]) patchset 1778 lib/common/xml.c crm_element_value_int(patchset, "format", &format); patchset 1781 lib/common/xml.c if (!find_patch_xml_node(patchset, format, FALSE, &tmp)) { patchset 1792 lib/common/xml.c if (!find_patch_xml_node(patchset, format, TRUE, &tmp)) { patchset 1806 lib/common/xml.c xml_patch_version_check(xmlNode *xml, xmlNode *patchset, int format) patchset 1837 lib/common/xml.c xml_patch_versions(patchset, add, del); patchset 1847 lib/common/xml.c this[0], this[1], this[2], del[0], del[1], del[2], add[0], add[1], add[2], patchset); patchset 1848 lib/common/xml.c crm_log_xml_info(patchset, "OldPatch"); patchset 1870 lib/common/xml.c xml_apply_patchset_v1(xmlNode *xml, xmlNode *patchset) patchset 1876 lib/common/xml.c xmlNode *added = find_xml_node(patchset, "diff-added", FALSE); patchset 1877 lib/common/xml.c xmlNode *removed = find_xml_node(patchset, "diff-removed", FALSE); patchset 2022 lib/common/xml.c xml_apply_patchset_v2(xmlNode *xml, xmlNode *patchset) patchset 2026 lib/common/xml.c for (change = __xml_first_child(patchset); change != NULL; change = __xml_next(change)) { patchset 2158 lib/common/xml.c xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version) patchset 2163 lib/common/xml.c const char *digest = crm_element_value(patchset, XML_ATTR_DIGEST); patchset 2165 lib/common/xml.c if(patchset == NULL) { patchset 2169 lib/common/xml.c xml_log_patchset(LOG_TRACE, __FUNCTION__, patchset); patchset 2171 lib/common/xml.c crm_element_value_int(patchset, "format", &format); patchset 2173 lib/common/xml.c rc = xml_patch_version_check(xml, patchset, format); patchset 2187 lib/common/xml.c rc = xml_apply_patchset_v1(xml, patchset); patchset 2190 lib/common/xml.c rc = xml_apply_patchset_v2(xml, patchset); patchset 2218 lib/common/xml.c save_xml_to_file(patchset,"PatchDigest:diff", NULL);