Mercurial > pidgin-twitter
view util.h @ 339:6ee1ed15688c
twitter markups tags like "#2.0" as "#2" but those tags only be matched with the query of "#2.0". so, we should handle a punctuation within a string as a normal letter and should strip it only if it is followed by white space.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sun, 18 Oct 2009 13:30:48 +0900 |
parents | 9f78fb6bfc76 |
children |
line wrap: on
line source
#ifndef _PIDGIN_TWITTER_UTIL_H_ #define _PIDGIN_TWITTER_UTIL_H_ void escape(gchar **str); void strip_markup(gchar **str, gboolean escape); gchar *strip_html_markup(const gchar *src); gboolean ensure_path_exists(const char *dir); gchar *twitter_rip_link_string(gchar **str); gboolean is_twitter_conv(PurpleConversation *conv); gboolean is_wassr_account(PurpleAccount *account, const char *name); gboolean is_wassr_conv(PurpleConversation *conv); gboolean is_identica_account(PurpleAccount *account, const char *name); gboolean is_identica_conv(PurpleConversation *conv); gboolean is_jisko_account(PurpleAccount *account, const char *name); gboolean is_jisko_conv(PurpleConversation *conv); gint get_service_type(PurpleConversation *conv); gint get_service_type_by_account(PurpleAccount *account, const char *sender); #endif