/** * @file nexus.h MSN Nexus functions * * purple * * Purple is the legal property of its developers, whose names are too numerous * to list here. Please refer to the COPYRIGHT file distributed with this * source distribution. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ #ifndef _MSN_NEXUS_H_ #define _MSN_NEXUS_H_ #include "soap.h" /*#define MSN_TWN_SERVER "loginnet.passport.com"*/ #define MSN_TWN_SERVER "login.live.com" #define TWN_START_TOKEN "" #define TWN_END_TOKEN "" #define TWN_POST_URL "/RST.srf" #define TWN_ENVELOP_TEMPLATE ""\ ""\ "
"\ ""\ "{3:B}"\ "4"\ "1"\ ""\ "AQAAAAIAAABsYwQAAAAzMDg0"\ ""\ ""\ ""\ "%s"\ "%s"\ ""\ ""\ "
"\ ""\ ""\ ""\ "http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue"\ ""\ ""\ "http://Passport.NET/tb"\ ""\ ""\ ""\ ""\ "http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue"\ ""\ ""\ "messenger.msn.com"\ ""\ ""\ ""\ ""\ ""\ ""\ ""\ "
" #define TWN_LIVE_START_TOKEN "" #define TWN_LIVE_END_TOKEN "" #define TWN_LIVE_ENVELOP_TEMPLATE ""\ ""\ "
"\ ""\ "{7108E71A-9926-4FCB-BCC9-9A9D3F32E423}"\ "4"\ "1"\ ""\ "AQAAAAIAAABsYwQAAAAyMDUy"\ ""\ ""\ ""\ "%s"\ "%s"\ ""\ ""\ "
"\ ""\ ""\ ""\ "http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue"\ ""\ ""\ "http://Passport.NET/tb"\ ""\ ""\ ""\ ""\ "http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue"\ ""\ ""\ "messenger.msn.com"\ ""\ ""\ ""\ ""\ ""\ "http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue"\ ""\ ""\ "contacts.msn.com"\ ""\ ""\ ""\ " "\ ""\ "http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue"\ ""\ ""\ "voice.messenger.msn.com"\ ""\ " "\ ""\ ""\ ""\ ""\ "
" typedef struct _MsnNexus MsnNexus; struct _MsnNexus { MsnSession *session; char * challenge_data_str; GHashTable *challenge_data; }; void msn_nexus_connect(MsnNexus *nexus); MsnNexus *msn_nexus_new(MsnSession *session); void msn_nexus_destroy(MsnNexus *nexus); #endif /* _MSN_NEXUS_H_ */