HomeClusterLabs Projects

Refactor: libpacemaker: Clarify pointer arguments in pcmk_status.c

Description

Refactor: libpacemaker: Clarify pointer arguments in pcmk_status.c

Make only_node and only_rsc arguments const. Add doxygen blocks. Change
"st" argument to "stonith".

This is not comprehensive. We're updating pcmkstatus() because we're
about to add a new argument, and pcmk
output_cluster_status() because
it shares most of its arguments with pcmk__status().

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

Details

Provenance
nrwahl2Authored on Oct 10 2022, 9:38 PM
Parents
rPbdc98fae0d9c: Doc: libpe_status: Replace old funcname in pe__build_rsc_list() comment
Branches
Unknown
Tags
Unknown