HomeClusterLabs Projects

Refactor: libcrmcommon: XML best practices in HTML output functions

Description

Refactor: libcrmcommon: XML best practices in HTML output functions

Use existing Pacemaker wrappers for clarity and so that private data
allocation and deallocation can be refactored in an upcoming commit.

Also move xmlAddPrevSibling() earlier for readability.

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

Details

Provenance
nrwahl2Authored on Sep 6 2024, 4:46 AM
Parents
rPe8bb4fade8b6: Refactor: various: Limit xmlSetProp() to crm_xml_add()
Branches
Unknown
Tags
Unknown