diff options
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r-- | src/mm-modem-helpers.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h index 9c067747..cce4bd20 100644 --- a/src/mm-modem-helpers.h +++ b/src/mm-modem-helpers.h @@ -99,6 +99,18 @@ GRegex *mm_voice_cring_regex_get (void); GRegex *mm_voice_clip_regex_get (void); GRegex *mm_voice_ccwa_regex_get (void); +/* +CLCC response parser */ +typedef struct { + guint index; + MMCallDirection direction; + MMCallState state; + gchar *number; /* optional */ +} MMCallInfo; +gboolean mm_3gpp_parse_clcc_response (const gchar *str, + GList **out_list, + GError **error); +void mm_3gpp_call_info_list_free (GList *call_info_list); + /*****************************************************************************/ /* SERIAL specific helpers and utilities */ |