aboutsummaryrefslogtreecommitdiff
path: root/src/mm-bearer-list.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-12-13 14:08:43 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-12-26 10:12:11 +0100
commit853aa29be80ee397f64d18c4d9cce64be35aec14 (patch)
treecca7f1a813e979b42e8ecacd156102e8e751ef20 /src/mm-bearer-list.h
parent0d0ad722d9da2039ad71ece9c8ae4b1786c7f757 (diff)
iface-modem-3gpp-profile-manager: support 'apn-type' as index field
The modem may report the 'apn-type' field is the one to be used as index; if that's the case, allow setting and deleting profiles based on the given 'apn-type' field. This change also makes the internal profile management operations use one index field or another, based on what the protocol implements.
Diffstat (limited to 'src/mm-bearer-list.h')
-rw-r--r--src/mm-bearer-list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm-bearer-list.h b/src/mm-bearer-list.h
index 71a394ba..8f3c8d49 100644
--- a/src/mm-bearer-list.h
+++ b/src/mm-bearer-list.h
@@ -76,6 +76,8 @@ MMBaseBearer *mm_bearer_list_find_by_path (MMBearerList *self,
const gchar *path);
MMBaseBearer *mm_bearer_list_find_by_profile_id (MMBearerList *self,
gint profile_id);
+MMBaseBearer *mm_bearer_list_find_by_apn_type (MMBearerList *self,
+ MMBearerApnType apn_type);
void mm_bearer_list_disconnect_all_bearers (MMBearerList *self,
GAsyncReadyCallback callback,