gatchat: introduce send for +CPOS

This commit is contained in:
Jarko Poutiainen 2011-03-24 15:46:29 +02:00 committed by Denis Kenzior
parent a23cc178be
commit 17599580d8
1 changed files with 8 additions and 0 deletions

View File

@ -124,6 +124,14 @@ guint g_at_chat_send_pdu_listing(GAtChat *chat, const char *cmd,
GAtNotifyFunc listing, GAtResultFunc func,
gpointer user_data, GDestroyNotify notify);
/*!
* Same as g_at_chat_send except parser will know to expect short prompt syntax
* used with +CPOS.
*/
guint g_at_chat_send_and_expect_short_prompt(GAtChat *chat, const char *cmd,
const char **valid_resp, GAtResultFunc func,
gpointer user_data, GDestroyNotify notify);
gboolean g_at_chat_cancel(GAtChat *chat, guint id);
gboolean g_at_chat_cancel_all(GAtChat *chat);