| 24 |
24 |
| 25 #ifndef _YAHOO_H_ |
25 #ifndef _YAHOO_H_ |
| 26 #define _YAHOO_H_ |
26 #define _YAHOO_H_ |
| 27 |
27 |
| 28 #include "prpl.h" |
28 #include "prpl.h" |
| |
29 #include "gaim_buffer.h" |
| 29 |
30 |
| 30 #define YAHOO_PAGER_HOST "scs.msg.yahoo.com" |
31 #define YAHOO_PAGER_HOST "scs.msg.yahoo.com" |
| 31 #define YAHOO_PAGER_PORT 5050 |
32 #define YAHOO_PAGER_PORT 5050 |
| 32 #define YAHOO_PROFILE_URL "http://profiles.yahoo.com/" |
33 #define YAHOO_PROFILE_URL "http://profiles.yahoo.com/" |
| 33 #define YAHOO_MAIL_URL "https://mail.yahoo.com/" |
34 #define YAHOO_MAIL_URL "https://mail.yahoo.com/" |
| 95 }; |
96 }; |
| 96 |
97 |
| 97 struct _YchtConn; |
98 struct _YchtConn; |
| 98 |
99 |
| 99 struct yahoo_data { |
100 struct yahoo_data { |
| |
101 GaimConnection *gc; |
| 100 int fd; |
102 int fd; |
| 101 guchar *rxqueue; |
103 guchar *rxqueue; |
| 102 int rxlen; |
104 int rxlen; |
| |
105 GaimCircBuffer *txbuf; |
| |
106 guint txhandler; |
| 103 GHashTable *friends; |
107 GHashTable *friends; |
| 104 int current_status; |
108 int current_status; |
| 105 gboolean logged_in; |
109 gboolean logged_in; |
| 106 GString *tmp_serv_blist, *tmp_serv_ilist, *tmp_serv_plist; |
110 GString *tmp_serv_blist, *tmp_serv_ilist, *tmp_serv_plist; |
| 107 GSList *confs; |
111 GSList *confs; |
| 108 unsigned int conf_id; /* just a counter */ |
112 unsigned int conf_id; /* just a counter */ |
| 109 gboolean chat_online; |
113 gboolean chat_online; |
| 110 gboolean in_chat; |
114 gboolean in_chat; |
| 111 char *chat_name; |
115 char *chat_name; |
| 112 char *auth; |
116 char *auth; |
| |
117 gsize auth_written; |
| 113 char *cookie_y; |
118 char *cookie_y; |
| 114 char *cookie_t; |
119 char *cookie_t; |
| 115 int session_id; |
120 int session_id; |
| 116 gboolean jp; |
121 gboolean jp; |
| 117 gboolean wm; /* connected w/ web messenger method */ |
122 gboolean wm; /* connected w/ web messenger method */ |