summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/hci_lib.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/hci_lib.h b/include/hci_lib.h
index 02c56a1f..7fd95cfc 100644
--- a/include/hci_lib.h
+++ b/include/hci_lib.h
@@ -59,7 +59,7 @@ int hci_send_req(int dd, struct hci_request *req, int timeout);
int hci_create_connection(int dd, bdaddr_t *ba, uint16_t ptype, uint16_t clkoffset, uint8_t rswitch, uint16_t *handle, int to);
int hci_disconnect(int dd, uint16_t handle, uint8_t reason, int to);
-inquiry_info *hci_inquiry(int dev_id, int len, int *num_rsp, uint8_t *lap, long flags);
+int hci_inquiry(int dev_id, int len, int num_rsp, uint8_t *lap, inquiry_info **ii, long flags);
int hci_devinfo(int dev_id, struct hci_dev_info *di);
int hci_devba(int dev_id, bdaddr_t *ba);
@@ -70,6 +70,9 @@ int hci_read_remote_version(int dd, uint16_t handle, struct hci_version *ver, in
int hci_read_local_version(int dd, struct hci_version *ver, int to);
int hci_class_of_dev(int dd, uint8_t *class, int to);
+int hci_for_each_dev(int flag, int(*func)(int s, int dev_id, long arg), long arg);
+int hci_get_route(bdaddr_t *bdaddr);
+
char *hci_dtypetostr(int type);
char *hci_dflagstostr(uint32_t flags);
char *hci_ptypetostr(unsigned int ptype);