diff src/protocols/msn/nexus.h @ 19738:bc30c6270d9f

[gaim-migrate @ 16473] add the Framework of SOAP request Now can retrieve the Contact via SOAP Request. so many bug still exist! commited by MaYuan<mayuan2006@gmail.com> committer: Ethan Blanton <elb@pidgin.im>
author Ma Yuan <mayuan2006@gmail.com>
date Sun, 09 Jul 2006 16:48:25 +0000
parents 995aea35b05c
children 75ecc42d3e8d
line wrap: on
line diff
--- a/src/protocols/msn/nexus.h	Sat Jun 24 12:04:32 2006 +0000
+++ b/src/protocols/msn/nexus.h	Sun Jul 09 16:48:25 2006 +0000
@@ -24,7 +24,9 @@
 #ifndef _MSN_NEXUS_H_
 #define _MSN_NEXUS_H_
 
-#define TWN_SERVER	"loginnet.passport.com"
+#include "soap.h"
+
+#define MSN_TWN_SERVER	"loginnet.passport.com"
 
 #define TWN_START_TOKEN		"<wsse:BinarySecurityToken Id=\"PPToken1\">"
 #define TWN_END_TOKEN		"</wsse:BinarySecurityToken>"
@@ -75,20 +77,8 @@
 struct _MsnNexus
 {
 	MsnSession *session;
-
-	char *login_host;
-	char *login_path;
+	MsnSoapConn *soapconn;	
 	GHashTable *challenge_data;
-	GaimSslConnection *gsc;
-
-	guint input_handler;
-
-	char *write_buf;
-	gsize written_len;
-	GaimInputFunction written_cb;
-
-	char *read_buf;
-	gsize read_len;
 };
 
 void msn_nexus_connect(MsnNexus *nexus);