Tue, 06 May 2003 02:06:56 +0000
[gaim-migrate @ 5681]
Announcing the new MSN prpl! It probably has some bugs, and for the time
being, there is no file transfer. That's good though, because the current
MSN file transfer is a little broken. I've had many corrupted files. I'll
commit new file transfer code when it's written.
I want this heavily tested before 0.63! If you use MSN, please talk to
people on it. Let me know of any oddities, crashes, bugs, whatever. I'll
fix things as I find them.
| 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 | |
| 74 | #endif /* _MSN_H_ */ |