diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-02-17 15:49:01 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-03-10 10:59:19 +0100 |
commit | 064e92e9b77b35f83cb522c6ea98b9016ce5db8c (patch) | |
tree | a890a28fc2577fcbe6aaeb91b34329286af94956 /libmm-glib/mm-bearer-properties.h | |
parent | 71bad1d86263a07d78274b939ed0f7dfeed4201d (diff) |
api,simple: new 'multiplex' setting in bearer properties
Both the Simple.Connect() and Modem.CreateBearer() are updated to
allow a new 'multiplex' setting in the properties provided by the user
in both of these methods.
The new setting expects a MMBearerMultiplexSupport enum indicating
what kind of multiplex needs the user has:
* none: if multiplex must not be used.
* requested: if multiplex should be used if available.
* required: if multiplex must be used.
The underlying implementations will take care of accepting or
rejecting the setting depending on the system and modem capabilities.
Diffstat (limited to 'libmm-glib/mm-bearer-properties.h')
-rw-r--r-- | libmm-glib/mm-bearer-properties.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/libmm-glib/mm-bearer-properties.h b/libmm-glib/mm-bearer-properties.h index 340d9bf1..062d01c5 100644 --- a/libmm-glib/mm-bearer-properties.h +++ b/libmm-glib/mm-bearer-properties.h @@ -72,14 +72,17 @@ void mm_bearer_properties_set_allow_roaming (MMBearerProperties *self, gboolean allow_roaming); void mm_bearer_properties_set_rm_protocol (MMBearerProperties *self, MMModemCdmaRmProtocol protocol); - -const gchar *mm_bearer_properties_get_apn (MMBearerProperties *self); -MMBearerAllowedAuth mm_bearer_properties_get_allowed_auth (MMBearerProperties *self); -const gchar *mm_bearer_properties_get_user (MMBearerProperties *self); -const gchar *mm_bearer_properties_get_password (MMBearerProperties *self); -MMBearerIpFamily mm_bearer_properties_get_ip_type (MMBearerProperties *self); -gboolean mm_bearer_properties_get_allow_roaming (MMBearerProperties *self); -MMModemCdmaRmProtocol mm_bearer_properties_get_rm_protocol (MMBearerProperties *self); +void mm_bearer_properties_set_multiplex (MMBearerProperties *self, + MMBearerMultiplexSupport multiplex); + +const gchar *mm_bearer_properties_get_apn (MMBearerProperties *self); +MMBearerAllowedAuth mm_bearer_properties_get_allowed_auth (MMBearerProperties *self); +const gchar *mm_bearer_properties_get_user (MMBearerProperties *self); +const gchar *mm_bearer_properties_get_password (MMBearerProperties *self); +MMBearerIpFamily mm_bearer_properties_get_ip_type (MMBearerProperties *self); +gboolean mm_bearer_properties_get_allow_roaming (MMBearerProperties *self); +MMModemCdmaRmProtocol mm_bearer_properties_get_rm_protocol (MMBearerProperties *self); +MMBearerMultiplexSupport mm_bearer_properties_get_multiplex (MMBearerProperties *self); #ifndef MM_DISABLE_DEPRECATED G_DEPRECATED |