comparison libpurple/protocols/yahoo/yahoo_profile.c @ 27694:908be3822215

Move from "struct yahoo_data" to "YahooData" to be consistent with other structs in the prpl. I'm sure someone is going to want to shoot me over this, but I'm tired of seeing "struct yahoo_data" everywhere in this prpl.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sun, 26 Jul 2009 17:25:18 +0000
parents ef5f0cde8d74
children 0123c69ec0e5
comparison
equal deleted inserted replaced
27693:8bc9087b5ec2 27694:908be3822215
782 char *url_buffer; 782 char *url_buffer;
783 GString *s; 783 GString *s;
784 char *tmp; 784 char *tmp;
785 char *profile_url_text = NULL; 785 char *profile_url_text = NULL;
786 int lang, strid; 786 int lang, strid;
787 struct yahoo_data *yd; 787 YahooData *yd;
788 const profile_strings_node_t *strings = NULL; 788 const profile_strings_node_t *strings = NULL;
789 const char *title; 789 const char *title;
790 profile_state_t profile_state = PROFILE_STATE_DEFAULT; 790 profile_state_t profile_state = PROFILE_STATE_DEFAULT;
791 791
792 purple_debug_info("yahoo", "In yahoo_got_info\n"); 792 purple_debug_info("yahoo", "In yahoo_got_info\n");
954 static void 954 static void
955 yahoo_got_photo(PurpleUtilFetchUrlData *url_data, gpointer data, 955 yahoo_got_photo(PurpleUtilFetchUrlData *url_data, gpointer data,
956 const gchar *url_text, size_t len, const gchar *error_message) 956 const gchar *url_text, size_t len, const gchar *error_message)
957 { 957 {
958 YahooGetInfoStepTwoData *info2_data = (YahooGetInfoStepTwoData *)data; 958 YahooGetInfoStepTwoData *info2_data = (YahooGetInfoStepTwoData *)data;
959 struct yahoo_data *yd; 959 YahooData *yd;
960 gboolean found = FALSE; 960 gboolean found = FALSE;
961 int id = -1; 961 int id = -1;
962 962
963 /* Temporary variables */ 963 /* Temporary variables */
964 char *p = NULL; 964 char *p = NULL;
1262 #endif /* PHOTO_SUPPORT */ 1262 #endif /* PHOTO_SUPPORT */
1263 } 1263 }
1264 1264
1265 void yahoo_get_info(PurpleConnection *gc, const char *name) 1265 void yahoo_get_info(PurpleConnection *gc, const char *name)
1266 { 1266 {
1267 struct yahoo_data *yd = gc->proto_data; 1267 YahooData *yd = gc->proto_data;
1268 YahooGetInfoData *data; 1268 YahooGetInfoData *data;
1269 char *url; 1269 char *url;
1270 PurpleUtilFetchUrlData *url_data; 1270 PurpleUtilFetchUrlData *url_data;
1271 1271
1272 data = g_new0(YahooGetInfoData, 1); 1272 data = g_new0(YahooGetInfoData, 1);