HomeClusterLabs Projects

Refactor: libraries: move deprecated APIs to separate headers

Description

Refactor: libraries: move deprecated APIs to separate headers

This simplifies handling of deprecated APIs guarded by PCMK__NO_COMPAT.

Supported public API headers now declare only supported APIs, and include the
compatibility header when PCMK__NO_COMPAT is not defined.

The (new) compatibility headers declare only deprecated APIs, and can be
included by the internal source file defining the APIs, avoiding duplication of
declarations without exposing the deprecated APIs to all files.

Details

Provenance
kgaillotAuthored on Mar 16 2021, 10:54 AM
Parents
rP255619d24810: Devel: cocci: remove no-longer-needed file
Branches
Unknown
Tags
Unknown

Event Timeline