Fix the coverity issues
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / hardware / bt_gatt_server.h
index 190cea1..73df96c 100644 (file)
@@ -44,6 +44,9 @@ typedef struct {
        bool     set_scan_rsp;
        bool     include_name;
        bool     include_txpower;
+#ifdef TIZEN_BT_HAL
+       bool     include_appearance;
+#endif
        uint16_t  appearance;
        char*    manufacturer_data;
        uint16_t manufacturer_data_len;
@@ -134,6 +137,10 @@ typedef void (*request_write_callback)(int conn_id, int trans_id, bt_bdaddr_t *b
 typedef void (*request_acquire_write_callback)(int mtu, int conn_id, int trans_id,
                                                                        int attr_handle, bt_bdaddr_t *bda);
 
+typedef void (*request_acquire_notify_callback)(int fd, int conn_id, int trans_id,
+                                                                       int attr_handle);
+
+
 /** Callback invoked when a previously prepared write is to be executed */
 typedef void (*request_exec_write_callback)(int conn_id, int trans_id,
                bt_bdaddr_t *bda, int exec_write);
@@ -191,6 +198,7 @@ typedef struct {
        notification_enabled_callback   notif_enabled_cb;
 #endif
        request_acquire_write_callback    request_acquire_write_cb;
+       request_acquire_notify_callback  request_acquire_notify_cb;
 } btgatt_server_callbacks_t;
 
 /** Represents the standard BT-GATT server interface. */
@@ -263,6 +271,9 @@ typedef struct {
        bt_status_t (*multi_adv_update)(int server_if, int min_interval, int max_interval, int adv_type,
                        int chnl_map, int tx_power, int timeout_s);
 
+       /* Set the filter_policy value in the HAL Layer */
+       bt_status_t (*set_filter_policy)(int filter_policy);
+
        /* Setup the data for the specified instance */
        bt_status_t (*multi_adv_set_inst_data)(btgatt_adv_param_setup_t adv_param_setup);