summaryrefslogtreecommitdiffstats
path: root/btif/include
diff options
context:
space:
mode:
authorzzy <zhenye@broadcom.com>2012-04-04 18:22:29 -0700
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:14 -0700
commite8070c41e25c6f0d368d7a53c0641524ea4630d2 (patch)
treeb5c08fa24ac84f7d7fac0478bb421aab0b9d151d /btif/include
parentb888218fb9061d8ddf41013dba6d0956b3322fd6 (diff)
downloadexternal_bluetooth_bluedroid-e8070c41e25c6f0d368d7a53c0641524ea4630d2.zip
external_bluetooth_bluedroid-e8070c41e25c6f0d368d7a53c0641524ea4630d2.tar.gz
external_bluetooth_bluedroid-e8070c41e25c6f0d368d7a53c0641524ea4630d2.tar.bz2
added code to cleanup sockets and workaround when bluetooth process does not exit when bt off
Diffstat (limited to 'btif/include')
-rw-r--r--btif/include/btif_sock_rfc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/btif/include/btif_sock_rfc.h b/btif/include/btif_sock_rfc.h
index 5bf13ed..2415513 100644
--- a/btif/include/btif_sock_rfc.h
+++ b/btif/include/btif_sock_rfc.h
@@ -56,7 +56,8 @@
#ifndef btif_sock_rfc_h_
#define btif_sock_rfc_h_
-bt_status_t btsock_rfc_init();
+bt_status_t btsock_rfc_init(int handle);
+bt_status_t btsock_rfc_cleanup();
bt_status_t btsock_rfc_listen(const char* name, const uint8_t* uuid, int channel, int* sock_fd, int flags);
bt_status_t btsock_rfc_connect(const bt_bdaddr_t *bd_addr, const uint8_t* uuid, int channel, int* sock_fd, int flags);
void btsock_rfc_signaled(int fd, int flags, uint32_t user_id);