summaryrefslogtreecommitdiff
path: root/gatchat/gatchat.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-06-15 16:37:13 -0500
committerMarcel Holtmann <marcel@holtmann.org>2009-06-30 12:43:38 -0700
commit726628df95cfbc82f5481d3123bd23e00376ea36 (patch)
tree78d05b667dfdb62efb5862b3c911742cd8ce3bf5 /gatchat/gatchat.h
parent28ec7532c4e5a483d20f6c8d228b5692791fd04b (diff)
downloadconnman-726628df95cfbc82f5481d3123bd23e00376ea36.tar.gz
connman-726628df95cfbc82f5481d3123bd23e00376ea36.tar.bz2
connman-726628df95cfbc82f5481d3123bd23e00376ea36.zip
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,