summaryrefslogtreecommitdiffstats
path: root/gatchat/gatchat.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-06-15 16:37:13 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-06-16 16:38:19 -0500
commit69372e642ed063d15dec6662984b7699640a4e11 (patch)
treecc2a15dbec5bb6389018e731308609cd8f63125a /gatchat/gatchat.h
parentf00af4527000c02dfe1aee4b6afeadef82bd4f65 (diff)
downloadofono-69372e642ed063d15dec6662984b7699640a4e11.tar.bz2
Add g_at_send_listing function
Diffstat (limited to 'gatchat/gatchat.h')
-rw-r--r--gatchat/gatchat.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gatchat/gatchat.h b/gatchat/gatchat.h
index 58ca9114..52c6b368 100644
--- a/gatchat/gatchat.h
+++ b/gatchat/gatchat.h
@@ -86,6 +86,18 @@ guint g_at_chat_send(GAtChat *chat, const char *cmd,
const char **valid_resp, GAtResultFunc func,
gpointer user_data, GDestroyNotify notify);
+/*!
+ * Same as the above command, except that the caller wishes to receive the
+ * intermediate responses immediately through the GAtNotifyFunc callback.
+ * The final response will still be sent to GAtResultFunc callback. The
+ * final GAtResult will not contain any lines from the intermediate responses.
+ * This is useful for listing commands such as CMGL or CPBR.
+ */
+guint g_at_chat_send_listing(GAtChat *chat, const char *cmd,
+ const char **valid_resp,
+ GAtNotifyFunc listing, GAtResultFunc func,
+ gpointer user_data, GDestroyNotify notify);
+
gboolean g_at_chat_cancel(GAtChat *chat, guint id);
guint g_at_chat_register(GAtChat *chat, const char *prefix,