Mercurial > pidgin.yaz
annotate src/protocols/msn/msn.h @ 5662:937d5554021e
[gaim-migrate @ 6076]
Aww, I screwed everything up. Now the user splits should work again.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 02 Jun 2003 09:59:35 +0000 |
parents | 187c740f2a4e |
children | 1d140b31d4b3 |
rev | line source |
---|---|
4542 | 1 /** |
2 * @file msn.h The MSN protocol plugin | |
3 * | |
4 * gaim | |
5 * | |
5309
e2e53316a21d
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
6 * Copyright (C) 2003 Christian Hammond <chipx86@gnupdate.org> |
4542 | 7 * |
8 * This program is free software; you can redistribute it and/or modify | |
9 * it under the terms of the GNU General Public License as published by | |
10 * the Free Software Foundation; either version 2 of the License, or | |
11 * (at your option) any later version. | |
12 * | |
13 * This program is distributed in the hope that it will be useful, | |
14 * but WITHOUT 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 #ifndef _MSN_H_ | |
23 #define _MSN_H_ | |
24 | |
25 #include "config.h" | |
26 | |
27 #ifndef _WIN32 | |
28 #include <unistd.h> | |
29 #else | |
30 #include <winsock.h> | |
31 #include <io.h> | |
32 #endif | |
33 | |
34 | |
35 #include <sys/stat.h> | |
36 #include <stdlib.h> | |
37 #include <string.h> | |
38 #include <errno.h> | |
39 #include <stdio.h> | |
40 #include <ctype.h> | |
41 #ifndef _WIN32 | |
42 #include <netdb.h> | |
43 #endif | |
5309
e2e53316a21d
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
44 |
e2e53316a21d
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
45 #include "blist.h" |
e2e53316a21d
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
46 #include "debug.h" |
e2e53316a21d
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
47 #include "md5.h" |
e2e53316a21d
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
48 #include "proxy.h" |
4542 | 49 #include "prpl.h" |
50 | |
51 #ifdef _WIN32 | |
52 #include "win32dep.h" | |
53 #include "stdint.h" | |
54 #endif | |
55 | |
56 #define MSN_BUF_LEN 8192 | |
57 | |
58 #define USEROPT_MSNSERVER 3 | |
59 #define MSN_SERVER "messenger.hotmail.com" | |
60 #define USEROPT_MSNPORT 4 | |
61 #define MSN_PORT 1863 | |
62 | |
63 #define MSN_TYPING_RECV_TIMEOUT 6 | |
64 #define MSN_TYPING_SEND_TIMEOUT 4 | |
65 | |
5309
e2e53316a21d
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
66 #define HOTMAIL_URL "http://www.hotmail.com/cgi-bin/folders" |
e2e53316a21d
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
67 #define PASSPORT_URL "http://lc1.law13.hotmail.passport.com/cgi-bin/dologin?login=" |
4542 | 68 |
5309
e2e53316a21d
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
69 #define USEROPT_HOTMAIL 0 |
4542 | 70 |
71 | |
5309
e2e53316a21d
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
72 #define MSN_FT_GUID "{5D3E02AB-6190-11d3-BBBB-00C04F795683}" |
4542 | 73 |
5564
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5475
diff
changeset
|
74 #define MSN_CONNECT_STEPS 7 |
187c740f2a4e
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5475
diff
changeset
|
75 |
5316
d5690ed70085
[gaim-migrate @ 5688]
Christian Hammond <chipx86@chipx86.com>
parents:
5309
diff
changeset
|
76 #define MSN_CLIENTINFO \ |
5475
ad9887c91a59
[gaim-migrate @ 5871]
Christian Hammond <chipx86@chipx86.com>
parents:
5316
diff
changeset
|
77 "Client-Name: Gaim/" VERSION "\r\n" \ |
ad9887c91a59
[gaim-migrate @ 5871]
Christian Hammond <chipx86@chipx86.com>
parents:
5316
diff
changeset
|
78 "Chat-Logging: Y\r\n" \ |
ad9887c91a59
[gaim-migrate @ 5871]
Christian Hammond <chipx86@chipx86.com>
parents:
5316
diff
changeset
|
79 "Buddy-Icons: 1\r\n" |
5316
d5690ed70085
[gaim-migrate @ 5688]
Christian Hammond <chipx86@chipx86.com>
parents:
5309
diff
changeset
|
80 |
4542 | 81 #endif /* _MSN_H_ */ |