HomeClusterLabs Projects

Feature: libcrmcommon: Add pcmk__strcmp.

Description

Feature: libcrmcommon: Add pcmk__strcmp.

This function is intended to eventually take the place of all the other
string comparison functions. It does this through the use of flags to
control its behavior, letting it act like our other functions.

Also added is pcmkstr_eq. This is just a quick little wrapper around
pcmk
strcmp so callers don't have to do the return value check
themselves.

Details

Provenance
clumensAuthored on Aug 12 2020, 4:31 PM
Parents
rP69173b57254c: Refactor: daemons, lib: Remove pcmk__str_none_of.
Branches
Unknown
Tags
Unknown

Event Timeline