Merge "Fix the svace issue - DEREF_AFTER_NULL" into tizen
[platform/core/connectivity/bluetooth-frwk.git] / include / plugin.h
index 0112dc4..93135aa 100644 (file)
@@ -18,8 +18,9 @@
 #ifndef __BLUETOOTH_PLUGIN_H
 #define __BLUETOOTH_PLUGIN_H
 
+#include <stdbool.h>
 #include <dlog.h>
-#include <glib.h>
+
 
 #undef LOG_TAG
 #define LOG_TAG "BLUETOOTH_FRWK_PLUGIN"
@@ -80,17 +81,18 @@ typedef enum {
 } bt_agent_event_type_t;
 
 struct bluetooth_headed_plugin_t {
-       int (*bt_launch_dpmpopup) (char *mode);
+       int (*bt_launch_dpmpopup)(char *mode);
        int (*bt_launch_system_popup)(bt_agent_event_type_t event_type,
                                                        const char *device_name,
+                                                       const char *remote_address,
                                                        const unsigned char *auth_info,
                                                        char *passkey,
                                                        const char *filename,
                                                        const char *agent_path);
 
        void (*bt_destroy_popup_all)(void);
-       gboolean (*bt_launch_unable_to_pairing_syspopup)(int result);
-       gboolean (*bt_is_tethering_enabled)(void);
+       bool (*bt_launch_unable_to_pairing_syspopup)(int result);
+       bool (*bt_is_tethering_enabled)(void);
        int (*bt_get_mime_type)(char *file_name, char **mime_type);
 };