aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-3gpp.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-12-21 10:30:27 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:36 +0100
commitdcfe2e53901a2417c822a9d3558ede5174e2e4bc (patch)
treef9bf32310849c2ef0b340a8e6d11deedb15dc57b /src/mm-iface-modem-3gpp.h
parent4c5244193278cbf3c0cd844152f6648c5cf598e0 (diff)
3gpp: control 3GPP bearer creation in the 3GPP modem interface
And implement bearer connection allowance based on roaming status.
Diffstat (limited to 'src/mm-iface-modem-3gpp.h')
-rw-r--r--src/mm-iface-modem-3gpp.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mm-iface-modem-3gpp.h b/src/mm-iface-modem-3gpp.h
index ccd225c1..2e5bdbe6 100644
--- a/src/mm-iface-modem-3gpp.h
+++ b/src/mm-iface-modem-3gpp.h
@@ -142,6 +142,12 @@ struct _MMIfaceModem3gpp {
GList * (*scan_networks_finish) (MMIfaceModem3gpp *self,
GAsyncResult *res,
GError **error);
+
+ /* Create 3GPP bearer */
+ MMBearer * (* create_3gpp_bearer) (MMBaseModem *modem,
+ const gchar *apn,
+ const gchar *ip_type,
+ gboolean allow_roaming);
};
GType mm_iface_modem_3gpp_get_type (void);
@@ -190,4 +196,13 @@ gboolean mm_iface_modem_3gpp_run_all_registration_checks_finish (MMIfaceModem3gp
GAsyncResult *res,
GError **error);
+/* Create new 3GPP bearer */
+MMBearer *mm_iface_modem_3gpp_create_bearer (MMIfaceModem3gpp *self,
+ const gchar *apn,
+ const gchar *ip_type,
+ gboolean allow_roaming);
+MMBearer *mm_iface_modem_3gpp_create_bearer_from_properties (MMIfaceModem3gpp *self,
+ GVariant *properties,
+ GError **error);
+
#endif /* MM_IFACE_MODEM_3GPP_H */