aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-helpers.h
diff options
context:
space:
mode:
authorDan Williams <dan@ioncontrol.co>2025-05-15 10:13:22 -0500
committerDan Williams <dan@ioncontrol.co>2025-05-23 08:31:04 -0500
commit757df26b295a9b9306fe3278b7f3730cc3a9c703 (patch)
treeda03bcd23f88512dff7070ad9676ee047ba729d4 /src/mm-modem-helpers.h
parentc5a2cd3157854b9f368717f72ebc852d6d8de954 (diff)
broadband-modem,modem-helpers: move +CPIN response parsing to modem helpers
Unit test it better, plus remove code duplication in various plugins. Signed-off-by: Dan Williams <dan@ioncontrol.co>
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r--src/mm-modem-helpers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h
index 73203c8b..eb62a551 100644
--- a/src/mm-modem-helpers.h
+++ b/src/mm-modem-helpers.h
@@ -638,4 +638,9 @@ guint mm_string_uint_map_lookup (const MMStringUintMap *map,
const gchar *str,
const guint default_value);
+/*****************************************************************************/
+
+MMModemLock mm_parse_cpin_response (const gchar *response,
+ gboolean expect_cpin_prefix);
+
#endif /* MM_MODEM_HELPERS_H */