diff util.h @ 256:9fb8f597adf3

- moved is_*_account() functions to util.c. - moved get_service_type() functions to util.c.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sun, 23 Nov 2008 00:45:35 +0900
parents c2620a99622b
children cc41ee1f5d3a
line wrap: on
line diff
--- a/util.h	Sat Nov 22 18:14:10 2008 +0900
+++ b/util.h	Sun Nov 23 00:45:35 2008 +0900
@@ -6,4 +6,15 @@
 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