HomeClusterLabs Projects

API: libcrmcommon: drop create_request() macro

Description

API: libcrmcommon: drop create_request() macro

Make it internal, rename to pcmknew_request(), and rename and reorder
arguments. Also, make it take the server protocol as a new argument (all
callers pass pcmk_ipc_controld as of this commit to preserve previous
behavior), and call pcmk
new_message_as() directly rather than
create_request_adv().

Details

Provenance
kgaillotAuthored on Jul 10 2024, 2:20 PM
Parents
rPddd0023f8877: Refactor: libcrmcommon: consolidate create_request() "from" arguments
Branches
Unknown
Tags
Unknown