Thu, 22 May 2003 01:31:56 +0000
[gaim-migrate @ 5871]
Fixed our support for the standard. I misread the discussion and used an
alternative proposal. So now we use the new, correct one.
Basically, what this means to the users is that 0.64 users will still see
0.63 MSN buddy icons, but 0.63 won't see 0.64's. No big deal.
| 4542 | 1 | /** |
| 2 | * @file msn.h The MSN protocol plugin | |
| 3 | * | |
| 4 | * gaim | |
| 5 | * | |
|
5309
3178acad1449
[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
3178acad1449
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
44 | |
|
3178acad1449
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
45 | #include "blist.h" |
|
3178acad1449
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
46 | #include "debug.h" |
|
3178acad1449
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
47 | #include "md5.h" |
|
3178acad1449
[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
3178acad1449
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
66 | #define HOTMAIL_URL "http://www.hotmail.com/cgi-bin/folders" |
|
3178acad1449
[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
3178acad1449
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
69 | #define USEROPT_HOTMAIL 0 |
| 4542 | 70 | |
| 71 | ||
|
5309
3178acad1449
[gaim-migrate @ 5681]
Christian Hammond <chipx86@chipx86.com>
parents:
5166
diff
changeset
|
72 | #define MSN_FT_GUID "{5D3E02AB-6190-11d3-BBBB-00C04F795683}" |
| 4542 | 73 | |
|
5316
ec9cbe50e70c
[gaim-migrate @ 5688]
Christian Hammond <chipx86@chipx86.com>
parents:
5309
diff
changeset
|
74 | #define MSN_CLIENTINFO \ |
|
5475
a2f856cac665
[gaim-migrate @ 5871]
Christian Hammond <chipx86@chipx86.com>
parents:
5316
diff
changeset
|
75 | "Client-Name: Gaim/" VERSION "\r\n" \ |
|
a2f856cac665
[gaim-migrate @ 5871]
Christian Hammond <chipx86@chipx86.com>
parents:
5316
diff
changeset
|
76 | "Chat-Logging: Y\r\n" \ |
|
a2f856cac665
[gaim-migrate @ 5871]
Christian Hammond <chipx86@chipx86.com>
parents:
5316
diff
changeset
|
77 | "Buddy-Icons: 1\r\n" |
|
5316
ec9cbe50e70c
[gaim-migrate @ 5688]
Christian Hammond <chipx86@chipx86.com>
parents:
5309
diff
changeset
|
78 | |
| 4542 | 79 | #endif /* _MSN_H_ */ |