diff options
author | Michal Mazur <mkm@semihalf.com> | 2021-01-26 18:08:12 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-04-30 18:40:29 +0000 |
commit | dfc04cbc2ede5e8c5a007fb79d0a2428c5648be4 (patch) | |
tree | 00c8e641d536ab3fafa84a9ceaa6d8c85abf4aab /src/mm-iface-modem-3gpp.h | |
parent | 25ffe4211afa37a68274535d64a12670fd5ceebc (diff) | |
download | ModemManager-dfc04cbc2ede5e8c5a007fb79d0a2428c5648be4.tar.gz |
iface-modem-3gpp: define new API to disable facility locks
Diffstat (limited to 'src/mm-iface-modem-3gpp.h')
-rw-r--r-- | src/mm-iface-modem-3gpp.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mm-iface-modem-3gpp.h b/src/mm-iface-modem-3gpp.h index 258e5c101..dc752f412 100644 --- a/src/mm-iface-modem-3gpp.h +++ b/src/mm-iface-modem-3gpp.h @@ -234,6 +234,17 @@ struct _MMIfaceModem3gpp { gboolean (* set_initial_eps_bearer_settings_finish) (MMIfaceModem3gpp *self, GAsyncResult *res, GError **error); + + /* Remove modem personalization */ + void (* disable_facility_lock) (MMIfaceModem3gpp *self, + MMModem3gppFacility facility, + guint8 slot, + const gchar *control_key, + GAsyncReadyCallback callback, + gpointer user_data); + gboolean (* disable_facility_lock_finish) (MMIfaceModem3gpp *self, + GAsyncResult *res, + GError **error); }; GType mm_iface_modem_3gpp_get_type (void); @@ -334,4 +345,15 @@ gboolean mm_iface_modem_3gpp_reregister_in_network_finish (MMIfaceModem3gpp void mm_iface_modem_3gpp_bind_simple_status (MMIfaceModem3gpp *self, MMSimpleStatus *status); +/* Remove modem personalization */ +void mm_iface_modem_3gpp_disable_facility_lock (MMIfaceModem3gpp *self, + MMModem3gppFacility facility, + guint8 slot, + const gchar *key, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean mm_iface_modem_3gpp_disable_facility_lock_finish (MMIfaceModem3gpp *self, + GAsyncResult *res, + GError **error); + #endif /* MM_IFACE_MODEM_3GPP_H */ |