diff options
author | RĂ©mi Denis-Courmont <remi.denis-courmont@nokia.com> | 2009-12-16 13:46:49 +0200 |
---|---|---|
committer | Aki Niemi <aki.niemi@nokia.com> | 2009-12-18 15:59:17 +0200 |
commit | bc6c4adcac319ce22508b4e7f5ea272162ea4b2e (patch) | |
tree | 6ada236600c595e9c790277d78541b952cb7294b /gisi | |
parent | 0081548fcfe6dd599822da22276b2aeb953156d0 (diff) | |
download | ofono-bc6c4adcac319ce22508b4e7f5ea272162ea4b2e.tar.bz2 |
gisi: pass object handle to g_isi_verify() callback
This will be needed for GPDS.
Diffstat (limited to 'gisi')
-rw-r--r-- | gisi/client.h | 3 | ||||
-rw-r--r-- | gisi/verify.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gisi/client.h b/gisi/client.h index d0c0c4b5..683d284a 100644 --- a/gisi/client.h +++ b/gisi/client.h @@ -38,7 +38,8 @@ typedef struct _GIsiClient GIsiClient; struct _GIsiRequest; typedef struct _GIsiRequest GIsiRequest; -typedef void (*GIsiVerifyFunc)(GIsiClient *client, bool alive, void *opaque); +typedef void (*GIsiVerifyFunc)(GIsiClient *client, bool alive, + uint16_t object, void *opaque); typedef bool (*GIsiResponseFunc)(GIsiClient *client, const void *restrict data, size_t len, diff --git a/gisi/verify.c b/gisi/verify.c index c40ea770..7958a335 100644 --- a/gisi/verify.c +++ b/gisi/verify.c @@ -71,7 +71,7 @@ static bool verify_cb(GIsiClient *client, const void *restrict data, out: if (func) - func(client, alive, vd->data); + func(client, alive, object, vd->data); g_free(vd); return true; } |