session: Add hash table to track service list
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Mon, 9 May 2011 15:50:09 +0000 (17:50 +0200)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Fri, 13 May 2011 13:55:02 +0000 (15:55 +0200)
commit30d21244ea0b823b1c8e92cf70bf0517354073a3
tree17ddb0dcc82b4910107a501961965eaeebb41230
parent42aa191712e8c82fd1c84d9f5477aa6081b729fa
session: Add hash table to track service list

Instead of having our own code for finding the iterator pointers in
the service list we are using the same approach as in service.c. Store
the iterator in a service hash with the service as key and the service
list iterator as value. With this we can get rid of
service_remove_from_session and lookup_service.
src/session.c