diff src/protocols/yahoo/yahoo.h @ 9164:76125b842b23

[gaim-migrate @ 9949] This is proper yahoo japan support. Technically it worked before, but you had to know the yahoo japan server, and typing in nonascii didn't work. The account options are kind of ugly. Eventually Chip is going to replace the check box with something more like a dropdown thingy, that automaticly hides the settings that aren't used (Pager Host vs. Japan Pager Host, etc) But it's not too bad now. And I think I orignally wrote this patch for 0.64 or something, so I got tired of waiting. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Wed, 02 Jun 2004 03:02:50 +0000
parents c3fa2ad099a2
children f0488214826f
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.h	Wed Jun 02 01:26:21 2004 +0000
+++ b/src/protocols/yahoo/yahoo.h	Wed Jun 02 03:02:50 2004 +0000
@@ -34,6 +34,13 @@
 #define YAHOO_XFER_PORT 80
 #define YAHOO_ROOMLIST_URL "http://insider.msg.yahoo.com/ycontent/"
 
+/* really we should get the list of servers from
+ http://update.messenger.yahoo.co.jp/servers.html */
+#define YAHOOJP_PAGER_HOST "cs.yahoo.co.jp"
+#define YAHOOJP_XFER_HOST "filetransfer.msg.yahoo.co.jp"
+#define YAHOOJP_WEBCAM_HOST "wc.yahoo.co.jp"
+#define YAHOOJP_PROFILE_URL "profiles.yahoo.co.jp"
+
 #define WEBMESSENGER_URL "http://login.yahoo.com/config/login?.src=pg"
 
 enum yahoo_service { /* these are easier to see in hex */
@@ -136,6 +143,7 @@
 	char *cookie_y;
 	char *cookie_t;
 	int session_id;
+	gboolean jp;
 };
 
 struct yahoo_pair {