aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-simple-connect-properties.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-10-07 20:19:13 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-10-07 21:12:00 +0200
commitebd792d2aaa0917a6628eb1f9c1fbeedafbf2617 (patch)
treed8b5c542ffaa6951ab7d921427fbd1cfd42ca52e /libmm-glib/mm-simple-connect-properties.h
parent7ae18eecdd3c0aae851441d970b3a54319dd3404 (diff)
api,libmm-glib: new `allowed-auth' configuration for bearers
For bearers using STATIC or DHCP IP method, the modem itself is the one negotiating authentication with the network. The new `allowed-auth' property allows users to specify which authentication method(s) are allowed to be used. See the following NetworkManager commit for more reference: commit 34aef8aaaa09b7473b9496aa49e550bd2def03f8 Author: Andrew Bird <ajb@spheresystems.co.uk> Date: Thu Mar 15 16:19:43 2012 -0500
Diffstat (limited to 'libmm-glib/mm-simple-connect-properties.h')
-rw-r--r--libmm-glib/mm-simple-connect-properties.h31
1 files changed, 17 insertions, 14 deletions
diff --git a/libmm-glib/mm-simple-connect-properties.h b/libmm-glib/mm-simple-connect-properties.h
index 43af54cd..58bd5b4d 100644
--- a/libmm-glib/mm-simple-connect-properties.h
+++ b/libmm-glib/mm-simple-connect-properties.h
@@ -71,6 +71,8 @@ void mm_simple_connect_properties_set_allowed_modes (MMSimpleConnectProperties *
MMModemMode preferred);
void mm_simple_connect_properties_set_apn (MMSimpleConnectProperties *self,
const gchar *apn);
+void mm_simple_connect_properties_set_allowed_auth (MMSimpleConnectProperties *self,
+ MMBearerAllowedAuth allowed_auth);
void mm_simple_connect_properties_set_user (MMSimpleConnectProperties *self,
const gchar *user);
void mm_simple_connect_properties_set_password (MMSimpleConnectProperties *self,
@@ -82,20 +84,21 @@ void mm_simple_connect_properties_set_allow_roaming (MMSimpleConnectProperties *
void mm_simple_connect_properties_set_number (MMSimpleConnectProperties *self,
const gchar *number);
-const gchar *mm_simple_connect_properties_get_pin (MMSimpleConnectProperties *self);
-const gchar *mm_simple_connect_properties_get_operator_id (MMSimpleConnectProperties *self);
-gboolean mm_simple_connect_properties_get_bands (MMSimpleConnectProperties *self,
- const MMModemBand **bands,
- guint *n_bands);
-gboolean mm_simple_connect_properties_get_allowed_modes (MMSimpleConnectProperties *self,
- MMModemMode *allowed,
- MMModemMode *preferred);
-const gchar *mm_simple_connect_properties_get_apn (MMSimpleConnectProperties *self);
-const gchar *mm_simple_connect_properties_get_user (MMSimpleConnectProperties *self);
-const gchar *mm_simple_connect_properties_get_password (MMSimpleConnectProperties *self);
-MMBearerIpFamily mm_simple_connect_properties_get_ip_type (MMSimpleConnectProperties *self);
-gboolean mm_simple_connect_properties_get_allow_roaming (MMSimpleConnectProperties *self);
-const gchar *mm_simple_connect_properties_get_number (MMSimpleConnectProperties *self);
+const gchar *mm_simple_connect_properties_get_pin (MMSimpleConnectProperties *self);
+const gchar *mm_simple_connect_properties_get_operator_id (MMSimpleConnectProperties *self);
+gboolean mm_simple_connect_properties_get_bands (MMSimpleConnectProperties *self,
+ const MMModemBand **bands,
+ guint *n_bands);
+gboolean mm_simple_connect_properties_get_allowed_modes (MMSimpleConnectProperties *self,
+ MMModemMode *allowed,
+ MMModemMode *preferred);
+const gchar *mm_simple_connect_properties_get_apn (MMSimpleConnectProperties *self);
+MMBearerAllowedAuth mm_simple_connect_properties_get_allowed_auth (MMSimpleConnectProperties *self);
+const gchar *mm_simple_connect_properties_get_user (MMSimpleConnectProperties *self);
+const gchar *mm_simple_connect_properties_get_password (MMSimpleConnectProperties *self);
+MMBearerIpFamily mm_simple_connect_properties_get_ip_type (MMSimpleConnectProperties *self);
+gboolean mm_simple_connect_properties_get_allow_roaming (MMSimpleConnectProperties *self);
+const gchar *mm_simple_connect_properties_get_number (MMSimpleConnectProperties *self);
/*****************************************************************************/
/* ModemManager/libmm-glib/mmcli specific methods */