source: protocols/msn/passport.h @ 6fb6410

Last change on this file since 6fb6410 was ad8b8a3, checked in by Wilmer van der Gaast <wilmer@…>, at 2005-12-17T20:54:06Z

Passport authentication works now.

  • Property mode set to 100644
File size: 1.7 KB
Line 
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 (*func)( struct passport_reply * );
38        void *data;
39        char *result;
40        char *header;
41};
42
43int passport_get_id( gpointer func, gpointer data, char *username, char *password, char *cookie );
44
45#endif /* __PASSPORT_H__ */
Note: See TracBrowser for help on using the repository browser.