HomeClusterLabs Projects
Diffusion Booth cde8e633ee2b

Refactor: FOREACH_{NODE,TICKET} to no longer rely on global booth_conf
cde8e633ee2bUnpublished

Unpublished Commit · Learn More

  • Repository Importing: This repository is still importing.
  • Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Refactor: FOREACH_{NODE,TICKET} to no longer rely on global booth_conf

Also, apply the same recursively to superjacent call graph expansion
(progression up to main.c), and apply that whenever it is not eligible
where it previously was not (because FOREACH_{NODE,TICKET} not accepting
struct booth_config * injection.

Also, exercise some const-correctness at places being touched,
and hide some functions as merely static ones.

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>

Details

Provenance
Jan Pokorný <jpokorny@redhat.com>Authored on Jan 28 2020, 3:53 PM
Parents
rBae4d25f9d536: Refactor: setup_udp_server to no longer rely on global booth_conf var
Branches
Unknown
Tags
Unknown

Event Timeline