HomeClusterLabs Projects

Refactor: libcrmcommon: New pcmk__xe_get_timeval()

Description

Refactor: libcrmcommon: New pcmk__xe_get_timeval()

To replace crm_element_value_timeval().

Don't bother defaulting time values to 0. Instead, callers can check the
return value and respond appropriately.

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

Details

Provenance
nrwahl2Authored on Mar 19 2025, 1:41 AM
Parents
rP5a6da97098ef: Refactor: libcrmcluster: Check return value in parse_election_message()
Branches
Unknown
Tags
Unknown