Last change
on this file since 07ff8a2 was
a2582c8,
checked in by Wilmer van der Gaast <wilmer@…>, at 2006-05-26T22:44:48Z
|
Added error_string variable to Passport client.
|
-
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 | |
---|
35 | struct passport_reply |
---|
36 | { |
---|
37 | void (*func)( struct passport_reply * ); |
---|
38 | void *data; |
---|
39 | char *result; |
---|
40 | char *header; |
---|
41 | char *error_string; |
---|
42 | }; |
---|
43 | |
---|
44 | int passport_get_id( gpointer func, gpointer data, char *username, char *password, char *cookie ); |
---|
45 | |
---|
46 | #endif /* __PASSPORT_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.