linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH obexd 0/8] client: isolate target/profile code
@ 2011-08-12  8:45 Luiz Augusto von Dentz
  2011-08-12  8:45 ` [PATCH obexd 1/8] client: add target module vtable Luiz Augusto von Dentz
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Luiz Augusto von Dentz @ 2011-08-12  8:45 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This patches aim to make obex-client more modular and easier to
add new profiles/targets.

It works similarly to a built-in plugin, but without messing around with
the build system, modules are hardcoded directly in the vtable in manager.c
so manager_init also initialize the modules which then can register their
drivers.

Luiz Augusto von Dentz (8):
  client: add target module vtable
  client: move __obex_log_init before manager_init
  client: add target driver support
  client: make use of obc_ prefix for public functions
  client: add opp target
  client: add ftp target
  client: add pbap target
  client: add sync target

 Makefile.am       |    7 +-
 client/agent.c    |   30 ++--
 client/agent.h    |   20 ++--
 client/driver.c   |   85 ++++++++++++
 client/driver.h   |   35 +++++
 client/ftp.c      |  146 +++++++++++++++-----
 client/ftp.h      |    8 +-
 client/main.c     |    4 +-
 client/manager.c  |  101 +++++++++-----
 client/opp.c      |   53 ++++++++
 client/opp.h      |   25 ++++
 client/pbap.c     |  136 +++++++++++++------
 client/pbap.h     |    7 +-
 client/session.c  |  380 ++++++++++++++++++++++++++---------------------------
 client/session.h  |   49 ++++----
 client/sync.c     |   95 ++++++++++---
 client/sync.h     |    7 +-
 client/transfer.c |  108 ++++++++--------
 client/transfer.h |   35 +++---
 19 files changed, 857 insertions(+), 474 deletions(-)
 create mode 100644 client/driver.c
 create mode 100644 client/driver.h
 create mode 100644 client/opp.c
 create mode 100644 client/opp.h

-- 
1.7.6


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

end of thread, other threads:[~2011-08-12 12:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-12  8:45 [PATCH obexd 0/8] client: isolate target/profile code Luiz Augusto von Dentz
2011-08-12  8:45 ` [PATCH obexd 1/8] client: add target module vtable Luiz Augusto von Dentz
2011-08-12  8:45 ` [PATCH obexd 2/8] client: move __obex_log_init before manager_init Luiz Augusto von Dentz
2011-08-12  8:45 ` [PATCH obexd 3/8] client: add target driver support Luiz Augusto von Dentz
2011-08-12  8:45 ` [PATCH obexd 4/8] client: make use of obc_ prefix for public functions Luiz Augusto von Dentz
2011-08-12  8:45 ` [PATCH obexd 5/8] client: add opp target Luiz Augusto von Dentz
2011-08-12  8:45 ` [PATCH obexd 6/8] client: add ftp target Luiz Augusto von Dentz
2011-08-12  8:45 ` [PATCH obexd 7/8] client: add pbap target Luiz Augusto von Dentz
2011-08-12  8:45 ` [PATCH obexd 8/8] client: add sync target Luiz Augusto von Dentz
2011-08-12 12:29 ` [PATCH obexd 0/8] client: isolate target/profile code Johan Hedberg

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