On Wed, 2026-02-25 at 19:38 +0100, Christian Eggers wrote:
quoted
Perhaps this should be an enum to ensure things like switch
statements
do check for unhandled values.
also done. But now using an enum in src/adapter.h requires also
including
"src/shared/mgmt.h" in every file where src/adapter.h is used. I've
made
all these changes, but maybe we should really think about include
guards.
#pragma once
should be all that's needed, at the top of the header in question. IMO,
there's really no need to start adding it everywhere, but it's a good
time to set an example on how it can be done when needed.
Shall I resubmit the whole series or do you want to pick the fine
commits
first?