Return-Path: From: Mikel Astiz To: linux-bluetooth@vger.kernel.org Cc: Mikel Astiz Subject: [PATCH obexd v0 00/14] client: Return transfer object in D-Bus API Date: Fri, 1 Jun 2012 12:51:09 +0200 Message-Id: <1338547883-18907-1-git-send-email-mikel.astiz.oss@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Mikel Astiz This patch series proposes changes in the D-Bus API so that all transfer-initiating methods will return the transfer path. This has several benefits including the possibility to cancel the transfer. Along with the transfer path, the properties corresponding to this transfer will also be returned, for both performance reasons (avoid a call to GetProperties) and also race conditions (transfer might have been destroyed by the time the client calls to GetProperties). In addition, temporary files can now easily be used by the clients, by passing empty strings in the D-Bus API. The actual name of the created temporary file will be included in the transfer properties. Mikel Astiz (14): client-doc: ObjectPush sessions return transfers client: Support empty filename in obc_transfer_get client: Expose D-Bus data in internal transfer API client: ObjectPush sessions return transfers client-doc: FileTransfer sessions return transfers client: FileTransfer sessions return transfers client-doc: Synchronization sessions return transfers client: Synchronization sessions return transfers client-doc: PhonebookAccess sessions return transfers client: PhonebookAccess sessions return transfers client-test: ftp-client uses new API client-test: pbap-client uses new API client-test: Add opp-client client: Update copyright statement client/ftp.c | 46 ++++-------- client/opp.c | 71 +++--------------- client/pbap.c | 161 +++++++++++++++++++---------------------- client/session.c | 1 + client/session.h | 1 + client/sync.c | 92 ++++++++--------------- client/transfer.c | 91 +++++++++++++++++++---- client/transfer.h | 4 + doc/client-api.txt | 114 ++++++++++++++++++++++++----- test/ftp-client | 159 ++++++++++++++++++++++++---------------- test/opp-client | 101 +++++++++++++++++++++++++ test/pbap-client | 187 ++++++++++++++++++++++++++++++++++++++--------- test/pull-business-card | 40 ---------- test/send-files | 23 ------ 14 files changed, 660 insertions(+), 431 deletions(-) create mode 100755 test/opp-client delete mode 100755 test/pull-business-card delete mode 100755 test/send-files -- 1.7.7.6