summaryrefslogtreecommitdiff
path: root/src/profile.h
diff options
context:
space:
mode:
authorSonny Sasaka <sonnysasaka@chromium.org>2020-07-15 15:47:40 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-07-17 13:35:41 -0700
commit713f6f09f017abfccc2da9dbf2b32adf9ecb8e58 (patch)
treedd937324753835a40544896e763f20ab121b9c22 /src/profile.h
parentd5e07945c4aa36a83addc3c269f55c720c28afdb (diff)
downloadbluez-713f6f09f017abfccc2da9dbf2b32adf9ecb8e58.tar.gz
profile: Add exception to battery profile for external access
This gives exception to battery profile to be shared both internally and externally.
Diffstat (limited to 'src/profile.h')
-rw-r--r--src/profile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/profile.h b/src/profile.h
index 4448a2a6d..95523e50a 100644
--- a/src/profile.h
+++ b/src/profile.h
@@ -35,6 +35,10 @@ struct btd_profile {
const char *remote_uuid;
bool auto_connect;
+ /* Some profiles are considered safe to be handled internally and also
+ * be exposed in the GATT API. This flag give such profiles exception
+ * from being claimed internally.
+ */
bool external;
int (*device_probe) (struct btd_service *service);