Thread (21 messages) 21 messages, 5 authors, 2026-02-26

Re: [PATCH BlueZ 11/12] agent: move defines and parsing for I/O capability to shared/mgnt

From: Bastien Nocera <hadess@hadess.net>
Date: 2026-02-26 09:48:49

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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help