summaryrefslogtreecommitdiff
path: root/obexd/src/manager.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-12-20 16:47:49 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-12-21 11:59:40 +0200
commit84d01d66e164dccd076977237b28cbfbb8629d8e (patch)
tree6970a9b7dad90e6612648435b9db80d0c8c67f35 /obexd/src/manager.h
parent3d49a8830697d6adea3453286a85857413e57f4e (diff)
obexd: Fix transfer path to include session path
Transfer path should use the session path as prefix
Diffstat (limited to 'obexd/src/manager.h')
-rw-r--r--obexd/src/manager.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/obexd/src/manager.h b/obexd/src/manager.h
index b0400aa0f..669b223f8 100644
--- a/obexd/src/manager.h
+++ b/obexd/src/manager.h
@@ -26,15 +26,17 @@
#define OBEXD_SERVICE "org.bluez.obex"
struct obex_session;
+struct obex_transfer;
void manager_register_session(struct obex_session *os);
void manager_unregister_session(struct obex_session *os);
-void manager_register_transfer(struct obex_session *os);
-void manager_unregister_transfer(struct obex_session *os);
-void manager_emit_transfer_started(struct obex_session *os);
-void manager_emit_transfer_progress(struct obex_session *os);
-void manager_emit_transfer_completed(struct obex_session *os);
-int manager_request_authorization(struct obex_session *os, int32_t time,
- char **new_folder, char **new_name);
+
+struct obex_transfer *manager_register_transfer(struct obex_session *os);
+void manager_unregister_transfer(struct obex_transfer *transfer);
+void manager_emit_transfer_started(struct obex_transfer *transfer);
+void manager_emit_transfer_progress(struct obex_transfer *transfer);
+void manager_emit_transfer_completed(struct obex_transfer *transfer);
+int manager_request_authorization(struct obex_transfer *transfer, int32_t time,
+ char **new_folder, char **new_name);
DBusConnection *manager_dbus_get_connection(void);