Add the privilege check for GATT SERVER APIs
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / include / bt-service-util.h
index d1984bd..edb42b4 100755 (executable)
@@ -1,11 +1,5 @@
 /*
- * Bluetooth-frwk
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact:  Hocheol Seo <hocheol.seo@samsung.com>
- *              Girishashok Joshi <girish.joshi@samsung.com>
- *              Chanyeol Park <chanyeol.park@samsung.com>
+ * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -26,7 +20,7 @@
 #define _BT_SERVICE_UTIL_H_
 
 #include <sys/types.h>
-#include <dbus/dbus-glib.h>
+#include <gio/gio.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -38,7 +32,7 @@ typedef struct {
        int req_id;
        int service_function;
        char name[BT_NODE_NAME_LEN];
-       DBusGMethodInvocation *context;
+       GDBusMethodInvocation *context;
 } request_info_t;
 
 
@@ -52,7 +46,7 @@ void _bt_delete_request_id(int request_id);
 void _bt_init_request_list(void);
 
 int _bt_insert_request_list(int req_id, int service_function,
-                       char *name, DBusGMethodInvocation *context);
+                       char *name, GDBusMethodInvocation *context);
 
 int _bt_delete_request_list(int req_id);