HomeClusterLabs Projects

Refactor: libs: Add a function to set properties on an xmlNode.

Description

Refactor: libs: Add a function to set properties on an xmlNode.

This takes a va_list so it can be used by other future functions that
will take arguments directly. It then just walks the list of pairs and
sets them as properties on an xmlNode, until a NULL is found.

Interally, it just uses crm_xml_add so it's useful across the whole
pacemaker code base.

Details

Provenance
clumensAuthored on Nov 17 2020, 1:53 PM
Parents
rPb8af92e10415: Merge pull request #2231 from clumens/failure-op-key
Branches
Unknown
Tags
Unknown

Event Timeline