gisi: simplify pending management
authorPekka Pessi <Pekka.Pessi@nokia.com>
Tue, 18 Jan 2011 21:27:08 +0000 (23:27 +0200)
committerAki Niemi <aki.niemi@nokia.com>
Tue, 18 Jan 2011 21:31:47 +0000 (23:31 +0200)
commite72e5444af1df26fbe6fa230a5bbc113704f1058
tree8796b6492491ebb90b9cc5fa5143531d70a505d5
parentfef6de49af4fc37649422275a4b686d528b8e535
gisi: simplify pending management

Client or server mark their pending objects with
the function g_isi_pending_set_owner().

When client or server get destroyed or reset the pending objects are
removed with the function g_isi_remove_pending_by_owner(). As a client
or server always uses only a particular resource, all the pending
objects are conveniently stored into a single list.
gisi/client.c
gisi/modem.c
gisi/modem.h
gisi/server.c