summaryrefslogtreecommitdiffstats
path: root/gatchat/gatchat.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2015-04-22 17:57:53 -0500
committerDenis Kenzior <denkenz@gmail.com>2015-05-13 09:57:52 -0500
commitbce5d9579c045482bb54f51564a3ce3277c3fc6f (patch)
tree27435f1d58de44034f0a6981d6039e6c10aff770 /gatchat/gatchat.h
parent1c2987670d48bea015a7988837fb8ff8d4b8e81b (diff)
downloadofono-bce5d9579c045482bb54f51564a3ce3277c3fc6f.tar.bz2
gatchat: Introduce g_at_chat_get_userdata
Diffstat (limited to 'gatchat/gatchat.h')
-rw-r--r--gatchat/gatchat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gatchat/gatchat.h b/gatchat/gatchat.h
index 367581ee..7290b34f 100644
--- a/gatchat/gatchat.h
+++ b/gatchat/gatchat.h
@@ -150,6 +150,8 @@ guint g_at_chat_send_and_expect_short_prompt(GAtChat *chat, const char *cmd,
gboolean g_at_chat_cancel(GAtChat *chat, guint id);
gboolean g_at_chat_cancel_all(GAtChat *chat);
+gpointer g_at_chat_get_userdata(GAtChat *chat, guint id);
+
guint g_at_chat_register(GAtChat *chat, const char *prefix,
GAtNotifyFunc func, gboolean expect_pdu,
gpointer user_data, GDestroyNotify notify);