Parent: fea2985b1493c85704b461f6381e31627b44c07f
Author: Mikel Astiz <mikel.astiz@bmw-carit.de>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:58
Tree: 3f5c2df5c140b567f05c7cbd6d6bc664da9ae0bb
obexd: Buffer-passing changes in transfer API Transfer API now takes const buffers (both params and contents) and internally copies the memory as necessary. This new API is safer to use, which is convenient if the modules would start using it directly.
Diffstat
| M | obexd/client/session.c | | | 23 | ++++++- - - - - - - - - - - - - - - - - |
| M | obexd/client/transfer.c | | | 35 | +++++++++++++++++++++++- - - - - - - - - - - - |
| M | obexd/client/transfer.h | | | 12 | +++- - - - - - - - - |
3 files changed, 32 insertions(+), 38 deletions(-)