HomeClusterLabs Projects

Refactor: libcrmcommon: Store known_schemas as a GList.

Description

Refactor: libcrmcommon: Store known_schemas as a GList.

Instead of managing our own array with realloc, use GList and the
various glib list functions.

In many places, this makes the code easier to follow - we can simply
iterate over the list and do something on each node. In other places,
we're still relying on list indices too much to help. Those spots can
probably be cleaned up in future commits.

Details

Provenance
clumensAuthored on Oct 25 2023, 5:22 PM
Parents
rPfdf0ee953082: Refactor: libcrmcommon: Add pcmk__dump_known_schemas.
Branches
Unknown
Tags
Unknown