diff options
Diffstat (limited to 'src/qmicli/qmicli-helpers.h')
-rw-r--r-- | src/qmicli/qmicli-helpers.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/qmicli/qmicli-helpers.h b/src/qmicli/qmicli-helpers.h index 0e6d567..6b19827 100644 --- a/src/qmicli/qmicli-helpers.h +++ b/src/qmicli/qmicli-helpers.h @@ -53,6 +53,8 @@ gboolean qmicli_read_autoconnect_setting_from_string (const gchar *str, QmiWdsAutoconnectSetting *out); gboolean qmicli_read_autoconnect_setting_roaming_from_string (const gchar *str, QmiWdsAutoconnectSettingRoaming *out); +gboolean qmicli_read_authentication_from_string (const gchar *str, + QmiWdsAuthentication *out); gboolean qmicli_read_non_empty_string (const gchar *str, const gchar *description, @@ -65,4 +67,14 @@ gchar *qmicli_get_supported_messages_list (const guint8 *data, const char *qmicli_earfcn_to_eutra_band_string (guint16 earfcn); +typedef gboolean (*QmiParseKeyValueForeachFn) (const gchar *key, + const gchar *value, + GError **error, + gpointer user_data); + +gboolean qmicli_parse_key_value_string (const gchar *str, + GError **error, + QmiParseKeyValueForeachFn callback, + gpointer user_data); + #endif /* __QMICLI_H__ */ |