HomeClusterLabs Projects

Refactor: libcrmcommon: New PCMK__XA_SUBT string constant

Description

Refactor: libcrmcommon: New PCMK__XA_SUBT string constant

"SUBT" is so obfuscated that I considered naming it PCMKXA_SUBTYPE
instead of aligning with the literal "subt". Unfortunately, we'll be
converting F_TYPE next, and its literal is "t". We can't use
PCMK
XA_TYPE for that because it's already defined as "type".

It would be nice to replace "t" with "type" and "subt" with "subtype"
but that means a long period of supporting both during rolling upgrades.

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

Details

Provenance
nrwahl2Authored on Jan 3 2024, 6:16 PM
Parents
rP59fbd7657808: API: libcrmcommon: Deprecate F_SEQ
Branches
Unknown
Tags
Unknown