OSDN Git Service

original
[gb-231r1-is01/Gingerbread_2.3.3_r1_IS01.git] / system / bluetooth / bluez-clean-headers / bluetooth / hci_lib.h
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Bluez header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to Android. It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ****************************************************************************
11  ****************************************************************************/
12 #ifndef __HCI_LIB_H
13 #define __HCI_LIB_H
14
15 #ifdef __cplusplus
16 #endif
17 #ifdef __cplusplus
18 #endif
19 static inline int hci_test_bit(int nr, void *addr)
20 {
21         return *((uint32_t *) addr + (nr >> 5)) & (1 << (nr & 31));
22 }
23 #endif