RFC Extend gobex high level transfer API
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | gobex: make transfer structure public and opaquegobex/ gobex/ | +27 | 0 replies | |
| 2/4 | gobex: make default response function publicgobex/ gobex/ | +4 | 0 replies | |
| 3/4 | gobex: add response function parameter to APIclient/ gobex/ gobex/ +1 more | +48 | 0 replies | |
| 4/4 | gobex: add functions to public transfer APIgobex/ gobex/ | +29 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC obexd 0/4] Extend gobex high level transfer API
The purpose of this patch series is to propose an extension to the current high level request transfer API.
The motivation for this is that currently profiles that require parsing of non-body response headers in PUT operations (such as BIP) can not use the high level transfer API. The proposed solution is to make the function the API uses to handle each response packet replaceable at the time of transfer creation.
A custom handler can process incoming packets and (if desired) pass them to the default packet handler in order
for it to proceed with the transfer.
Jakub Adamek (4):
gobex: make transfer structure public and opaque
gobex: make default response function public
gobex: add response function parameter to API
gobex: add functions to public transfer API
client/transfer.c | 6 +- gobex/gobex-transfer.c | 122 ++++++++++++++++++++++++++----------------- gobex/gobex.h | 16 +++++- unit/test-gobex-transfer.c | 20 ++++---- 4 files changed, 101 insertions(+), 63 deletions(-)
Signature · 1 line
1.7.4.1