comparison libpurple/protocols/myspace/myspace.h @ 17967:c9acdf96e74e

Update login process to more closely match official client.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sun, 22 Jul 2007 06:53:48 +0000
parents f1827c3dc65a
children a2298513db8b
comparison
equal deleted inserted replaced
17966:f1827c3dc65a 17967:c9acdf96e74e
71 * http://settings.myspace.com/index.cfm?fuseaction=user.changepassword 71 * http://settings.myspace.com/index.cfm?fuseaction=user.changepassword
72 * (though curiously, not on the 'current password' field). */ 72 * (though curiously, not on the 'current password' field). */
73 #define MSIM_MAX_PASSWORD_LENGTH 10 73 #define MSIM_MAX_PASSWORD_LENGTH 10
74 74
75 /* Build version of MySpaceIM to report to servers (1.0.xxx.0) */ 75 /* Build version of MySpaceIM to report to servers (1.0.xxx.0) */
76 #define MSIM_CLIENT_VERSION 673 76 #define MSIM_CLIENT_VERSION 697
77
78 /* Language codes from http://www.microsoft.com/globaldev/reference/oslocversion.mspx */
79 #define MSIM_LANGUAGE_ID_ENGLISH 1033
80 #define MSIM_LANGUAGE_NAME_ENGLISH "ENGLISH"
77 81
78 /* msimprpl version string of this plugin */ 82 /* msimprpl version string of this plugin */
79 #define MSIM_PRPL_VERSION_STRING "0.12" 83 #define MSIM_PRPL_VERSION_STRING "0.12"
80 84
81 /* Default server */ 85 /* Default server */
268 void msim_set_status_code(MsimSession *session, guint code, gchar *statstring); 272 void msim_set_status_code(MsimSession *session, guint code, gchar *statstring);
269 273
270 void msim_store_buddy_info_each(gpointer key, gpointer value, gpointer user_data); 274 void msim_store_buddy_info_each(gpointer key, gpointer value, gpointer user_data);
271 gboolean msim_store_buddy_info(MsimSession *session, MsimMessage *msg); 275 gboolean msim_store_buddy_info(MsimSession *session, MsimMessage *msg);
272 gboolean msim_process_server_info(MsimSession *session, MsimMessage *msg); 276 gboolean msim_process_server_info(MsimSession *session, MsimMessage *msg);
277 gboolean msim_web_challenge(MsimSession *session, MsimMessage *msg);
273 gboolean msim_process_reply(MsimSession *session, MsimMessage *msg); 278 gboolean msim_process_reply(MsimSession *session, MsimMessage *msg);
274 279
275 gboolean msim_preprocess_incoming(MsimSession *session, MsimMessage *msg); 280 gboolean msim_preprocess_incoming(MsimSession *session, MsimMessage *msg);
276 281
277 gboolean msim_check_alive(gpointer data); 282 gboolean msim_check_alive(gpointer data);