Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/yahoo_profile.c @ 28036:8be4bea98188
merged with im.pidgin.pidgin
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 27 Jul 2009 15:22:00 +0900 |
parents | 85fa979b08c2 908be3822215 |
children | 7281d151e492 |
comparison
equal
deleted
inserted
replaced
28022:c81386a2b292 | 28036:8be4bea98188 |
---|---|
786 char *url_buffer; | 786 char *url_buffer; |
787 GString *s; | 787 GString *s; |
788 char *tmp; | 788 char *tmp; |
789 char *profile_url_text = NULL; | 789 char *profile_url_text = NULL; |
790 int lang, strid; | 790 int lang, strid; |
791 struct yahoo_data *yd; | 791 YahooData *yd; |
792 const profile_strings_node_t *strings = NULL; | 792 const profile_strings_node_t *strings = NULL; |
793 const char *title; | 793 const char *title; |
794 profile_state_t profile_state = PROFILE_STATE_DEFAULT; | 794 profile_state_t profile_state = PROFILE_STATE_DEFAULT; |
795 | 795 |
796 purple_debug_info("yahoo", "In yahoo_got_info\n"); | 796 purple_debug_info("yahoo", "In yahoo_got_info\n"); |
958 static void | 958 static void |
959 yahoo_got_photo(PurpleUtilFetchUrlData *url_data, gpointer data, | 959 yahoo_got_photo(PurpleUtilFetchUrlData *url_data, gpointer data, |
960 const gchar *url_text, size_t len, const gchar *error_message) | 960 const gchar *url_text, size_t len, const gchar *error_message) |
961 { | 961 { |
962 YahooGetInfoStepTwoData *info2_data = (YahooGetInfoStepTwoData *)data; | 962 YahooGetInfoStepTwoData *info2_data = (YahooGetInfoStepTwoData *)data; |
963 struct yahoo_data *yd; | 963 YahooData *yd; |
964 gboolean found = FALSE; | 964 gboolean found = FALSE; |
965 int id = -1; | 965 int id = -1; |
966 | 966 |
967 /* Temporary variables */ | 967 /* Temporary variables */ |
968 char *p = NULL; | 968 char *p = NULL; |
1271 #endif /* PHOTO_SUPPORT */ | 1271 #endif /* PHOTO_SUPPORT */ |
1272 } | 1272 } |
1273 | 1273 |
1274 void yahoo_get_info(PurpleConnection *gc, const char *name) | 1274 void yahoo_get_info(PurpleConnection *gc, const char *name) |
1275 { | 1275 { |
1276 struct yahoo_data *yd = gc->proto_data; | 1276 YahooData *yd = gc->proto_data; |
1277 YahooGetInfoData *data; | 1277 YahooGetInfoData *data; |
1278 char *url; | 1278 char *url; |
1279 PurpleUtilFetchUrlData *url_data; | 1279 PurpleUtilFetchUrlData *url_data; |
1280 | 1280 |
1281 data = g_new0(YahooGetInfoData, 1); | 1281 data = g_new0(YahooGetInfoData, 1); |