HomeClusterLabs Projects

Refactor: libcrmcommon: New pcmk__xpath_result()

Description

Refactor: libcrmcommon: New pcmk__xpath_result()

To replace getXpathResult().

We also create a pcmk__xpath_match_element() function to preserve
behavior of public API functions and of ACLs.

The pcmkxpath_match_element() call documented in cib_process_xpath()
will be removed in an upcoming commit. We needed to introduce
pcmk
xpath_result() before we could fix it.

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

Details

Provenance
nrwahl2Authored on Mon, Mar 10, 7:58 PM
Parents
rP62e27fe97959: Refactor: libstonithd: Query stonith devices more clearly
Branches
Unknown
Tags
Unknown