From: Daniel Wagner <[email protected]>

Hi,

After the changes from Patrik, we can start simplifying
what is inside session.c. This series contains the first
half of the patches I have here. The second part needs some
more debugging, therefore I just send this part first.

The goal of the first part 1 is to get rid of the helper
structure service_entry. Part 2 will remove the service list
and service hash table inside struct session_info. 

There are no functional changes (not on purpose at least).

cheers,
daniel

Daniel Wagner (9):
  session: Do not cache service name, type or bearer
  service: Remove service name in service_iterate_cb()
  session: Use a hash table to lookup sessions by service_entry
  session: Move service_entry to struct connman_session
  service: Add getter for service state
  session: Use service state getter
  service: Remove state argument from service_iterator_cb()
  session: Remove connect reason from struct service_entry
  session: Remove struct service_entry

 src/connman.h |   3 +-
 src/service.c |   7 +-
 src/session.c | 345 ++++++++++++++++++++--------------------------------------
 3 files changed, 126 insertions(+), 229 deletions(-)

-- 
1.8.4.rc0.1.g8f6a3e5

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to