diff options
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.h')
-rw-r--r-- | libempathy-gtk/empathy-ui-utils.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.h b/libempathy-gtk/empathy-ui-utils.h index 7bec0884e..58960c305 100644 --- a/libempathy-gtk/empathy-ui-utils.h +++ b/libempathy-gtk/empathy-ui-utils.h @@ -117,6 +117,18 @@ gchar * empathy_make_absolute_url (const gchar *url); gchar * empathy_make_absolute_url_len (const gchar *url, guint len); +/* String parser */ +typedef void (*EmpathyStringParser) (GString *string, + const gchar *text, + gssize len, + gpointer user_data); + +void +empathy_string_parser_substr (GString *string, + const gchar *text, + gssize len, + EmpathyStringParser *parsers); + G_END_DECLS #endif /* __EMPATHY_UI_UTILS_H__ */ |