summaryrefslogtreecommitdiff
path: root/src/profile.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-09-02 15:07:54 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-09-03 12:32:46 +0300
commite91aab1a7de2f79ae6c2e64f82e529fd92c1f6b0 (patch)
treef232a551ea0f04af37c066e75cdb0da5d2d395db /src/profile.h
parentcde3bb8ab9336970036af9a7c8c2ea398c7ba626 (diff)
downloadbluez-e91aab1a7de2f79ae6c2e64f82e529fd92c1f6b0.tar.gz
core/gatt: Cleanup service probe
This cleanup code related to service probe making it use a single function, because of that now all driver must implement device_probe in order for the service probe to work properly. In addition to that a new flag called external was introduced to btd_profile to be possible to distinguish whether it is a internal plugin or external client, this was needed in order to decide if an attribute should be claimed which whould prevent it to be exported over D-Bus.
Diffstat (limited to 'src/profile.h')
-rw-r--r--src/profile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/profile.h b/src/profile.h
index f5a3ded09..4448a2a6d 100644
--- a/src/profile.h
+++ b/src/profile.h
@@ -35,6 +35,7 @@ struct btd_profile {
const char *remote_uuid;
bool auto_connect;
+ bool external;
int (*device_probe) (struct btd_service *service);
void (*device_remove) (struct btd_service *service);