Mercurial > pidgin
diff libpurple/protocols/yahoo/yahoo.h @ 25010:afb1b5f1dc84
Implementation of initial exchange of p2pxfer packets that initiates p2p file transfer. Some connection
and stability issues exists, soon to be looked into.
author | Sulabh Mahajan <sulabh@soc.pidgin.im> |
---|---|
date | Fri, 06 Jun 2008 17:28:37 +0000 |
parents | 269bba623a62 |
children | 9b16249bfbe6 |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.h Thu May 29 07:57:15 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo.h Fri Jun 06 17:28:37 2008 +0000 @@ -30,6 +30,7 @@ #define YAHOO_PAGER_HOST "scs.msg.yahoo.com" #define YAHOO_PAGER_PORT 5050 +#define YAHOO_PAGER_PORT_P2P 5101 #define YAHOO_PROFILE_URL "http://profiles.yahoo.com/" #define YAHOO_MAIL_URL "https://login.yahoo.com/config/login?.src=ym" #define YAHOO_XFER_HOST "filetransfer.msg.yahoo.com" @@ -113,6 +114,14 @@ guint watcher; }; +struct yahoo_p2p_data { + PurpleConnection *gc; + char *host_ip; /*also we use it as a handle*/ + int session_id; + char *host_username; + int val_13; +}; + struct _YchtConn; struct yahoo_data {