Sat, 27 Sep 2003 19:17:21 +0000
[gaim-migrate @ 7538]
This is Mr. Holland's Opus. And by Mr. Holland I mean Robot101. He
rewrote the coreish IM image support so that the binary data gets
ripped out in the prpl and put in an imgstore instead of just being
passed in the same huge as char string as the actual message. This
is good because it's prpl agnostic, or something. It also means
we don't have a silly length of "-1" with pretty much every send or
receive IM function.
It should be crash free, bug free, and memleak free, but additional
testing is always a good thing.
If you like good stuff then you'll love this patch. But don't take
my word for it--ba dun dunt!
| 6508 | 1 | typedef struct group *Gaim__Group; |
| 2 | ||
| 3 | #define group perl_group | |
| 4 | ||
|
6816
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
5 | #include <glib.h> |
|
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
6 | #ifdef _WIN32 |
|
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
7 | #undef pipe |
|
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
8 | #endif |
| 6508 | 9 | #include <EXTERN.h> |
| 10 | #include <perl.h> | |
| 11 | #include <XSUB.h> | |
| 12 | ||
| 13 | #undef group | |
| 14 | ||
| 15 | #include "../perl-common.h" | |
| 16 | ||
| 17 | #include "account.h" | |
| 18 | #include "connection.h" | |
|
6591
cc1ab32edcdc
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
19 | #include "conversation.h" |
| 6508 | 20 | #include "debug.h" |
|
6523
20c459e452ac
[gaim-migrate @ 7040]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
21 | #include "server.h" |
| 6508 | 22 | |
|
6531
3fca41d7b411
[gaim-migrate @ 7048]
Christian Hammond <chipx86@chipx86.com>
parents:
6523
diff
changeset
|
23 | typedef GaimAccount * Gaim__Account; |
|
6699
1af918908513
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6591
diff
changeset
|
24 | typedef GaimBuddy * Gaim__BuddyList__Buddy; |
|
1af918908513
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6591
diff
changeset
|
25 | typedef GaimBlistChat * Gaim__BuddyList__Chat; |
|
1af918908513
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6591
diff
changeset
|
26 | typedef GaimGroup * Gaim__BuddyList__Group; |
|
1af918908513
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6591
diff
changeset
|
27 | typedef GaimContact * Gaim__BuddyList__Contact; |
|
6591
cc1ab32edcdc
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
28 | typedef GaimConnection * Gaim__Connection; |
|
cc1ab32edcdc
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
29 | typedef GaimConversation *Gaim__Conversation; |
|
cc1ab32edcdc
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
30 | typedef GaimChat * Gaim__Conversation__Chat; |
|
cc1ab32edcdc
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
31 | typedef GaimIm * Gaim__Conversation__IM; |
|
cc1ab32edcdc
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
32 | typedef GaimWindow * Gaim__ConvWindow; |
|
cc1ab32edcdc
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
33 | typedef GaimPlugin * Gaim__Plugin; |
|
6588
187c6026c574
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
34 | |
|
187c6026c574
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
35 | typedef GaimDebugLevel Gaim__DebugLevel; |