source: protocols/msn/passport.h @ 3e1de87

Last change on this file since 3e1de87 was b7d3cc34, checked in by Wilmer van der Gaast <wilmer@…>, at 2005-11-06T18:23:18Z

Initial repository (0.99 release tree)

  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[b7d3cc34]1#ifndef __PASSPORT_H__
2#define __PASSPORT_H__
3/* passport.h
4 *
5 * Functions to login to Microsoft Passport Service for Messenger
6 * Copyright (C) 2004 Wouter Paesen <wouter@blue-gate.be>,
7 *                    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
23#include <stdio.h>
24#include <stdlib.h>
25#include <string.h>
26#include <sys/types.h>
27#ifndef _WIN32
28#include <sys/socket.h>
29#include <netinet/in.h>
30#include <arpa/inet.h>
31#include <unistd.h>
32#endif
33#include "nogaim.h"
34
35struct passport_reply
36{
37        void *data;
38        char *result;
39        void (*func)( struct passport_reply * );
40        char *url;
41        char *header;
42        int redirects;
43};
44
45int passport_get_id( gpointer data, char *username, char *password, char *cookie, gpointer func );
46
47#endif /* __PASSPORT_H__ */
Note: See TracBrowser for help on using the repository browser.