patchset 842 daemons/fenced/pacemaker-fenced.c xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 844 daemons/fenced/pacemaker-fenced.c for (change = pcmk__xml_first_child(patchset); change != NULL; patchset 966 daemons/fenced/pacemaker-fenced.c xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 968 daemons/fenced/pacemaker-fenced.c CRM_ASSERT(patchset); patchset 969 daemons/fenced/pacemaker-fenced.c crm_element_value_int(patchset, "format", &format); patchset 1043 daemons/fenced/pacemaker-fenced.c xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 1045 daemons/fenced/pacemaker-fenced.c CRM_ASSERT(patchset); patchset 1046 daemons/fenced/pacemaker-fenced.c crm_element_value_int(patchset, "format", &format); patchset 1068 daemons/fenced/pacemaker-fenced.c xml_patch_versions(patchset, add, del); patchset 1070 daemons/fenced/pacemaker-fenced.c for (change = pcmk__xml_first_child(patchset); change != NULL; patchset 1159 daemons/fenced/pacemaker-fenced.c xmlNode *patchset = NULL; patchset 1166 daemons/fenced/pacemaker-fenced.c patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 1167 daemons/fenced/pacemaker-fenced.c xml_log_patchset(LOG_TRACE, "Config update", patchset); patchset 1168 daemons/fenced/pacemaker-fenced.c rc = xml_apply_patchset(local_cib, patchset, TRUE); patchset 281 include/crm/common/xml.h bool xml_patch_versions(xmlNode *patchset, int add[3], int del[3]); patchset 285 include/crm/common/xml.h int xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version); patchset 199 lib/common/alerts.c xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT); patchset 211 lib/common/alerts.c crm_element_value_int(patchset, "format", &format); patchset 220 lib/common/alerts.c for (change = pcmk__xml_first_child(patchset); change != NULL; patchset 85 lib/common/patchset.c add_xml_changes_to_patchset(xmlNode *xml, xmlNode *patchset) patchset 94 lib/common/patchset.c if (patchset && pcmk_is_set(p->flags, pcmk__xf_created)) { patchset 102 lib/common/patchset.c change = create_xml_node(patchset, XML_DIFF_CHANGE); patchset 129 lib/common/patchset.c change = create_xml_node(patchset, XML_DIFF_CHANGE); patchset 171 lib/common/patchset.c add_xml_changes_to_patchset(cIter, patchset); patchset 175 lib/common/patchset.c if (patchset && pcmk_is_set(p->flags, pcmk__xf_moved)) { patchset 183 lib/common/patchset.c change = create_xml_node(patchset, XML_DIFF_CHANGE); patchset 294 lib/common/patchset.c xmlNode *patchset = diff_xml_object(source, target, suppress); patchset 296 lib/common/patchset.c if (patchset) { patchset 298 lib/common/patchset.c xml_repair_v1_diff(source, target, patchset, config); patchset 299 lib/common/patchset.c crm_xml_add(patchset, "format", "1"); patchset 301 lib/common/patchset.c return patchset; patchset 313 lib/common/patchset.c xmlNode *patchset = NULL; patchset 328 lib/common/patchset.c patchset = create_xml_node(NULL, XML_TAG_DIFF); patchset 329 lib/common/patchset.c crm_xml_add_int(patchset, "format", 2); patchset 331 lib/common/patchset.c version = create_xml_node(patchset, XML_DIFF_VERSION); patchset 355 lib/common/patchset.c xmlNode *change = create_xml_node(patchset, XML_DIFF_CHANGE); patchset 364 lib/common/patchset.c add_xml_changes_to_patchset(target, patchset); patchset 365 lib/common/patchset.c return patchset; patchset 457 lib/common/patchset.c xml_log_patchset(uint8_t log_level, const char *function, xmlNode *patchset) patchset 482 lib/common/patchset.c if (patchset == NULL) { patchset 491 lib/common/patchset.c xml_patch_versions(patchset, add, del); patchset 492 lib/common/patchset.c fmt = crm_element_value(patchset, "format"); patchset 493 lib/common/patchset.c digest = crm_element_value(patchset, XML_ATTR_DIGEST); patchset 502 lib/common/patchset.c } else if ((patchset != NULL) && (add[0] || add[1] || add[2])) { patchset 508 lib/common/patchset.c crm_element_value_int(patchset, "format", &format); patchset 512 lib/common/patchset.c for (change = pcmk__xml_first_child(patchset); change != NULL; patchset 609 lib/common/patchset.c removed = find_xml_node(patchset, "diff-removed", FALSE); patchset 622 lib/common/patchset.c added = find_xml_node(patchset, "diff-added", FALSE); patchset 771 lib/common/patchset.c find_patch_xml_node(xmlNode *patchset, int format, bool added, patchset 780 lib/common/patchset.c *patch_node = find_xml_node(patchset, label, FALSE); patchset 788 lib/common/patchset.c *patch_node = find_xml_node(patchset, "version", FALSE); patchset 801 lib/common/patchset.c xml_patch_versions(xmlNode *patchset, int add[3], int del[3]) patchset 814 lib/common/patchset.c crm_element_value_int(patchset, "format", &format); patchset 817 lib/common/patchset.c if (!find_patch_xml_node(patchset, format, FALSE, &tmp)) { patchset 828 lib/common/patchset.c if (!find_patch_xml_node(patchset, format, TRUE, &tmp)) { patchset 851 lib/common/patchset.c xml_patch_version_check(xmlNode *xml, xmlNode *patchset, int format) patchset 882 lib/common/patchset.c xml_patch_versions(patchset, add, del); patchset 894 lib/common/patchset.c del[0], del[1], del[2], add[0], add[1], add[2], patchset); patchset 895 lib/common/patchset.c crm_log_xml_info(patchset, "OldPatch"); patchset 927 lib/common/patchset.c apply_v1_patchset(xmlNode *xml, xmlNode *patchset) patchset 933 lib/common/patchset.c xmlNode *added = find_xml_node(patchset, "diff-added", FALSE); patchset 934 lib/common/patchset.c xmlNode *removed = find_xml_node(patchset, "diff-removed", FALSE); patchset 1142 lib/common/patchset.c apply_v2_patchset(xmlNode *xml, xmlNode *patchset) patchset 1149 lib/common/patchset.c for (change = pcmk__xml_first_child(patchset); change != NULL; patchset 1325 lib/common/patchset.c xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version) patchset 1330 lib/common/patchset.c const char *digest = crm_element_value(patchset, XML_ATTR_DIGEST); patchset 1332 lib/common/patchset.c if (patchset == NULL) { patchset 1336 lib/common/patchset.c xml_log_patchset(LOG_TRACE, __func__, patchset); patchset 1338 lib/common/patchset.c crm_element_value_int(patchset, "format", &format); patchset 1340 lib/common/patchset.c rc = pcmk_rc2legacy(xml_patch_version_check(xml, patchset, format)); patchset 1354 lib/common/patchset.c rc = pcmk_rc2legacy(apply_v1_patchset(xml, patchset)); patchset 1357 lib/common/patchset.c rc = pcmk_rc2legacy(apply_v2_patchset(xml, patchset)); patchset 1386 lib/common/patchset.c save_xml_to_file(patchset, "PatchDigest:diff", NULL);