File: util.h

package info (click to toggle)
pidgin-twitter 0.9.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 660 kB
  • ctags: 452
  • sloc: ansic: 6,383; makefile: 86; sh: 45
file content (21 lines) | stat: -rw-r--r-- 827 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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