office-gobmx/external/bluez_bluetooth/inc/bluetooth/hci_lib.h
Philipp Hofer c19cc6ad76 tdf#123936 Formatting files in module external with clang-format
Change-Id: If304aa6be018442a72e284f62d7745b3cdaef536
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105668
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-11-19 14:46:43 +01:00

23 lines
879 B
C

/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Bluez header
*** of the same name, to make information necessary for userspace to
*** call into the kernel available to Android. It contains only constants,
*** structures, and macros generated from the original header, and thus,
*** contains no copyrightable information.
***
****************************************************************************
****************************************************************************/
#ifndef __HCI_LIB_H
#define __HCI_LIB_H
#ifdef __cplusplus
#endif
#ifdef __cplusplus
#endif
static inline int hci_test_bit(int nr, void* addr)
{
return *((uint32_t*)addr + (nr >> 5)) & (1 << (nr & 31));
}
#endif