diff options
Diffstat (limited to 'src/device.h')
-rw-r--r-- | src/device.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/device.h b/src/device.h index a1fa15ab..e0d334f6 100644 --- a/src/device.h +++ b/src/device.h @@ -30,7 +30,9 @@ void device_remove(DBusConnection *conn, struct btd_device *device); gint device_address_cmp(struct btd_device *device, const gchar *address); int device_browse(struct btd_device *device, DBusConnection *conn, DBusMessage *msg, uuid_t *search, gboolean reverse); -void device_probe_drivers(struct btd_device *device, GSList *uuids, sdp_list_t *recs); +void device_probe_drivers(struct btd_device *device, GSList *uuids); +const sdp_record_t *btd_device_get_record(struct btd_device *device, + const char *uuid); struct btd_adapter *device_get_adapter(struct btd_device *device); void device_get_address(struct btd_device *adapter, bdaddr_t *bdaddr); const gchar *device_get_path(struct btd_device *device); @@ -54,7 +56,7 @@ void device_set_secmode3_conn(struct btd_device *device, gboolean enable); struct btd_device_driver { const char *name; const char **uuids; - int (*probe) (struct btd_device *device, GSList *records); + int (*probe) (struct btd_device *device, GSList *uuids); void (*remove) (struct btd_device *device); }; |