summaryrefslogtreecommitdiff
path: root/src/device.h
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2012-04-24 22:42:29 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-04-25 13:00:40 +0300
commitd29e4c223dada9788ca8674bce99adc88b299c8f (patch)
tree357a330b22f0c6a86780d18ff9c9d4c878d8a4af /src/device.h
parent0c23db17bd69aa692029eb42b15db769eb065c73 (diff)
Remove addr_type_t definition from adapter.h
This patch replaces addr_type_t by the new Bluetooth address type constants defined in bluetooth.h
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/device.h b/src/device.h
index 690c64d4..51140c74 100644
--- a/src/device.h
+++ b/src/device.h
@@ -36,7 +36,7 @@ typedef enum {
struct btd_device *device_create(DBusConnection *conn,
struct btd_adapter *adapter,
- const char *address, addr_type_t type);
+ const char *address, uint8_t bdaddr_type);
void device_set_name(struct btd_device *device, const char *name);
void device_get_name(struct btd_device *device, char *name, size_t len);
uint16_t btd_device_get_vendor(struct btd_device *device);
@@ -60,8 +60,8 @@ GSList *device_services_from_record(struct btd_device *device,
void btd_device_add_uuid(struct btd_device *device, const char *uuid);
struct btd_adapter *device_get_adapter(struct btd_device *device);
void device_get_address(struct btd_device *device, bdaddr_t *bdaddr,
- addr_type_t *type);
-void device_set_addr_type(struct btd_device *device, addr_type_t type);
+ uint8_t *bdaddr_type);
+void device_set_addr_type(struct btd_device *device, uint8_t bdaddr_type);
const gchar *device_get_path(struct btd_device *device);
struct agent *device_get_agent(struct btd_device *device);
gboolean device_is_bredr(struct btd_device *device);