aboutsummaryrefslogtreecommitdiff
path: root/plugins/cinterion/mm-modem-helpers-cinterion.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/cinterion/mm-modem-helpers-cinterion.h')
-rw-r--r--plugins/cinterion/mm-modem-helpers-cinterion.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/plugins/cinterion/mm-modem-helpers-cinterion.h b/plugins/cinterion/mm-modem-helpers-cinterion.h
index c94341ec..5d05e2c6 100644
--- a/plugins/cinterion/mm-modem-helpers-cinterion.h
+++ b/plugins/cinterion/mm-modem-helpers-cinterion.h
@@ -67,7 +67,15 @@ gboolean mm_cinterion_parse_sind_response (const gchar *response,
/*****************************************************************************/
/* ^SWWAN response parser */
-gboolean mm_cinterion_parse_swwan_response (const gchar *response,
- GList **result,
- GError **error);
+
+typedef enum {
+ MM_SWWAN_STATE_UNKNOWN = -1,
+ MM_SWWAN_STATE_DISCONNECTED = 0,
+ MM_SWWAN_STATE_CONNECTED = 1,
+} MMSwwanState;
+
+MMSwwanState mm_cinterion_parse_swwan_response (const gchar *response,
+ guint swwan_index,
+ GError **error);
+
#endif /* MM_MODEM_HELPERS_CINTERION_H */