[PATCH v3 0/8] Multiple agent support

Jukka Rissanen jukka.rissanen at linux.intel.com
Tue Sep 10 04:38:41 PDT 2013


Hi,

this patchset implements multiple agent support.
This means that multiple agents can be registered
and connman directs user requests to best agent
available.

v3:
- Removed and refactored elect_default_agent() function
  and merged it to set_default_agent() in patch 6.
  The set_default_agent() now automatically selects a new
  agent if NULL parameter is passed to it.
- The dbus Release message is now only sent to agents when
  connmand quits (patch 6)
- Fixed the crashes with multiple agents with multiple
  queued requests in patch 6


Cheers,
Jukka


Jukka Rissanen (8):
  agent: Change the name of the agent struct
  agent: Check that message exists before calling dbus
  service: Unregister agent driver before removing service
  vpn: Unregister agent driver before removing provider
  agent: API changes required for multi agent support
  agent: Add multi agent support
  vpn: Make sure we got an agent before asking user
  agent: Make sure we got an agent before asking user

 include/agent.h           |   9 +-
 src/agent-connman.c       |  34 +++-
 src/agent.c               | 504 ++++++++++++++++++++++++++++++++--------------
 src/connman.h             |   3 +-
 src/service.c             |  20 +-
 vpn/plugins/l2tp.c        |  18 +-
 vpn/plugins/openconnect.c |  17 +-
 vpn/plugins/openvpn.c     |   3 +-
 vpn/plugins/pptp.c        |  18 +-
 vpn/plugins/vpn.c         |   6 +-
 vpn/plugins/vpn.h         |   3 +-
 vpn/plugins/vpnc.c        |   3 +-
 vpn/vpn-provider.c        |   8 +-
 vpn/vpn-provider.h        |   3 +-
 14 files changed, 445 insertions(+), 204 deletions(-)

-- 
1.7.11.7




More information about the connman mailing list