diff options
Diffstat (limited to 'libmm-glib/mm-common-helpers.h')
-rw-r--r-- | libmm-glib/mm-common-helpers.h | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/libmm-glib/mm-common-helpers.h b/libmm-glib/mm-common-helpers.h index fce9ff25..71ef978a 100644 --- a/libmm-glib/mm-common-helpers.h +++ b/libmm-glib/mm-common-helpers.h @@ -146,24 +146,31 @@ gboolean mm_common_parse_key_value_string (const gchar *str, /* Common parsers */ gboolean mm_get_int_from_str (const gchar *str, - gint *out); -gboolean mm_get_int_from_match_info (GMatchInfo *match_info, - guint32 match_index, - gint *out); + gint *out); +gboolean mm_get_int_from_match_info (GMatchInfo *match_info, + guint32 match_index, + gint *out); gboolean mm_get_uint_from_str (const gchar *str, - guint *out); + guint *out); +gboolean mm_get_u64_from_str (const gchar *str, + guint64 *out); gboolean mm_get_uint_from_hex_str (const gchar *str, guint *out); -gboolean mm_get_uint_from_match_info (GMatchInfo *match_info, - guint32 match_index, - guint *out); +gboolean mm_get_u64_from_hex_str (const gchar *str, + guint64 *out); +gboolean mm_get_uint_from_match_info (GMatchInfo *match_info, + guint32 match_index, + guint *out); +gboolean mm_get_u64_from_match_info (GMatchInfo *match_info, + guint32 match_index, + guint64 *out); gboolean mm_get_double_from_str (const gchar *str, - gdouble *out); -gboolean mm_get_double_from_match_info (GMatchInfo *match_info, - guint32 match_index, - gdouble *out); -gchar *mm_get_string_unquoted_from_match_info (GMatchInfo *match_info, - guint32 match_index); + gdouble *out); +gboolean mm_get_double_from_match_info (GMatchInfo *match_info, + guint32 match_index, + gdouble *out); +gchar *mm_get_string_unquoted_from_match_info (GMatchInfo *match_info, + guint32 match_index); const gchar *mm_sms_delivery_state_get_string_extended (guint delivery_state); |