Changeset 4e4af1b for protocols/msn
- Timestamp:
- 2010-08-14T08:48:46Z (14 years ago)
- Branches:
- master
- Children:
- 73efe3a
- Parents:
- 50b8978
- Location:
- protocols/msn
- Files:
-
- 2 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/Makefile
r50b8978 r4e4af1b 13 13 14 14 # [SH] Program variables 15 objects = msn.o msn_util.o ns.o passport.osb.o soap.o tables.o15 objects = msn.o msn_util.o ns.o sb.o soap.o tables.o 16 16 17 17 LFLAGS += -r -
protocols/msn/msn.c
r50b8978 r4e4af1b 2 2 * BitlBee -- An IRC to other IM-networks gateway * 3 3 * * 4 * Copyright 2002-20 04Wilmer van der Gaast and others *4 * Copyright 2002-2010 Wilmer van der Gaast and others * 5 5 \********************************************************************/ 6 6 -
protocols/msn/msn.h
r50b8978 r4e4af1b 233 233 void msn_sb_stop_keepalives( struct msn_switchboard *sb ); 234 234 235 /* invitation.c */236 void msn_ftp_transfer_request( struct im_connection *ic, file_transfer_t *ft, char *who );237 238 235 #endif //_MSN_H -
protocols/msn/ns.c
r50b8978 r4e4af1b 2 2 * BitlBee -- An IRC to other IM-networks gateway * 3 3 * * 4 * Copyright 2002-20 04Wilmer van der Gaast and others *4 * Copyright 2002-2010 Wilmer van der Gaast and others * 5 5 \********************************************************************/ 6 6 -
protocols/msn/sb.c
r50b8978 r4e4af1b 2 2 * BitlBee -- An IRC to other IM-networks gateway * 3 3 * * 4 * Copyright 2002-20 05Wilmer van der Gaast and others *4 * Copyright 2002-2010 Wilmer van der Gaast and others * 5 5 \********************************************************************/ 6 6 … … 27 27 #include "nogaim.h" 28 28 #include "msn.h" 29 #include "passport.h"30 29 #include "md5.h" 31 30 #include "soap.h" -
protocols/msn/soap.c
r50b8978 r4e4af1b 1 /** soap.c 2 * 3 * SOAP-related functions. Some manager at Microsoft apparently thought 4 * MSNP wasn't XMLy enough so someone stepped up and changed that. This 5 * is the result. 6 * 7 * Copyright (C) 2010 Wilmer van der Gaast <wilmer@gaast.net> 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License version 2 11 * as published by the Free Software Foundation 12 * 13 * This program is distributed in the hope that is will be useful, 14 * bit WITHOU ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 * 22 */ 1 /********************************************************************\ 2 * BitlBee -- An IRC to other IM-networks gateway * 3 * * 4 * Copyright 2002-2010 Wilmer van der Gaast and others * 5 \********************************************************************/ 6 7 /* MSN module - All the SOAPy XML stuff. 8 Some manager at Microsoft apparently thought MSNP wasn't XMLy enough so 9 someone stepped up and changed that. This is the result. Kilobytes and 10 more kilobytes of XML vomit to transfer tiny bits of informaiton. */ 11 12 /* 13 This program is free software; you can redistribute it and/or modify 14 it under the terms of the GNU General Public License as published by 15 the Free Software Foundation; either version 2 of the License, or 16 (at your option) any later version. 17 18 This program is distributed in the hope that it will be useful, 19 but WITHOUT ANY WARRANTY; without even the implied warranty of 20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 GNU General Public License for more details. 22 23 You should have received a copy of the GNU General Public License with 24 the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; 25 if not, write to the Free Software Foundation, Inc., 59 Temple Place, 26 Suite 330, Boston, MA 02111-1307 USA 27 */ 23 28 24 29 #include "http_client.h" … … 34 39 #include <errno.h> 35 40 41 /* This file tries to make SOAP stuff pretty simple to do by letting you just 42 provide a function to build a request, a few functions to parse various 43 parts of the response, and a function to run when the full response was 44 received and parsed. See the various examples below. */ 45 36 46 typedef enum 37 47 { … … 41 51 } msn_soap_result_t; 42 52 43 struct msn_soap_req_data;44 45 typedef int (*msn_soap_func) ( struct msn_soap_req_data * );46 47 53 struct msn_soap_req_data 48 54 { … … 57 63 msn_soap_func build_request, handle_response, free_data; 58 64 }; 65 66 typedef int (*msn_soap_func) ( struct msn_soap_req_data * ); 59 67 60 68 static int msn_soap_send_request( struct msn_soap_req_data *req ); -
protocols/msn/tables.c
r50b8978 r4e4af1b 2 2 * BitlBee -- An IRC to other IM-networks gateway * 3 3 * * 4 * Copyright 2002-20 04Wilmer van der Gaast and others *4 * Copyright 2002-2010 Wilmer van der Gaast and others * 5 5 \********************************************************************/ 6 6
Note: See TracChangeset
for help on using the changeset viewer.