diff src/protocols/yahoo/yahoo.h @ 7134:67f9b43c402a

[gaim-migrate @ 7701] I think this is the fifth Yahoo authentication method Gaim's seen in its days. Please tell me if anything stops working. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 03 Oct 2003 23:01:13 +0000
parents 847d899a5724
children 580bd39219a2
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.h	Fri Oct 03 21:57:44 2003 +0000
+++ b/src/protocols/yahoo/yahoo.h	Fri Oct 03 23:01:13 2003 +0000
@@ -25,6 +25,8 @@
 
 #include "prpl.h"
 
+#define WEBMESSENGER_URL "http://login.yahoo.com/config/login?.src=pg"
+
 enum yahoo_service { /* these are easier to see in hex */
 	YAHOO_SERVICE_LOGON = 1,
 	YAHOO_SERVICE_LOGOFF,
@@ -83,7 +85,8 @@
 	YAHOO_SERVICE_CHATADDINVITE = 0x9d,
 	YAHOO_SERVICE_CHATLOGOUT = 0xa0,
 	YAHOO_SERVICE_CHATPING,
-	YAHOO_SERVICE_COMMENT = 0xa8
+	YAHOO_SERVICE_COMMENT = 0xa8,
+	YAHOO_SERVICE_WEBLOGIN = 0x0226
 };
 
 enum yahoo_status {
@@ -100,6 +103,7 @@
 	YAHOO_STATUS_INVISIBLE = 12,
 	YAHOO_STATUS_CUSTOM = 99,
 	YAHOO_STATUS_IDLE = 999,
+	YAHOO_STATUS_WEBLOGIN = 0x5a55aa55,
 	YAHOO_STATUS_OFFLINE = 0x5a55aa56, /* don't ask */
 	YAHOO_STATUS_TYPING = 0x16
 };
@@ -117,6 +121,7 @@
 	gboolean chat_online;
 	gboolean in_chat;
 	char *chat_name;
+	char *auth;
 };
 
 struct yahoo_pair {