aboutsummaryrefslogtreecommitdiff
path: root/src/mm-base-modem-at.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2012-01-09 12:40:30 -0600
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:48 +0100
commitcb2d6d610524f32fd95633e4a491ba88f983e956 (patch)
treefa36de9d8a72f2ff94cb93cdf76ec5fcae20ac63 /src/mm-base-modem-at.h
parent4e06e0e67d1f4180e0ea2c86aae3f63701c176d7 (diff)
base-modem-at: indicate sequence status to response parsers
Let parsers know if this command is the last in a sequence since they may want to handle errors differently if that's the case.
Diffstat (limited to 'src/mm-base-modem-at.h')
-rw-r--r--src/mm-base-modem-at.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mm-base-modem-at.h b/src/mm-base-modem-at.h
index 0b39107c..b4b2f651 100644
--- a/src/mm-base-modem-at.h
+++ b/src/mm-base-modem-at.h
@@ -46,6 +46,7 @@ typedef gboolean (* MMBaseModemAtResponseProcessor) (MMBaseModem *self,
gpointer response_processor_context,
const gchar *command,
const gchar *response,
+ gboolean last_command,
const GError *error,
GVariant **result,
GError **result_error);
@@ -95,6 +96,7 @@ gboolean mm_base_modem_response_processor_string (MMBaseModem *self,
gpointer none,
const gchar *command,
const gchar *response,
+ gboolean last_command,
const GError *error,
GVariant **result,
GError **result_error);
@@ -103,6 +105,7 @@ gboolean mm_base_modem_response_processor_no_result (MMBaseModem *self,
gpointer none,
const gchar *command,
const gchar *response,
+ gboolean last_command,
const GError *error,
GVariant **result,
GError **result_error);
@@ -111,11 +114,11 @@ gboolean mm_base_modem_response_processor_no_result_continue (MMBaseModem *self,
gpointer none,
const gchar *command,
const gchar *response,
+ gboolean last_command,
const GError *error,
GVariant **result,
GError **result_error);
-
/* Single AT command, returning the whole response string */
void mm_base_modem_at_command (MMBaseModem *self,
const gchar *command,