Remove security-server dependency 36/37636/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 1 Apr 2015 12:34:48 +0000 (21:34 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 1 Apr 2015 12:34:48 +0000 (21:34 +0900)
There was no codes for security-server API, in later we will apply synara APIs.

Change-Id: I6eb2d1fa022143d17c143421d775da49b3690f4d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-api/CMakeLists.txt
bt-api/bt-common.c
bt-service/CMakeLists.txt
bt-service/bt-request-handler.c
packaging/bluetooth-frwk.spec

index c63a231..1991f5b 100755 (executable)
@@ -56,7 +56,6 @@ SET(PKG_MODULES
        gmodule-2.0
        vconf
        libxml-2.0
-       security-server
        glib-2.0
        gio-2.0
        gio-unix-2.0
index 4fdfa85..b2864bb 100755 (executable)
@@ -1228,39 +1228,6 @@ DBusConnection *_bt_get_system_conn(void)
        return dbus_g_connection_get_connection(g_conn);
 }
 
-void _bt_generate_cookie(void)
-{
-       int retval;
-
-       ret_if(cookie != NULL);
-
-       cookie_size = security_server_get_cookie_size();
-
-       cookie = g_malloc0((cookie_size*sizeof(char))+1);
-
-       retval = security_server_request_cookie(cookie, cookie_size);
-       if(retval < 0) {
-               BT_ERR("Fail to get cookie: %d", retval);
-       }
-}
-
-void _bt_destroy_cookie(void)
-{
-       g_free(cookie);
-       cookie = NULL;
-       cookie_size = 0;
-}
-
-char *_bt_get_cookie(void)
-{
-       return cookie;
-}
-
-int _bt_get_cookie_size(void)
-{
-       return cookie_size;
-}
-
 int _bt_register_osp_server_in_agent(int type, char *uuid, char *path, int fd)
 {
        int ret;
index 86edea7..6dae5f9 100755 (executable)
@@ -60,7 +60,6 @@ SET(PKG_MODULES
 #      libnotify
 #      gdk-pixbuf-2.0
 #      gtk+-3.0
-       security-server
        capi-content-mime-type
        capi-network-connection
        pkgmgr
index 9209020..c237493 100755 (executable)
@@ -27,7 +27,6 @@
 #include <dbus/dbus-glib-lowlevel.h>
 #include <glib.h>
 #include <dlog.h>
-#include <security-server.h>
 
 #include "bluetooth-api.h"
 #include "bt-service-common.h"
index e4e92a8..19e8549 100755 (executable)
@@ -43,7 +43,6 @@ BuildRequires:  pkgconfig(libprivilege-control)
 BuildRequires:  pkgconfig(status)
 BuildRequires:  pkgconfig(alarm-service)
 BuildRequires:  pkgconfig(notification)
-BuildRequires:  pkgconfig(security-server)
 BuildRequires:  pkgconfig(capi-content-mime-type)
 BuildRequires:  pkgconfig(appcore-efl)
 BuildRequires:  pkgconfig(pkgmgr)