HomeClusterLabs Projects

[handle] validate handle in public API

Description

[handle] validate handle in public API

  • add _is_valid_handle() function to verify if a handle is known, via qb_list*
  • change all (and only) public API to use _is_valid_handle().
  • move library config bits to lib_config.c and keep header bit in internal.h. this is more of a commodity need to simplify accessability of above function to the test suite at link time.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

Details

Provenance
fabbioneAuthored on Apr 11 2021, 11:09 AM
Parents
rKe8231cb24e24: [global] Update copyright
Branches
Unknown
Tags
Unknown

Event Timeline