OSDN Git Service

Revert "Add guest mode functionality (2/5)"
[android-x86/system-bt.git] / btif / include / btif_api.h
index 62687d3..dcaecfc 100644 (file)
@@ -30,6 +30,8 @@
 #ifndef BTIF_API_H
 #define BTIF_API_H
 
+#include <hardware/bluetooth.h>
+
 #include "btif_common.h"
 #include "btif_dm.h"
 
@@ -210,6 +212,18 @@ bt_status_t btif_dm_create_bond(const bt_bdaddr_t *bd_addr, int transport);
 
 /*******************************************************************************
 **
+** Function         btif_dm_create_bond_out_of_band
+**
+** Description      Initiate bonding with the specified device using OOB data.
+**
+** Returns          bt_status_t
+**
+*******************************************************************************/
+bt_status_t btif_dm_create_bond_out_of_band(const bt_bdaddr_t *bd_addr, int transport,
+                                    const bt_out_of_band_data_t *oob_data);
+
+/*******************************************************************************
+**
 ** Function         btif_dm_cancel_bond
 **
 ** Description      Initiate bonding with the specified device
@@ -379,4 +393,15 @@ void btif_dm_read_energy_info();
 **
 *******************************************************************************/
 bt_status_t btif_config_hci_snoop_log(uint8_t enable);
+
+/*******************************************************************************
+**
+** Function         btif_debug_bond_event_dump
+**
+** Description     Dump bond event information
+**
+** Returns          void
+**
+*******************************************************************************/
+void btif_debug_bond_event_dump(int fd);
 #endif /* BTIF_API_H */