diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-05-29 08:05:16 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-05-29 08:05:16 +0000 |
commit | caf9fdd6d0183afc3b21d1cd82eb637773c131de (patch) | |
tree | cf4034e4ffe2b65562d04663e0c88419ec1e92da /audio/device.h | |
parent | ba4e3484118a69f49772b7e8dba9d8a02f8dff61 (diff) |
Replace struct device with struct audio_device
Diffstat (limited to 'audio/device.h')
-rw-r--r-- | audio/device.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/audio/device.h b/audio/device.h index 44515bf4..5dc99b9d 100644 --- a/audio/device.h +++ b/audio/device.h @@ -52,7 +52,7 @@ struct sink; struct headset; struct gateway; -struct device { +struct audio_device { DBusConnection *conn; char *adapter_path; char *path; @@ -69,15 +69,15 @@ struct device { struct target *target; }; -struct device *device_register(DBusConnection *conn, +struct audio_device *device_register(DBusConnection *conn, const char *path, const bdaddr_t *bda); -int device_store(struct device *device, gboolean is_default); +int device_store(struct audio_device *device, gboolean is_default); -int device_remove_stored(struct device *dev); +int device_remove_stored(struct audio_device *dev); -void device_finish_sdp_transaction(struct device *device); +void device_finish_sdp_transaction(struct audio_device *device); -uint8_t device_get_state(struct device *dev); +uint8_t device_get_state(struct audio_device *dev); -gboolean device_is_connected(struct device *dev, const char *interface); +gboolean device_is_connected(struct audio_device *dev, const char *interface); |