patch 281 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 372 lib/common/patchset.c patch = xml_create_patchset_v1(source, target, config, FALSE); patch 375 lib/common/patchset.c patch = xml_create_patchset_v2(source, target); patch 381 lib/common/patchset.c return patch; patch 385 lib/common/patchset.c patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, patch 392 lib/common/patchset.c if ((patch == NULL) || (source == NULL) || (target == NULL)) { patch 401 lib/common/patchset.c crm_element_value_int(patch, PCMK_XA_FORMAT, &format); patch 409 lib/common/patchset.c crm_xml_add(patch, XML_ATTR_DIGEST, digest); patch 424 lib/common/patchset.c process_v1_removals(xmlNode *target, xmlNode *patch) patch 432 lib/common/patchset.c if ((target == NULL) || (patch == NULL)) { patch 439 lib/common/patchset.c subtract_xml_comment(target->parent, target, patch, &dummy); patch 442 lib/common/patchset.c CRM_CHECK(pcmk__xe_is(target, (const char *) patch->name), return); patch 443 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); patch 447 lib/common/patchset.c value = crm_element_value(patch, XML_DIFF_MARKER); patch 457 lib/common/patchset.c pcmk__xe_remove_matching_attrs(patch, not_id, NULL); patch 465 lib/common/patchset.c patch_child = pcmk__xml_match(patch, target_child, false); patch 473 lib/common/patchset.c process_v1_additions(xmlNode *parent, xmlNode *target, xmlNode *patch) patch 483 lib/common/patchset.c if (patch == NULL) { patch 490 lib/common/patchset.c name = (const char *) patch->name; patch 491 lib/common/patchset.c value = crm_element_value(patch, XML_DIFF_MARKER); patch 494 lib/common/patchset.c id = ID(patch); patch 496 lib/common/patchset.c add_node_copy(parent, patch); patch 500 lib/common/patchset.c id = ID(patch); patch 506 lib/common/patchset.c pcmk__xc_update(parent, target, patch); patch 510 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); patch 512 lib/common/patchset.c for (xIter = pcmk__xe_first_attr(patch); xIter != NULL; patch 522 lib/common/patchset.c for (patch_child = pcmk__xml_first_child(patch); patch_child != NULL; patch 107 tools/crm_diff.c print_patch(xmlNode *patch) patch 109 tools/crm_diff.c char *buffer = dump_xml_formatted(patch); patch 118 tools/crm_diff.c apply_patch(xmlNode *input, xmlNode *patch, gboolean as_cib) patch 121 tools/crm_diff.c int rc = xml_apply_patchset(output, patch, as_cib); patch 146 tools/crm_diff.c log_patch_cib_versions(xmlNode *patch) patch 154 tools/crm_diff.c xml_patch_versions(patch, add, del); patch 155 tools/crm_diff.c fmt = crm_element_value(patch, PCMK_XA_FORMAT); patch 156 tools/crm_diff.c digest = crm_element_value(patch, XML_ATTR_DIGEST); patch 165 tools/crm_diff.c strip_patch_cib_version(xmlNode *patch, const char **vfields, size_t nvfields) patch 169 tools/crm_diff.c crm_element_value_int(patch, PCMK_XA_FORMAT, &format); patch 171 tools/crm_diff.c xmlNode *version_xml = find_xml_node(patch, "version", FALSE); patch 189 tools/crm_diff.c tmp = find_xml_node(patch, tags[i], FALSE);