diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2010-03-03 22:31:45 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2010-03-03 23:18:45 +0800 |
commit | f48b89ce4d61d16843361636ad9f155451fde98d (patch) | |
tree | dd614718c641cfb6cf99bc725fc2dd11058b0ad8 /libempathy-gtk/empathy-ui-utils.h | |
parent | d6c60c80075fac5b34d23d37ec7826835fd02cd6 (diff) | |
download | gsoc2013-empathy-f48b89ce4d61d16843361636ad9f155451fde98d.tar gsoc2013-empathy-f48b89ce4d61d16843361636ad9f155451fde98d.tar.gz gsoc2013-empathy-f48b89ce4d61d16843361636ad9f155451fde98d.tar.bz2 gsoc2013-empathy-f48b89ce4d61d16843361636ad9f155451fde98d.tar.lz gsoc2013-empathy-f48b89ce4d61d16843361636ad9f155451fde98d.tar.xz gsoc2013-empathy-f48b89ce4d61d16843361636ad9f155451fde98d.tar.zst gsoc2013-empathy-f48b89ce4d61d16843361636ad9f155451fde98d.zip |
Move empathy_string_parser API to its own file
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.h')
-rw-r--r-- | libempathy-gtk/empathy-ui-utils.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.h b/libempathy-gtk/empathy-ui-utils.h index 925ecc5cb..e03ec66f8 100644 --- a/libempathy-gtk/empathy-ui-utils.h +++ b/libempathy-gtk/empathy-ui-utils.h @@ -130,51 +130,6 @@ gchar * empathy_make_absolute_url (const gchar *url); gchar * empathy_make_absolute_url_len (const gchar *url, guint len); -/* String parser */ -typedef struct _EmpathyStringParser EmpathyStringParser; - -typedef void (*EmpathyStringReplace) (const gchar *text, - gssize len, - gpointer match_data, - gpointer user_data); -typedef void (*EmpathyStringMatch) (const gchar *text, - gssize len, - EmpathyStringReplace replace_func, - EmpathyStringParser *sub_parsers, - gpointer user_data); - -struct _EmpathyStringParser { - EmpathyStringMatch match_func; - EmpathyStringReplace replace_func; -}; - -void -empathy_string_parser_substr (const gchar *text, - gssize len, - EmpathyStringParser *parsers, - gpointer user_data); - -void -empathy_string_match_link (const gchar *text, - gssize len, - EmpathyStringReplace replace_func, - EmpathyStringParser *sub_parsers, - gpointer user_data); - -void -empathy_string_match_smiley (const gchar *text, - gssize len, - EmpathyStringReplace replace_func, - EmpathyStringParser *sub_parsers, - gpointer user_data); - -void -empathy_string_match_all (const gchar *text, - gssize len, - EmpathyStringReplace replace_func, - EmpathyStringParser *sub_parsers, - gpointer user_data); - G_END_DECLS #endif /* __EMPATHY_UI_UTILS_H__ */ |