Mercurial > pidgin
annotate plugins/perl/common/module.h @ 9927:fb08a0973b3e
[gaim-migrate @ 10819]
" Currently, the "loggedin" parameter of
serv_got_update() is of type int and used as a boolean.
I updated it and all references to be gboolean.
I also noticed that "presence" in
gaim_blist_update_buddy_presence() is also a really
boolean. of whether or not the buddy is currently
online. There seemed to be some confusion,
particularly in the silc plugin which tried to use a
GaimBuddyPresenceState (coincidentally (or perhaps not)
GAIM_BUDDY_OFFLINE and GAIM_BUDDY_ONLINE work as FALSE
and TRUE respectively). The value passed to
gaim_blist_update_buddy_presence() doesn't directly
become the buddy presence state and this patch helps
avoid confusion in this respect." --Daniel Atallah
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Wed, 01 Sep 2004 01:07:42 +0000 |
| parents | bf630f7dfdcd |
| children | 134d0001983d |
| rev | line source |
|---|---|
| 6508 | 1 typedef struct group *Gaim__Group; |
| 2 | |
| 3 #define group perl_group | |
| 4 | |
|
6816
5aeba37b303c
[gaim-migrate @ 7356]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6699
diff
changeset
|
5 #include <glib.h> |
|
5aeba37b303c
[gaim-migrate @ 7356]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6699
diff
changeset
|
6 #ifdef _WIN32 |
|
5aeba37b303c
[gaim-migrate @ 7356]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6699
diff
changeset
|
7 #undef pipe |
|
5aeba37b303c
[gaim-migrate @ 7356]
Herman Bloggs <hermanator12002@yahoo.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
d25ae4b5a204
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
19 #include "conversation.h" |
| 6508 | 20 #include "debug.h" |
|
6523
d7e04709be96
[gaim-migrate @ 7040]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
21 #include "server.h" |
| 6508 | 22 |
|
6531
7c42b8ca3222
[gaim-migrate @ 7048]
Christian Hammond <chipx86@chipx86.com>
parents:
6523
diff
changeset
|
23 typedef GaimAccount * Gaim__Account; |
|
6699
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6591
diff
changeset
|
24 typedef GaimBuddy * Gaim__BuddyList__Buddy; |
|
7118
bf630f7dfdcd
[gaim-migrate @ 7685]
Christian Hammond <chipx86@chipx86.com>
parents:
6816
diff
changeset
|
25 typedef GaimChat * Gaim__BuddyList__Chat; |
|
6699
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6591
diff
changeset
|
26 typedef GaimGroup * Gaim__BuddyList__Group; |
|
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6591
diff
changeset
|
27 typedef GaimContact * Gaim__BuddyList__Contact; |
|
6591
d25ae4b5a204
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
28 typedef GaimConnection * Gaim__Connection; |
|
d25ae4b5a204
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
29 typedef GaimConversation *Gaim__Conversation; |
|
7118
bf630f7dfdcd
[gaim-migrate @ 7685]
Christian Hammond <chipx86@chipx86.com>
parents:
6816
diff
changeset
|
30 typedef GaimConvChat * Gaim__Conversation__Chat; |
|
bf630f7dfdcd
[gaim-migrate @ 7685]
Christian Hammond <chipx86@chipx86.com>
parents:
6816
diff
changeset
|
31 typedef GaimConvIm * Gaim__Conversation__IM; |
|
bf630f7dfdcd
[gaim-migrate @ 7685]
Christian Hammond <chipx86@chipx86.com>
parents:
6816
diff
changeset
|
32 typedef GaimConvWindow * Gaim__ConvWindow; |
|
6591
d25ae4b5a204
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
33 typedef GaimPlugin * Gaim__Plugin; |
|
6588
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
34 |
|
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
35 typedef GaimDebugLevel Gaim__DebugLevel; |
