aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-helpers-mbim.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2023-10-26 07:49:47 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2023-10-26 12:35:50 +0000
commit08a954a88bef1dd79d7bfc4ee55693f530644a5f (patch)
tree4caced7dc037d43da45c3b9ea6482f1507e7426f /src/mm-modem-helpers-mbim.h
parent5e088fb3bb79b53fdd8943a67e2ebf0f7d9dd14c (diff)
modem-helpers-mbim: move error translation method
Moved to the end of the file, we'll add all new error translations together.
Diffstat (limited to 'src/mm-modem-helpers-mbim.h')
-rw-r--r--src/mm-modem-helpers-mbim.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mm-modem-helpers-mbim.h b/src/mm-modem-helpers-mbim.h
index 5cb01d8c..2c1611e0 100644
--- a/src/mm-modem-helpers-mbim.h
+++ b/src/mm-modem-helpers-mbim.h
@@ -56,9 +56,6 @@ GList *mm_3gpp_network_info_list_from_mbim_providers (const MbimProvider *const
MbimPinType mbim_pin_type_from_mm_modem_3gpp_facility (MMModem3gppFacility facility);
MMModem3gppFacility mm_modem_3gpp_facility_from_mbim_pin_type (MbimPinType pin_type);
-GError *mm_error_from_mbim_nw_error (MbimNwError nw_error,
- gpointer log_object);
-
MMBearerAllowedAuth mm_bearer_allowed_auth_from_mbim_auth_protocol (MbimAuthProtocol auth_protocol);
MbimAuthProtocol mm_bearer_allowed_auth_to_mbim_auth_protocol (MMBearerAllowedAuth bearer_auth,
gpointer log_object,
@@ -182,4 +179,11 @@ gdouble mm_earfcn_to_frequency (guint32 earfcn,
gdouble mm_nrarfcn_to_frequency (guint32 nrarfcn,
gpointer log_object);
+/*****************************************************************************/
+/* MM error translations */
+
+GError *mm_error_from_mbim_nw_error (MbimNwError nw_error,
+ gpointer log_object);
+
+
#endif /* MM_MODEM_HELPERS_MBIM_H */