view util.h @ 274:934c4b053247

fixed a breakage which had prevented post to twitter.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 12 Dec 2008 22:43:48 +0900
parents 9fb8f597adf3
children cc41ee1f5d3a
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);

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