HomeClusterLabs Projects

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

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 Wed, Mar 12, 3:20 AM
Parents
rPfc182950f0f8: API: libcrmcommon: Deprecate pcmkXmlStr
Branches
Unknown
Tags
Unknown