aboutsummaryrefslogtreecommitdiff
path: root/src/adapter.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2011-01-14 23:14:13 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2011-01-16 23:09:40 +0200
commit006301ab40fc71da92f593ddfb2dba70202bd061 (patch)
tree7e2a2c773d46f20e04641a4caf4049af2e662120 /src/adapter.h
parent24dbc52388f1ef2e759d24d74cd32f93531c8857 (diff)
downloadbluez-006301ab40fc71da92f593ddfb2dba70202bd061.tar.gz
Update Class of Device handling to the latest management interface
This patch updates the class of device handling code to match the latest management interface. A notable feature is that UUID to service class mapping policy remains in user space with the help of the svc_hint parameter of the add_uuid command. This is to make it easy to update the mapping table when new profiles come along.
Diffstat (limited to 'src/adapter.h')
-rw-r--r--src/adapter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adapter.h b/src/adapter.h
index 250c65e5..b66be9a8 100644
--- a/src/adapter.h
+++ b/src/adapter.h
@@ -234,7 +234,7 @@ struct btd_adapter_ops {
gpointer user_data);
int (*set_did) (int index, uint16_t vendor, uint16_t product,
uint16_t version);
- int (*add_uuid) (int index, uuid_t *uuid);
+ int (*add_uuid) (int index, uuid_t *uuid, uint8_t svc_hint);
int (*remove_uuid) (int index, uuid_t *uuid);
int (*disable_cod_cache) (int index);
int (*restore_powered) (int index);