From 548026e08bd9b83b3685d515a916e2cf674184f3 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 9 Oct 2008 14:11:16 +0200 Subject: Make device driver probe calls take UUID's instead of full records This is preparation for allowing the device object to be correctly set up even when we don't have the full service records but only the remote UUID's. --- audio/headset.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'audio/headset.h') diff --git a/audio/headset.h b/audio/headset.h index 9152401d..c8d63b9b 100644 --- a/audio/headset.h +++ b/audio/headset.h @@ -42,14 +42,15 @@ typedef enum { typedef void (*headset_stream_cb_t) (struct audio_device *dev, void *user_data); -struct headset *headset_init(struct audio_device *dev, sdp_record_t *record, - uint16_t svc); +struct headset *headset_init(struct audio_device *dev, uint16_t svc, + const char *uuidstr); void headset_unregister(struct audio_device *dev); uint32_t headset_config_init(GKeyFile *config); -void headset_update(struct audio_device *dev, sdp_record_t *record, uint16_t svc); +void headset_update(struct audio_device *dev, uint16_t svc, + const char *uuidstr); unsigned int headset_request_stream(struct audio_device *dev, headset_stream_cb_t cb, void *user_data); -- cgit