HomeClusterLabs Projects

Refactor: libcrmcommon: New pcmk__xe_set_ll()
a7d52a7d8964Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Refactor: libcrmcommon: New pcmk__xe_set_ll()

The only reason we return a value here is so that pcmk__xe_set_timeval()
can check it. We could have a static helper function that both of them
call, so that this will be consistent, but I can't be bothered.

The existing crm_xml_add_ll() prints into a static buffer. While that is
undeniably more efficient, I don't think it matters.

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

Details

Provenance
nrwahl2Authored on Mar 19 2025, 7:09 PM
Parents
rPce05f1dc8f6f: API: libcrmcommon: Deprecate crm_xml_add_ms()
Branches
Unknown
Tags
Unknown

Event Timeline