HomeClusterLabs Projects

Refactor: based, libcib: Replace cib_op_t * with cib_op_t

Description

Refactor: based, libcib: Replace cib_op_t * with cib_op_t

Functions and pointers to functions are treated identically in C. This
avoids a strange const hell in an upcoming commit, in which we retrieve
cib_operation_t:fn directly in the caller instead of calling
cib_op_func().

Ref T658

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

Details

Provenance
nrwahl2Authored on May 10 2023, 5:09 PM
Parents
rPfcc7ca893c83: Refactor: based: Replace cib_operation_t booleans with enum flags
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task