[PATCH obexd v2 00/15] client: Return transfer object in D-Bus API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx>

This third version is very similar to the previous one but now python scripts make use of tabs instead of whitespaces.

>From original cover letter:

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 (15):
  client: Make transfer filename optional
  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       |   92 ++++++++++++++---
 client/transfer.h       |    4 +
 doc/client-api.txt      |  116 ++++++++++++++++++----
 test/ftp-client         |  259 ++++++++++++++++++++++++++---------------------
 test/opp-client         |   97 ++++++++++++++++++
 test/pbap-client        |  188 +++++++++++++++++++++++++++-------
 test/pull-business-card |   40 -------
 test/send-files         |   23 ----
 14 files changed, 706 insertions(+), 485 deletions(-)
 create mode 100755 test/opp-client
 delete mode 100755 test/pull-business-card
 delete mode 100755 test/send-files

-- 
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux