Fix static analysis issues in bt-api
[platform/core/connectivity/bluetooth-frwk.git] / bt-api / include / bt-common.h
index 0b99e4e..4851687 100755 (executable)
@@ -211,8 +211,11 @@ extern "C" {
 
 #define BT_AGENT_INTERFACE "org.bluez.Agent1"
 
-
+#ifndef GATT_DIRECT
+#define BT_MAX_USER_INFO 6
+#else
 #define BT_MAX_USER_INFO 5
+#endif
 #define RFKILL_EVENT_SIZE 8
 #define RFKILL_NODE "/dev/rfkill"
 
@@ -385,6 +388,8 @@ void _bluetooth_hid_free_hid_info(void);
 void _bt_hdp_app_remove_obj_info(unsigned int channe_id);
 int _bt_hdp_app_acquire_fd(bt_hdp_connected_t *conn_info);
 
+bluetooth_device_info_t *_bt_get_device_info_in_message(GVariant *parameters, int *ret);
+
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */