aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-helpers.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-08-08 10:12:43 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-08-29 17:26:44 +0200
commit51678e141b74eab4303414db2f3837d02a39a587 (patch)
treec36b6b892d42a63104396d6341f670a667923ae0 /src/mm-modem-helpers.h
parent02573a55654a17b1270a34f1e91622f4afbf0fcd (diff)
modem-helpers: new method to validate and/or parse MCC/MNC operator ID string
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r--src/mm-modem-helpers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h
index 0743c35d..4754e7f9 100644
--- a/src/mm-modem-helpers.h
+++ b/src/mm-modem-helpers.h
@@ -152,6 +152,11 @@ MMModemAccessTechnology mm_string_to_access_tech (const gchar *string);
gchar *mm_3gpp_parse_operator (const gchar *reply,
MMModemCharset cur_charset);
+gboolean mm_3gpp_parse_operator_id (const gchar *operator_id,
+ guint16 *mcc,
+ guint16 *mnc,
+ GError **error);
+
const gchar *mm_3gpp_get_pdp_type_from_ip_family (MMBearerIpFamily family);
MMBearerIpFamily mm_3gpp_get_ip_family_from_pdp_type (const gchar *pdp_type);