Commit: dd78f7c1654b3555f8dac55d439e98275fadb888
Parent: f3636d08a1e0b344eb9e9021fe0abe3f4342ce99
Author: Mikel Astiz <mikel.astiz@bmw-carit.de>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:57
Tree: 4f6eb228527d9fa54180399f2007bd014b9f671e

obexd: transfer api merges put and get A new enum type is used to distinguish put and get transfers. This is more convenient since it is done when registering the transfer, and not when it is actually started. The main benefits would be: - Some actions can be taken during creation, such as opening files. - session.c gets simplified. - The size of a put transfer can be exposed in D-Bus, while queued. - The transfer operation (put or get) can be exposed in D-Bus. None of these D-Bus changes are included in this patch.

Diffstat

M obexd/client/session.c | 67 +++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M obexd/client/transfer.c | 53 +++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - -
M obexd/client/transfer.h | 5 +++- -

3 files changed, 63 insertions(+), 62 deletions(-)

View Full Diff | Patch