summaryrefslogtreecommitdiffstats
path: root/btif/include/btif_config_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'btif/include/btif_config_util.h')
-rw-r--r--btif/include/btif_config_util.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/btif/include/btif_config_util.h b/btif/include/btif_config_util.h
index 0612796..f9d0d29 100644
--- a/btif/include/btif_config_util.h
+++ b/btif/include/btif_config_util.h
@@ -45,21 +45,25 @@
*
************************************************************************************/
-
/************************************************************************************
*
* Filename: btif_config_util.h
*
* Description: Bluetooth configuration utility api
*
- *
***********************************************************************************/
-#ifndef btif_config_util_h_
-#define btif_config_util_h_
+#ifndef BTIF_CONFIG_UTIL_H
+#define BTIF_CONFIG_UTIL_H
+
#ifdef __cplusplus
extern "C" {
#endif
+
+/*******************************************************************************
+** Constants & Macros
+********************************************************************************/
+
#define BLUEZ_PATH "/data/misc/bluetoothd/"
#define BLUEZ_PATH_BAK "/data/misc/bluetoothd_bak"
#define BLUEZ_LINKKEY "linkkeys"
@@ -69,10 +73,17 @@ extern "C" {
#define BLUEZ_TYPES "types"
#define BLUEZ_CONFIG "config"
#define BLUEZ_ALIASES "aliases"
+
+
+/*******************************************************************************
+** Functions
+********************************************************************************/
+
int btif_config_save_file(const char* file_name);
int btif_config_load_file(const char* file_name);
int load_bluez_adapter_info(char* adapter_path, int size);
int load_bluez_linkkeys(const char* adapter_path);
+
#ifdef __cplusplus
}
#endif