Changeset 4e4af1b


Ignore:
Timestamp:
2010-08-14T08:48:46Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
73efe3a
Parents:
50b8978
Message:

Remove some old Passport stuff, this is all in soap.[ch] now.

Location:
protocols/msn
Files:
2 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/Makefile

    r50b8978 r4e4af1b  
    1313
    1414# [SH] Program variables
    15 objects = msn.o msn_util.o ns.o passport.o sb.o soap.o tables.o
     15objects = msn.o msn_util.o ns.o sb.o soap.o tables.o
    1616
    1717LFLAGS += -r
  • protocols/msn/msn.c

    r50b8978 r4e4af1b  
    22  * BitlBee -- An IRC to other IM-networks gateway                     *
    33  *                                                                    *
    4   * Copyright 2002-2004 Wilmer van der Gaast and others                *
     4  * Copyright 2002-2010 Wilmer van der Gaast and others                *
    55  \********************************************************************/
    66
  • protocols/msn/msn.h

    r50b8978 r4e4af1b  
    233233void msn_sb_stop_keepalives( struct msn_switchboard *sb );
    234234
    235 /* invitation.c */
    236 void msn_ftp_transfer_request( struct im_connection *ic, file_transfer_t *ft, char *who );
    237 
    238235#endif //_MSN_H
  • protocols/msn/ns.c

    r50b8978 r4e4af1b  
    22  * BitlBee -- An IRC to other IM-networks gateway                     *
    33  *                                                                    *
    4   * Copyright 2002-2004 Wilmer van der Gaast and others                *
     4  * Copyright 2002-2010 Wilmer van der Gaast and others                *
    55  \********************************************************************/
    66
  • protocols/msn/sb.c

    r50b8978 r4e4af1b  
    22  * BitlBee -- An IRC to other IM-networks gateway                     *
    33  *                                                                    *
    4   * Copyright 2002-2005 Wilmer van der Gaast and others                *
     4  * Copyright 2002-2010 Wilmer van der Gaast and others                *
    55  \********************************************************************/
    66
     
    2727#include "nogaim.h"
    2828#include "msn.h"
    29 #include "passport.h"
    3029#include "md5.h"
    3130#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*/
    2328
    2429#include "http_client.h"
     
    3439#include <errno.h>
    3540
     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
    3646typedef enum
    3747{
     
    4151} msn_soap_result_t;
    4252
    43 struct msn_soap_req_data;
    44 
    45 typedef int (*msn_soap_func) ( struct msn_soap_req_data * );
    46 
    4753struct msn_soap_req_data
    4854{
     
    5763        msn_soap_func build_request, handle_response, free_data;
    5864};
     65
     66typedef int (*msn_soap_func) ( struct msn_soap_req_data * );
    5967
    6068static int msn_soap_send_request( struct msn_soap_req_data *req );
  • protocols/msn/tables.c

    r50b8978 r4e4af1b  
    22  * BitlBee -- An IRC to other IM-networks gateway                     *
    33  *                                                                    *
    4   * Copyright 2002-2004 Wilmer van der Gaast and others                *
     4  * Copyright 2002-2010 Wilmer van der Gaast and others                *
    55  \********************************************************************/
    66
Note: See TracChangeset for help on using the changeset viewer.