diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-02-25 15:42:35 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-03-10 10:59:22 +0100 |
commit | 05b9ab7c25bf252e43037ed0ea002b0aed6f051b (patch) | |
tree | 996bf3a13e114298d450ce10136a6838d9f00006 /libmm-glib/mm-modem.h | |
parent | 35e20a48c8b16ae744c4ca3082f70e8aa674c2f4 (diff) |
api,modem: new 'MaxActiveMultiplexedBearers' property
In addition to the amount of bearers a user may connect without
multiplexing enabled (the default until now), we now also expose the
maximum number of bearers a user may connect after enabling
multiplexing over one single network interface (if supported).
The method responsible for creating the MMBearerList is now also
subclassable, so that implementations supporting multiplexing can
provide their own version with their own thresholds.
Diffstat (limited to 'libmm-glib/mm-modem.h')
-rw-r--r-- | libmm-glib/mm-modem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmm-glib/mm-modem.h b/libmm-glib/mm-modem.h index 589ddafa..ee1f7879 100644 --- a/libmm-glib/mm-modem.h +++ b/libmm-glib/mm-modem.h @@ -94,7 +94,8 @@ G_DEPRECATED guint mm_modem_get_max_bearers (MMModem *self); #endif /* MM_DISABLE_DEPRECATED */ -guint mm_modem_get_max_active_bearers (MMModem *self); +guint mm_modem_get_max_active_bearers (MMModem *self); +guint mm_modem_get_max_active_multiplexed_bearers (MMModem *self); const gchar * const *mm_modem_get_bearer_paths (MMModem *self); gchar **mm_modem_dup_bearer_paths (MMModem *self); |