HomeClusterLabs Projects

API: libcrmcommon: first argument to create_reply() is now const

Description

API: libcrmcommon: first argument to create_reply() is now const

This is backward-compatible since a non-const pointer can be passed as a
const pointer argument.

Note that the second argument is *probably* not modified, but libxml2
does not declare the corresponding argument to xmlDocCopyNode() as const,
so we can't use it here either.

Details

Provenance
kgaillotAuthored on Aug 23 2022, 5:26 PM
Parents
rP554a79898730: API: libcrmcommon: first argument to get_message_xml() is now const
Branches
Unknown
Tags
Unknown