diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-02-15 15:46:24 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-02-15 15:47:32 -0600 |
commit | a6f910e27cdae6f44b767767dae6190a0affe438 (patch) | |
tree | f4df31736c123d3ba697b2dcc6afcfc1e38d7880 /gatchat/gatserver.h | |
parent | a0cca0a970fb46fe2a3ee2615271da7d8a60c071 (diff) | |
download | ofono-a6f910e27cdae6f44b767767dae6190a0affe438.tar.bz2 |
gatserver: Change callback signature
Provide the originating GAtServer to the callback
Diffstat (limited to 'gatchat/gatserver.h')
-rw-r--r-- | gatchat/gatserver.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gatchat/gatserver.h b/gatchat/gatserver.h index f0c19da4..5e663b75 100644 --- a/gatchat/gatserver.h +++ b/gatchat/gatserver.h @@ -65,7 +65,8 @@ enum _GAtServerRequestType { typedef enum _GAtServerRequestType GAtServerRequestType; -typedef void (*GAtServerNotifyFunc)(GAtServerRequestType type, +typedef void (*GAtServerNotifyFunc)(GAtServer *server, + GAtServerRequestType type, GAtResult *result, gpointer user_data); GAtServer *g_at_server_new(GIOChannel *io); |