Replace the deprecatd soup API
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / include / bt-service-obex-server.h
index b409acb..f0be8da 100644 (file)
@@ -1,13 +1,11 @@
 /*
- * bluetooth-frwk
- *
- * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
+ * 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.
  * 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,
@@ -17,6 +15,7 @@
  *
  */
 
+
 #ifndef _BT_SERVICE_OBEX_SERVER_H_
 #define _BT_SERVICE_OBEX_SERVER_H_
 
@@ -60,16 +59,26 @@ int _bt_obex_server_accept_connection(int request_id);
 
 int _bt_obex_server_reject_connection(void);
 
+int _bt_opp_get_server_progress(int transfer_id, guint8 *progress);
 
-void _bt_obex_transfer_started(const char *transfer_path);
+int _bt_obex_server_is_receiving(gboolean *receiving);
 
-void _bt_obex_transfer_progress(const char *transfer_path,
-                                       int total,
-                                       int transferred);
 
+void _bt_obex_transfer_progress(const char *transfer_path,
+                                       guint64 transferred);
 void _bt_obex_transfer_completed(const char *transfer_path, gboolean success);
 
+void _bt_obex_transfer_started(const char *transfer_path);
+
+void _bt_obex_check_pending_transfer(const char *address);
+
+void _bt_obex_transfer_connected(const char *obj_path);
+
+void _bt_obex_transfer_disconnected(char *address);
+
+int _bt_obex_get_native_pid(void);
 
+void _bt_obex_server_reply_accept(void);
 
 #ifdef __cplusplus
 }