aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-helpers-mbim.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2023-10-26 09:05:01 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2023-10-26 12:35:50 +0000
commitcbb825a23607d6c57acd2ced216eb6d2f46cda2d (patch)
tree890f71cc236de6862c7cb6707a1bbb4cafddef40 /src/mm-modem-helpers-mbim.h
parent08a954a88bef1dd79d7bfc4ee55693f530644a5f (diff)
modem-helpers-mbim: register MBIM error translations
We register translations for MBIM core, MBIM protocol and MBIM status errors. These translations are a best-effort, and they are not meant to be exhaustive. The original error description is included in the translated GError, so that the details of the issue are not lost.
Diffstat (limited to 'src/mm-modem-helpers-mbim.h')
-rw-r--r--src/mm-modem-helpers-mbim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-modem-helpers-mbim.h b/src/mm-modem-helpers-mbim.h
index 2c1611e0..059dd25c 100644
--- a/src/mm-modem-helpers-mbim.h
+++ b/src/mm-modem-helpers-mbim.h
@@ -182,8 +182,8 @@ gdouble mm_nrarfcn_to_frequency (guint32 nrarfcn,
/*****************************************************************************/
/* MM error translations */
+void mm_register_mbim_errors (void);
GError *mm_error_from_mbim_nw_error (MbimNwError nw_error,
gpointer log_object);
-
#endif /* MM_MODEM_HELPERS_MBIM_H */