Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
9163:8d22bc97b7be | 9164:76125b842b23 |
---|---|
31 #define YAHOO_PAGER_PORT 5050 | 31 #define YAHOO_PAGER_PORT 5050 |
32 #define YAHOO_PROFILE_URL "http://profiles.yahoo.com/" | 32 #define YAHOO_PROFILE_URL "http://profiles.yahoo.com/" |
33 #define YAHOO_XFER_HOST "filetransfer.msg.yahoo.com" | 33 #define YAHOO_XFER_HOST "filetransfer.msg.yahoo.com" |
34 #define YAHOO_XFER_PORT 80 | 34 #define YAHOO_XFER_PORT 80 |
35 #define YAHOO_ROOMLIST_URL "http://insider.msg.yahoo.com/ycontent/" | 35 #define YAHOO_ROOMLIST_URL "http://insider.msg.yahoo.com/ycontent/" |
36 | |
37 /* really we should get the list of servers from | |
38 http://update.messenger.yahoo.co.jp/servers.html */ | |
39 #define YAHOOJP_PAGER_HOST "cs.yahoo.co.jp" | |
40 #define YAHOOJP_XFER_HOST "filetransfer.msg.yahoo.co.jp" | |
41 #define YAHOOJP_WEBCAM_HOST "wc.yahoo.co.jp" | |
42 #define YAHOOJP_PROFILE_URL "profiles.yahoo.co.jp" | |
36 | 43 |
37 #define WEBMESSENGER_URL "http://login.yahoo.com/config/login?.src=pg" | 44 #define WEBMESSENGER_URL "http://login.yahoo.com/config/login?.src=pg" |
38 | 45 |
39 enum yahoo_service { /* these are easier to see in hex */ | 46 enum yahoo_service { /* these are easier to see in hex */ |
40 YAHOO_SERVICE_LOGON = 1, | 47 YAHOO_SERVICE_LOGON = 1, |
134 char *chat_name; | 141 char *chat_name; |
135 char *auth; | 142 char *auth; |
136 char *cookie_y; | 143 char *cookie_y; |
137 char *cookie_t; | 144 char *cookie_t; |
138 int session_id; | 145 int session_id; |
146 gboolean jp; | |
139 }; | 147 }; |
140 | 148 |
141 struct yahoo_pair { | 149 struct yahoo_pair { |
142 int key; | 150 int key; |
143 char *value; | 151 char *value; |