summaryrefslogtreecommitdiffstats
path: root/src/hci.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-01-23 08:10:42 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-01-23 08:10:42 +0000
commitbadafc6e227a175022370017008f0d839ec90b25 (patch)
treee972f80e711021a0623657a6996e40e115401f11 /src/hci.c
parentef5f2b1b3adbc8509dc47a4c53f31e6e9f867d0b (diff)
Add functions hci_{local|remote}_name()
Diffstat (limited to 'src/hci.c')
-rw-r--r--src/hci.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/hci.c b/src/hci.c
index 8e0b7938..87f4874b 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -1619,3 +1619,13 @@ int hci_read_afh_map(int dd, uint16_t handle, uint8_t *mode, uint8_t *map, int t
memcpy(map, rp.map, 10);
return 0;
}
+
+int hci_local_name(int dd, int len, char *name, int to)
+{
+ return hci_read_local_name(dd, len, name, to);
+}
+
+int hci_remote_name(int dd, const bdaddr_t *bdaddr, int len, char *name, int to)
+{
+ return hci_read_remote_name(dd, bdaddr, len, name, to);
+}