Code Sync [Tizen3.0]: Merged the tizen_2.4 Spin code to tizen.org
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / include / bt-service-obex-agent.h
old mode 100644 (file)
new mode 100755 (executable)
index 7094bb3..36dc0f6
@@ -1,13 +1,17 @@
 /*
- * bluetooth-frwk
+ *  Bluetooth-frwk
  *
- * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ * 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>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
- *              http://www.apache.org/licenses/LICENSE-2.0
+ *             http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -51,11 +55,6 @@ GType bt_obex_agent_get_type(void);
 
 typedef gboolean(*bt_obex_authorize_cb)(DBusGMethodInvocation *context,
                                           const char *path,
-                                          const char *bdaddress,
-                                          const char *name,
-                                          const char *type,
-                                          gint length,
-                                          gint time,
                                           gpointer data);
 
 typedef gboolean(*bt_obex_request_cb)(DBusGMethodInvocation *context,
@@ -112,6 +111,9 @@ gboolean _bt_obex_setup(BtObexAgent *agent, const char *path);
 gboolean bt_obex_agent_request(BtObexAgent *agent, const char *path,
                                   DBusGMethodInvocation *context);
 
+gboolean bt_obex_agent_authorize_push(BtObexAgent *agent, const char *path,
+                            DBusGMethodInvocation *context);
+
 gboolean bt_obex_agent_authorize(BtObexAgent *agent, const char *path,
                        const char *bdaddress, const char *name,
                        const char *type, gint length, gint time,