HomeClusterLabs Projects

Feature: libcrmcommon: Add pcmk__str_any_of and pcmk__str_none_of.

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Feature: libcrmcommon: Add pcmkstr_any_of and pcmkstr_none_of.

These functions take a string and a NULL-terminated list of strings and
test for membership. NULL-termination is enforced by the compiler. The
intent of these functions is to get rid of large chains of running
safe_str_eq over and over.

Details

Provenance
clumensAuthored on Jun 26 2020, 3:56 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.