X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-text-utils.h;h=555e08c6a2d938a9b218eab626f323c6dc28841a;hp=80e12a09144cbe5906245716a2d3a4dba066d019;hb=556398d85f1803ab8d4871a107bc4b8938c444ae;hpb=f79c54cc84510e27b99e5e9082af8e77d6b7bb49 diff --git a/src/modest-text-utils.h b/src/modest-text-utils.h index 80e12a0..555e08c 100644 --- a/src/modest-text-utils.h +++ b/src/modest-text-utils.h @@ -279,4 +279,17 @@ gboolean modest_text_utils_validate_recipient (const gchar *recipient); **/ GSList *modest_text_utils_split_addresses_list (const gchar *addresses); +/** + * modest_text_utils_get_addresses_indexes: + * @addresses: a string + * @start_indexes: a #GSList pointer + * @end_indexes: a #GSList pointer + * + * obtains two #GSList of @addresses with the range offsets of the addresses in + * the string + * + * Returns: a GSList of strings + **/ +void modest_text_utils_get_addresses_indexes (const gchar *addresses, GSList **start_indexes, GSList **end_indexes); + #endif /* __MODEST_TEXT_UTILS_H__ */