linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC obexd 0/4] Extend gobex high level transfer API
@ 2011-12-21  1:40 Jakub Adamek
  2011-12-21  1:41 ` [RFC obexd 1/4] gobex: make transfer structure public and opaque Jakub Adamek
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jakub Adamek @ 2011-12-21  1:40 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Jakub Adamek

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(-)

-- 
1.7.4.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-12-21  1:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-21  1:40 [RFC obexd 0/4] Extend gobex high level transfer API Jakub Adamek
2011-12-21  1:41 ` [RFC obexd 1/4] gobex: make transfer structure public and opaque Jakub Adamek
2011-12-21  1:41 ` [RFC obexd 2/4] gobex: make default response function public Jakub Adamek
2011-12-21  1:41 ` [RFC obexd 3/4] gobex: add response function parameter to API Jakub Adamek
2011-12-21  1:41 ` [RFC obexd 4/4] gobex: add functions to public transfer API Jakub Adamek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).