patch 101 include/crm/common/xml.h void patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, bool with_digest); patch 333 lib/common/patchset.c xmlNode *patch = NULL; patch 373 lib/common/patchset.c patch = xml_create_patchset_v1(source, target, config, FALSE); patch 376 lib/common/patchset.c patch = xml_create_patchset_v2(source, target); patch 382 lib/common/patchset.c return patch; patch 386 lib/common/patchset.c patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, patch 393 lib/common/patchset.c if ((patch == NULL) || (source == NULL) || (target == NULL)) { patch 402 lib/common/patchset.c crm_element_value_int(patch, PCMK_XA_FORMAT, &format); patch 410 lib/common/patchset.c crm_xml_add(patch, PCMK__XA_DIGEST, digest); patch 630 lib/common/patchset.c process_v1_removals(xmlNode *target, xmlNode *patch) patch 638 lib/common/patchset.c if ((target == NULL) || (patch == NULL)) { patch 645 lib/common/patchset.c subtract_v1_xml_comment(target->parent, target, patch, &dummy); patch 648 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(target, (const char *) patch->name), return); patch 649 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(pcmk__xe_id(target), pcmk__xe_id(patch), patch 655 lib/common/patchset.c value = crm_element_value(patch, PCMK__XA_CRM_DIFF_MARKER); patch 665 lib/common/patchset.c pcmk__xe_remove_matching_attrs(patch, not_id, NULL); patch 673 lib/common/patchset.c patch_child = pcmk__xml_match(patch, target_child, false); patch 684 lib/common/patchset.c process_v1_additions(xmlNode *parent, xmlNode *target, xmlNode *patch) patch 694 lib/common/patchset.c if (patch == NULL) { patch 701 lib/common/patchset.c name = (const char *) patch->name; patch 702 lib/common/patchset.c value = crm_element_value(patch, PCMK__XA_CRM_DIFF_MARKER); patch 705 lib/common/patchset.c id = pcmk__xe_id(patch); patch 707 lib/common/patchset.c pcmk__xml_copy(parent, patch); patch 711 lib/common/patchset.c id = pcmk__xe_id(patch); patch 717 lib/common/patchset.c pcmk__xc_update(parent, target, patch); patch 721 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(pcmk__xe_id(target), pcmk__xe_id(patch), patch 725 lib/common/patchset.c for (xIter = pcmk__xe_first_attr(patch); xIter != NULL; patch 735 lib/common/patchset.c for (patch_child = pcmk__xml_first_child(patch); patch_child != NULL; patch 106 tools/crm_diff.c print_patch(xmlNode *patch) patch 110 tools/crm_diff.c pcmk__xml_string(patch, pcmk__xml_fmt_pretty, buffer, 0); patch 119 tools/crm_diff.c apply_patch(xmlNode *input, xmlNode *patch, gboolean as_cib) patch 122 tools/crm_diff.c int rc = xml_apply_patchset(output, patch, as_cib); patch 147 tools/crm_diff.c log_patch_cib_versions(xmlNode *patch) patch 155 tools/crm_diff.c xml_patch_versions(patch, add, del); patch 156 tools/crm_diff.c fmt = crm_element_value(patch, PCMK_XA_FORMAT); patch 157 tools/crm_diff.c digest = crm_element_value(patch, PCMK__XA_DIGEST); patch 166 tools/crm_diff.c strip_patch_cib_version(xmlNode *patch, const char **vfields, size_t nvfields) patch 170 tools/crm_diff.c crm_element_value_int(patch, PCMK_XA_FORMAT, &format); patch 172 tools/crm_diff.c xmlNode *version_xml = pcmk__xe_first_child(patch, PCMK_XE_VERSION, patch 191 tools/crm_diff.c tmp = pcmk__xe_first_child(patch, tags[i], NULL, NULL);