diff options
author | Andre Eisenbach <andre@broadcom.com> | 2012-09-18 01:35:44 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-09-18 10:06:32 -0700 |
commit | cc914cffd521b2e6e1be804c82aea2388b843ebf (patch) | |
tree | a4859572083eb29c931cc5066645f9c0a2929d71 /btif/include/btif_config.h | |
parent | 6ed67e2ac54c83d18701d2b4ee1b9d729e99a38c (diff) | |
download | external_bluetooth_bluedroid-cc914cffd521b2e6e1be804c82aea2388b843ebf.zip external_bluetooth_bluedroid-cc914cffd521b2e6e1be804c82aea2388b843ebf.tar.gz external_bluetooth_bluedroid-cc914cffd521b2e6e1be804c82aea2388b843ebf.tar.bz2 |
Header file and whitespace cleanups
Also fixed file permission to remove executable bit
from source files.
Change-Id: I6954c2d16190bc35b1b0d38386543253696b1112
Diffstat (limited to 'btif/include/btif_config.h')
-rw-r--r-- | btif/include/btif_config.h | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/btif/include/btif_config.h b/btif/include/btif_config.h index 7188a0f..4bd25db 100644 --- a/btif/include/btif_config.h +++ b/btif/include/btif_config.h @@ -45,27 +45,37 @@ * ************************************************************************************/ - -/************************************************************************************ +/******************************************************************************* * * Filename: btif_config.h * * Description: Bluetooth configuration Interface * - * - ***********************************************************************************/ + *******************************************************************************/ + +#ifndef BTIF_CONFIG_H +#define BTIF_CONFIG_H -#ifndef btif_config_h_ -#define btif_config_h_ #ifdef __cplusplus #include <stdint.h> extern "C" { #endif + +/******************************************************************************* +** Constants & Macros +********************************************************************************/ + #define BTIF_CFG_TYPE_INVALID 0 #define BTIF_CFG_TYPE_STR 1 #define BTIF_CFG_TYPE_INT (1 << 1) #define BTIF_CFG_TYPE_BIN (1 << 2) #define BTIF_CFG_TYPE_VOLATILE (1 << 15) + + +/******************************************************************************* +** Functions +********************************************************************************/ + int btif_config_init(); int btif_config_exist(const char* section, const char* key, const char* name); @@ -88,6 +98,7 @@ int btif_config_enum(btif_config_enum_callback cb, void* user_data); int btif_config_save(); void btif_config_flush(); + #ifdef __cplusplus } #endif |