HomeClusterLabs Projects

Refactor: daemons: Keep XML schemas sorted.

Description

Refactor: daemons: Keep XML schemas sorted.

Now that we can add schemas multiple times (including after next/none
have been added in the initial set), we've broken the assumption that
schemas are always sorted by scandir.

This introduces a function that can be called wherever to keep them
sorted. It should be called pretty much whenever
pcmk__load_schemas_from_dir is called.

Details

Provenance
clumensAuthored on Oct 27 2023, 3:23 PM
Parents
rP7454a8400238: Refactor: daemons: Remove redundant includes from remoted_tls.c.
Branches
Unknown
Tags
Unknown