HomeClusterLabs Projects

Refactor: tools: Pass output_format as an arg where possible.

Description

Refactor: tools: Pass output_format as an arg where possible.

In general, it is now an argument to any print_* function since those
will eventually be moving out into their own file and I don't want to
make global variables like output_format visible across multiple files.
It remains global, however, primarily because there are several places
in crm_mon.c where it is needed but cannot be passed as an argument.
This is especially the case where callbacks are involved.

Details

Provenance
clumensAuthored on Jul 30 2019, 10:26 AM
Parents
rP5c1ebab50ae8: Refactor: tools: Use bit fields in crm_mon.
Branches
Unknown
Tags
Unknown

Event Timeline