Mercurial > pidgin-twitter
comparison main.c @ 265:c2944685ac8e 0.8.1
- update README to meet 0.8.1.
- little clean up.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 10 Dec 2008 15:46:30 +0900 |
parents | e9a7c018a952 |
children | 0926fa46afe0 |
comparison
equal
deleted
inserted
replaced
264:b7ac562d758c | 265:c2944685ac8e |
---|---|
22 | 22 |
23 /***********/ | 23 /***********/ |
24 /* globals */ | 24 /* globals */ |
25 /***********/ | 25 /***********/ |
26 GRegex *regp[NUM_REGPS]; | 26 GRegex *regp[NUM_REGPS]; |
27 GHashTable *icon_hash[NUM_SERVICES]; | |
28 source_t source; | |
27 static gboolean suppress_oops = FALSE; | 29 static gboolean suppress_oops = FALSE; |
28 GHashTable *icon_hash[NUM_SERVICES]; | |
29 static GHashTable *conv_hash = NULL; | 30 static GHashTable *conv_hash = NULL; |
30 static GList *wassr_parrot_list = NULL; | 31 static GList *wassr_parrot_list = NULL; |
31 static GList *identica_parrot_list = NULL; | 32 static GList *identica_parrot_list = NULL; |
32 #ifdef _WIN32 | 33 #ifdef _WIN32 |
33 gboolean blink_state = FALSE; | 34 gboolean blink_state = FALSE; |
34 gboolean blink_modified = FALSE; | 35 gboolean blink_modified = FALSE; |
35 #endif | 36 #endif |
36 | |
37 source_t source; | |
38 | 37 |
39 /**************/ | 38 /**************/ |
40 /* prototypes */ | 39 /* prototypes */ |
41 /**************/ | 40 /**************/ |
42 static void cleanup_hash_entry_func(gpointer key, gpointer value, gpointer user_data); | 41 static void cleanup_hash_entry_func(gpointer key, gpointer value, gpointer user_data); |
58 static gboolean receiving_im_cb(PurpleAccount *account, char **sender, char **buffer, PurpleConversation *conv, PurpleMessageFlags *flags, void *data); | 57 static gboolean receiving_im_cb(PurpleAccount *account, char **sender, char **buffer, PurpleConversation *conv, PurpleMessageFlags *flags, void *data); |
59 static void remove_marks_func(gpointer key, gpointer value, gpointer user_data); | 58 static void remove_marks_func(gpointer key, gpointer value, gpointer user_data); |
60 static void cancel_fetch_func(gpointer key, gpointer value, gpointer user_data); | 59 static void cancel_fetch_func(gpointer key, gpointer value, gpointer user_data); |
61 static gboolean displaying_im_cb(PurpleAccount *account, const char *who, char **message, PurpleConversation *conv, PurpleMessageFlags flags, void *data); | 60 static gboolean displaying_im_cb(PurpleAccount *account, const char *who, char **message, PurpleConversation *conv, PurpleMessageFlags flags, void *data); |
62 static void displayed_im_cb(PurpleAccount *account, const char *who, char *message, PurpleConversation *conv, PurpleMessageFlags flags); | 61 static void displayed_im_cb(PurpleAccount *account, const char *who, char *message, PurpleConversation *conv, PurpleMessageFlags flags); |
63 | |
64 #ifndef _WIN32 | 62 #ifndef _WIN32 |
65 extern gchar *sanitize_utf(const gchar *msg, gsize len, gsize *newlen) __attribute__ ((weak)); | 63 extern gchar *sanitize_utf(const gchar *msg, gsize len, gsize *newlen) __attribute__ ((weak)); |
66 #endif | 64 #endif |
67 | 65 |
68 | 66 |
69 /*************/ | 67 /*************/ |
70 /* functions */ | 68 /* functions */ |
71 /*************/ | 69 /*************/ |
72 | |
73 | |
74 /***********************/ | |
75 /* intrinsic functions */ | |
76 /***********************/ | |
77 static gboolean | 70 static gboolean |
78 sending_im_cb(PurpleAccount *account, char *recipient, char **buffer, | 71 sending_im_cb(PurpleAccount *account, char *recipient, char **buffer, |
79 void *data) | 72 void *data) |
80 { | 73 { |
81 int utflen, bytes; | 74 int utflen, bytes; |