HomeClusterLabs Projects

Refactor: libraries: prevent internal code from using deprecated API

Description

Refactor: libraries: prevent internal code from using deprecated API

Define a new PCMK__NO_COMPAT symbol in crm_internal.h, which is used
by all internal code. Headers can declare deprecated APIs guarded by
that symbol, so they are available to external API callers but not
to internal callers.

Some deprecated symbols are used internally and thus are not yet
guarded. Where possible, internal code should be updated to use the
new forms and the old forms moved to the guarded sections.

Details

Provenance
kgaillotAuthored on Nov 13 2019, 2:58 PM
Parents
rP2536098dc5d1: Refactor: libcrmservice: isolate nagios-related code in its own source file
Branches
Unknown
Tags
Unknown

Event Timeline