comparison libpurple/protocols/yahoo/libymsg.h @ 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 faf80efd10a9
children c06114f3d58d
comparison
equal deleted inserted replaced
27693:8bc9087b5ec2 27694:908be3822215
165 char *home; 165 char *home;
166 char *mobile; 166 char *mobile;
167 } phone; 167 } phone;
168 } YahooPersonalDetails; 168 } YahooPersonalDetails;
169 169
170 struct yahoo_data { 170 typedef struct {
171 PurpleConnection *gc; 171 PurpleConnection *gc;
172 int fd; 172 int fd;
173 guchar *rxqueue; 173 guchar *rxqueue;
174 int rxlen; 174 int rxlen;
175 PurpleCircBuffer *txbuf; 175 PurpleCircBuffer *txbuf;
237 int yahoo_p2p_timer; 237 int yahoo_p2p_timer;
238 int yahoo_local_p2p_server_fd; 238 int yahoo_local_p2p_server_fd;
239 int yahoo_p2p_server_watcher; 239 int yahoo_p2p_server_watcher;
240 GHashTable *sms_carrier; /* sms carrier data */ 240 GHashTable *sms_carrier; /* sms carrier data */
241 guint yahoo_p2p_server_timeout_handle; 241 guint yahoo_p2p_server_timeout_handle;
242 }; 242 } YahooData;
243 243
244 #define YAHOO_MAX_STATUS_MESSAGE_LENGTH (255) 244 #define YAHOO_MAX_STATUS_MESSAGE_LENGTH (255)
245 245
246 /* 246 /*
247 * Current Maximum Length for Instant Messages 247 * Current Maximum Length for Instant Messages