HomeClusterLabs Projects

Refactor: libcrmcommon: Take doc as argument in pcmk__set_xml_doc_flag()
c7125af9598fUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: libcrmcommon: Take doc as argument in pcmk__set_xml_doc_flag()

IMO this makes it clearer that we're setting flags for a particular
document. It has nothing to do with any particular node within the
document; we were using the node argument only to access its doc member.

Also add doxygen, rename to pcmk__xml_doc_set_flags(), and take a
uint32_t argument instead of an enum (since it may be a group of
multiple flags).

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 12 2025, 3:20 AM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.