diff options
Diffstat (limited to 'btif/include/btif_sock_rfc.h')
-rw-r--r-- | btif/include/btif_sock_rfc.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/btif/include/btif_sock_rfc.h b/btif/include/btif_sock_rfc.h index 2415513..f7e0869 100644 --- a/btif/include/btif_sock_rfc.h +++ b/btif/include/btif_sock_rfc.h @@ -45,20 +45,23 @@ * ************************************************************************************/ -/************************************************************************************ +/******************************************************************************* * * Filename: btif_sock.h * * Description: Bluetooth socket Interface * - * - ***********************************************************************************/ + *******************************************************************************/ + +#ifndef BTIF_SOCK_RFC_H +#define BTIF_SOCK_RFC_H -#ifndef btif_sock_rfc_h_ -#define btif_sock_rfc_h_ 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); +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); + #endif |