blob: 494811c062d0ebcf129b692fbf83033a39e49c5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- bluez-5.33/src/device.h.orig 2016-03-11 15:43:31.503474441 +0900
+++ bluez-5.33/src/device.h 2016-03-11 15:43:45.703474020 +0900
@@ -82,6 +82,7 @@
struct btd_adapter *device_get_adapter(struct btd_device *device);
const bdaddr_t *device_get_address(struct btd_device *device);
const char *device_get_path(const struct btd_device *device);
+const char *btd_device_get_path(const struct btd_device *device);
gboolean device_is_temporary(struct btd_device *device);
bool device_is_paired(struct btd_device *device, uint8_t bdaddr_type);
bool device_is_bonded(struct btd_device *device, uint8_t bdaddr_type);
--- bluez-5.33/src/device.c.orig 2016-03-11 15:42:30.783476238 +0900
+++ bluez-5.33/src/device.c 2016-03-11 15:43:20.483474767 +0900
@@ -4700,6 +4700,10 @@
return device->path;
}
+const char *btd_device_get_path(const struct btd_device *device) {
+ return device_get_path(device);
+}
+
gboolean device_is_temporary(struct btd_device *device)
{
return device->temporary;
|