Fri, 11 Oct 2013 01:26:38 +0530
Backed out the previous 4 changesets. GSignals do not seem feasible with pidgin's architecture using any method.
I think we should keep using purple signals for class events and use gsignals for instance events.
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23987
diff
changeset
|
1 | /* Allow the Perl code to see deprecated functions, so we can continue to |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23987
diff
changeset
|
2 | * export them to Perl plugins. */ |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23987
diff
changeset
|
3 | #undef PURPLE_DISABLE_DEPRECATED |
| 11118 | 4 | |
| 15884 | 5 | typedef struct group *Purple__Group; |
| 6508 | 6 | |
| 7 | #define group perl_group | |
| 8 | ||
|
6816
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
9 | #include <glib.h> |
|
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
10 | #ifdef _WIN32 |
|
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
11 | #undef pipe |
|
29792
ad7890a74433
Some undefs to make building with mingw-64 more pleasant
Daniel Atallah <datallah@pidgin.im>
parents:
24569
diff
changeset
|
12 | #undef STRINGIFY |
|
6816
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
13 | #endif |
| 6508 | 14 | #include <EXTERN.h> |
| 15 | #include <perl.h> | |
| 16 | #include <XSUB.h> | |
| 17 | ||
| 18 | #undef group | |
| 19 | ||
| 20 | #include "../perl-common.h" | |
| 21 | ||
|
36868
1aca7f52f1ef
Backed out the previous 4 changesets. GSignals do not seem feasible with pidgin's architecture using any method.
Ankit Vani <a@nevitus.org>
parents:
36864
diff
changeset
|
22 | #include "accounts.h" |
| 11118 | 23 | #include "accountopt.h" |
|
34706
02cb08146888
Renamed blist.[ch] to buddylist.[ch]
Ankit Vani <a@nevitus.org>
parents:
34699
diff
changeset
|
24 | #include "buddylist.h" |
| 11118 | 25 | #include "buddyicon.h" |
|
23985
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
26 | #include "certificate.h" |
| 11118 | 27 | #include "cipher.h" |
|
34607
d6983411079e
Added cipher includes, and hash argument to _new() of PurpleHMACCipher and PurplePBKDF2Cipher
Ankit Vani <a@nevitus.org>
parents:
34605
diff
changeset
|
28 | #include "ciphers/aescipher.h" |
|
d6983411079e
Added cipher includes, and hash argument to _new() of PurpleHMACCipher and PurplePBKDF2Cipher
Ankit Vani <a@nevitus.org>
parents:
34605
diff
changeset
|
29 | #include "ciphers/des3cipher.h" |
|
d6983411079e
Added cipher includes, and hash argument to _new() of PurpleHMACCipher and PurplePBKDF2Cipher
Ankit Vani <a@nevitus.org>
parents:
34605
diff
changeset
|
30 | #include "ciphers/descipher.h" |
|
d6983411079e
Added cipher includes, and hash argument to _new() of PurpleHMACCipher and PurplePBKDF2Cipher
Ankit Vani <a@nevitus.org>
parents:
34605
diff
changeset
|
31 | #include "ciphers/hmaccipher.h" |
|
d6983411079e
Added cipher includes, and hash argument to _new() of PurpleHMACCipher and PurplePBKDF2Cipher
Ankit Vani <a@nevitus.org>
parents:
34605
diff
changeset
|
32 | #include "ciphers/pbkdf2cipher.h" |
|
d6983411079e
Added cipher includes, and hash argument to _new() of PurpleHMACCipher and PurplePBKDF2Cipher
Ankit Vani <a@nevitus.org>
parents:
34605
diff
changeset
|
33 | #include "ciphers/rc4cipher.h" |
|
34567
ea5103f66b0e
Refactor the codebase to use PurpleHash
Ankit Vani <a@nevitus.org>
parents:
34552
diff
changeset
|
34 | #include "hash.h" |
|
34607
d6983411079e
Added cipher includes, and hash argument to _new() of PurpleHMACCipher and PurplePBKDF2Cipher
Ankit Vani <a@nevitus.org>
parents:
34605
diff
changeset
|
35 | #include "ciphers/md4hash.h" |
|
d6983411079e
Added cipher includes, and hash argument to _new() of PurpleHMACCipher and PurplePBKDF2Cipher
Ankit Vani <a@nevitus.org>
parents:
34605
diff
changeset
|
36 | #include "ciphers/md5hash.h" |
|
d6983411079e
Added cipher includes, and hash argument to _new() of PurpleHMACCipher and PurplePBKDF2Cipher
Ankit Vani <a@nevitus.org>
parents:
34605
diff
changeset
|
37 | #include "ciphers/sha1hash.h" |
|
d6983411079e
Added cipher includes, and hash argument to _new() of PurpleHMACCipher and PurplePBKDF2Cipher
Ankit Vani <a@nevitus.org>
parents:
34605
diff
changeset
|
38 | #include "ciphers/sha256hash.h" |
| 11118 | 39 | #include "cmds.h" |
| 6508 | 40 | #include "connection.h" |
|
34605
89e6c5346d63
Begun refactoring for PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
41 | #include "conversations.h" |
|
15066
57ab37fe1190
[gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents:
14779
diff
changeset
|
42 | #include "core.h" |
| 6508 | 43 | #include "debug.h" |
| 11118 | 44 | #include "desktopitem.h" |
| 45 | #include "eventloop.h" | |
|
34909
91be147083c6
Started GObjectification of PurpleXfer.
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
46 | #include "xfer.h" |
| 15884 | 47 | #ifdef PURPLE_GTKPERL |
| 11118 | 48 | #include "gtkaccount.h" |
|
34708
dd67596485ca
Undo renames of UI blist headers back to gntblist.h and gtkblist.h
Ankit Vani <a@nevitus.org>
parents:
34706
diff
changeset
|
49 | #include "gtkblist.h" |
| 11118 | 50 | #include "gtkconn.h" |
| 51 | #include "gtkconv.h" | |
| 52 | #include "gtkutils.h" | |
| 14434 | 53 | #endif |
|
23985
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
54 | #include "idle.h" |
| 11118 | 55 | #include "imgstore.h" |
| 56 | #include "network.h" | |
| 57 | #include "notify.h" | |
|
36367
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
58 | #include "plugins.h" |
| 11118 | 59 | #include "pluginpref.h" |
| 60 | #include "pounce.h" | |
| 61 | #include "prefs.h" | |
|
34852
0e01a98b2ef7
Renamed blistnodes.[ch] to blistnode.[ch], presences.[ch] to presence.[ch]
Ankit Vani <a@nevitus.org>
parents:
34840
diff
changeset
|
62 | #include "presence.h" |
|
36543
a8c3fecee2d3
Renamed prpl.[ch] to protocol.[ch]
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
63 | #include "protocol.h" |
| 11118 | 64 | #include "proxy.h" |
| 65 | #include "request.h" | |
| 66 | #include "roomlist.h" | |
| 67 | #include "savedstatuses.h" | |
|
6523
20c459e452ac
[gaim-migrate @ 7040]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
68 | #include "server.h" |
| 11118 | 69 | #include "signals.h" |
|
23023
6aeeb2037709
Expose smiley API to perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21641
diff
changeset
|
70 | #include "smiley.h" |
| 11118 | 71 | #include "sound.h" |
| 72 | #include "sslconn.h" | |
| 73 | #include "status.h" | |
| 74 | #include "stringref.h" | |
|
11318
13fa1d5134f3
[gaim-migrate @ 13521]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11170
diff
changeset
|
75 | /* Ewww. perl has it's own util.h which is in the include path :( */ |
|
15437
68e19d25f4dd
Fix perl plugin compilation after libpurple rename
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
76 | #include "libpurple/util.h" |
|
23985
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
77 | #include "whiteboard.h" |
| 11118 | 78 | #include "xmlnode.h" |
| 79 | ||
| 12808 | 80 | /* account.h */ |
| 15884 | 81 | typedef PurpleAccount * Purple__Account; |
| 82 | typedef PurpleAccountOption * Purple__Account__Option; | |
| 83 | typedef PurpleAccountUserSplit * Purple__Account__UserSplit; | |
|
34575
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34567
diff
changeset
|
84 | typedef PurpleAccountPrivacyType Purple__Account__PrivacyType; |
| 11118 | 85 | |
|
34706
02cb08146888
Renamed blist.[ch] to buddylist.[ch]
Ankit Vani <a@nevitus.org>
parents:
34699
diff
changeset
|
86 | /* buddylist.h */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34858
diff
changeset
|
87 | typedef PurpleBlistNode * Purple__BuddyList__Node; |
|
34723
b496dd569514
Refactored libpurple plugins and protocols according to the blist API changes
Ankit Vani <a@nevitus.org>
parents:
34708
diff
changeset
|
88 | typedef PurpleCountingNode * Purple__BuddyList__CountingNode; |
| 15884 | 89 | typedef PurpleBuddyList * Purple__BuddyList; |
| 90 | typedef PurpleBuddy * Purple__BuddyList__Buddy; | |
| 91 | typedef PurpleChat * Purple__BuddyList__Chat; | |
| 92 | typedef PurpleContact * Purple__BuddyList__Contact; | |
| 93 | typedef PurpleGroup * Purple__BuddyList__Group; | |
| 11118 | 94 | |
| 12808 | 95 | /* buddyicon.h */ |
| 15884 | 96 | typedef PurpleBuddyIcon * Purple__Buddy__Icon; |
| 11118 | 97 | |
|
23985
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
98 | /* certificate.h */ |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
99 | typedef PurpleCertificate * Purple__Certificate; |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
100 | typedef PurpleCertificatePool * Purple__Certificate__Pool; |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
101 | typedef PurpleCertificateScheme * Purple__Certificate__Scheme; |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
102 | typedef PurpleCertificateVerifier * Purple__Certificate__Verifier; |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
103 | typedef PurpleCertificateVerificationRequest * Purple__Certificate__VerificationRequest; |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
104 | typedef PurpleCertificateVerificationStatus Purple__Certificate__VerificationStatus; |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
105 | |
| 12808 | 106 | /* cipher.h */ |
| 15884 | 107 | typedef PurpleCipher * Purple__Cipher; |
|
23982
204b6e71f403
Some Perl bindings fixes and additions from Zsombor Welker.
Daniel Atallah <datallah@pidgin.im>
parents:
23023
diff
changeset
|
108 | typedef PurpleCipherBatchMode Purple__Cipher__BatchMode; |
| 11118 | 109 | |
| 12808 | 110 | /* cmds.h */ |
| 15884 | 111 | typedef PurpleCmdFlag Purple__Cmd__Flag; |
| 112 | typedef PurpleCmdId Purple__Cmd__Id; | |
| 113 | typedef PurpleCmdPriority Purple__Cmd__Priority; | |
| 114 | typedef PurpleCmdRet Purple__Cmd__Ret; | |
| 11118 | 115 | |
| 12808 | 116 | /* connection.h */ |
| 15884 | 117 | typedef PurpleConnection * Purple__Connection; |
| 118 | typedef PurpleConnectionFlags Purple__ConnectionFlags; | |
| 119 | typedef PurpleConnectionState Purple__ConnectionState; | |
| 11118 | 120 | |
|
34605
89e6c5346d63
Begun refactoring for PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
121 | /* conversations.h */ |
|
34620
e49aa67344e1
Renamed PurpleConversationMessageFlags back to PurpleMessageFlags.
Ankit Vani <a@nevitus.org>
parents:
34607
diff
changeset
|
122 | typedef PurpleMessageFlags Purple__MessageFlags; |
|
e49aa67344e1
Renamed PurpleConversationMessageFlags back to PurpleMessageFlags.
Ankit Vani <a@nevitus.org>
parents:
34607
diff
changeset
|
123 | typedef PurpleConversation * Purple__Conversation; |
|
34605
89e6c5346d63
Begun refactoring for PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
124 | typedef PurpleConversationUpdateType Purple__Conversation__UpdateType; |
|
34620
e49aa67344e1
Renamed PurpleConversationMessageFlags back to PurpleMessageFlags.
Ankit Vani <a@nevitus.org>
parents:
34607
diff
changeset
|
125 | typedef PurpleIMConversation * Purple__IMConversation; |
|
34670
9bd5bd903dc7
Renamed chat buddies to chat users, and IM conversation typing state to IM typing state.
Ankit Vani <a@nevitus.org>
parents:
34620
diff
changeset
|
126 | typedef PurpleIMTypingState Purple__IMTypingState; |
|
34605
89e6c5346d63
Begun refactoring for PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
127 | typedef PurpleChatConversation * Purple__ChatConversation; |
|
34670
9bd5bd903dc7
Renamed chat buddies to chat users, and IM conversation typing state to IM typing state.
Ankit Vani <a@nevitus.org>
parents:
34620
diff
changeset
|
128 | typedef PurpleChatUser * Purple__ChatUser; |
|
9bd5bd903dc7
Renamed chat buddies to chat users, and IM conversation typing state to IM typing state.
Ankit Vani <a@nevitus.org>
parents:
34620
diff
changeset
|
129 | typedef PurpleChatUserFlags Purple__ChatUser__Flags; |
| 11118 | 130 | |
|
15066
57ab37fe1190
[gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents:
14779
diff
changeset
|
131 | /* core.h */ |
|
57ab37fe1190
[gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents:
14779
diff
changeset
|
132 | |
| 15884 | 133 | typedef PurpleCore * Purple__Core; |
|
15066
57ab37fe1190
[gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents:
14779
diff
changeset
|
134 | |
| 12808 | 135 | /* debug.h */ |
| 15884 | 136 | typedef PurpleDebugLevel Purple__DebugLevel; |
| 11118 | 137 | |
| 12808 | 138 | /* desktopitem.h */ |
| 15884 | 139 | typedef PurpleDesktopItem * Purple__DesktopItem; |
| 140 | typedef PurpleDesktopItemType Purple__DesktopItemType; | |
| 11118 | 141 | |
| 12808 | 142 | /* eventloop.h */ |
| 15884 | 143 | typedef PurpleInputCondition * Purple__InputCondition; |
| 11118 | 144 | |
|
34909
91be147083c6
Started GObjectification of PurpleXfer.
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
145 | /* xfer.h */ |
| 15884 | 146 | typedef PurpleXfer * Purple__Xfer; |
| 147 | typedef PurpleXferType Purple__XferType; | |
|
34909
91be147083c6
Started GObjectification of PurpleXfer.
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
148 | typedef PurpleXferStatus Purple__XferStatus; |
|
23987
3d41ccd1f8bf
Remove various opaque UiOps functions from the perl loader as they aren't useable.
Daniel Atallah <datallah@pidgin.im>
parents:
23985
diff
changeset
|
149 | |
| 11118 | 150 | |
| 15884 | 151 | #ifdef PURPLE_GTKPERL |
| 12808 | 152 | /* gtkblish.h */ |
| 15884 | 153 | typedef PurpleGtkBuddyList * Purple__GTK__BuddyList; |
| 154 | typedef PurpleStatusIconSize Purple__StatusIconSize; | |
| 11118 | 155 | |
| 12808 | 156 | /* gtkutils.h */ |
| 15884 | 157 | typedef PurpleButtonOrientation Purple__ButtonOrientation; |
| 158 | typedef PurpleButtonStyle Purple__ButtonStyle; | |
| 11139 | 159 | #ifndef _WIN32 |
| 15884 | 160 | typedef PurpleBrowserPlace Purple__BrowserPlace; |
| 11139 | 161 | #endif /* _WIN32 */ |
| 6508 | 162 | |
| 12808 | 163 | /* gtkconv.h */ |
| 15884 | 164 | typedef PurpleUnseenState Purple__UnseenState; |
| 165 | typedef PurpleGtkConversation * Purple__GTK__Conversation; | |
| 166 | typedef GdkPixbuf * Purple__GDK__Pixbuf; | |
| 167 | typedef GtkWidget * Purple__GTK__Widget; | |
| 11118 | 168 | |
| 12808 | 169 | /* gtkutils.h */ |
| 15884 | 170 | typedef GtkFileSelection * Purple__GTK__FileSelection; |
| 171 | typedef GtkSelectionData * Purple__GTK__SelectionData; | |
| 172 | typedef GtkTextView * Purple__GTK__TextView; | |
| 11118 | 173 | |
| 12808 | 174 | /* gtkconn.h */ |
| 14434 | 175 | #endif |
| 11118 | 176 | |
|
34567
ea5103f66b0e
Refactor the codebase to use PurpleHash
Ankit Vani <a@nevitus.org>
parents:
34552
diff
changeset
|
177 | /* hash.h */ |
|
ea5103f66b0e
Refactor the codebase to use PurpleHash
Ankit Vani <a@nevitus.org>
parents:
34552
diff
changeset
|
178 | typedef PurpleHash * Purple__Hash; |
|
ea5103f66b0e
Refactor the codebase to use PurpleHash
Ankit Vani <a@nevitus.org>
parents:
34552
diff
changeset
|
179 | |
| 12808 | 180 | /* imgstore.h */ |
| 15884 | 181 | typedef PurpleStoredImage * Purple__StoredImage; |
| 11118 | 182 | |
| 12808 | 183 | /* log.h */ |
| 15884 | 184 | typedef PurpleLog * Purple__Log; |
| 185 | typedef PurpleLogCommonLoggerData * Purple__LogCommonLoggerData; | |
| 186 | typedef PurpleLogLogger * Purple__Log__Logger; | |
| 187 | typedef PurpleLogReadFlags * Purple__Log__ReadFlags; | |
| 188 | typedef PurpleLogSet * Purple__LogSet; | |
| 189 | typedef PurpleLogType Purple__LogType; | |
| 11118 | 190 | |
|
12910
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12882
diff
changeset
|
191 | /* network.h */ |
| 15884 | 192 | typedef PurpleNetworkListenData * Purple__NetworkListenData; |
| 193 | typedef PurpleNetworkListenCallback Purple__NetworkListenCallback; | |
|
12910
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12882
diff
changeset
|
194 | |
| 12808 | 195 | /* notify.h */ |
| 15884 | 196 | typedef PurpleNotifyCloseCallback Purple__NotifyCloseCallback; |
| 197 | typedef PurpleNotifyMsgType Purple__NotifyMsgType; | |
| 198 | typedef PurpleNotifySearchButtonType Purple__NotifySearchButtonType; | |
| 199 | typedef PurpleNotifySearchResults * Purple__NotifySearchResults; | |
| 200 | typedef PurpleNotifySearchColumn * Purple__NotifySearchColumn; | |
| 201 | typedef PurpleNotifySearchButton * Purple__NotifySearchButton; | |
| 202 | typedef PurpleNotifyType Purple__NotifyType; | |
| 203 | typedef PurpleNotifyUserInfo * Purple__NotifyUserInfo; | |
| 204 | typedef PurpleNotifyUserInfoEntry * Purple__NotifyUserInfoEntry; | |
| 11118 | 205 | |
|
36367
891eea799578
Renamed plugin.[ch] to plugins.[ch], since we (will) no longer have a PurplePlugin structure.
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
206 | /* plugins.h */ |
| 15884 | 207 | typedef PurplePlugin * Purple__Plugin; |
| 208 | typedef PurplePluginAction * Purple__Plugin__Action; | |
| 209 | typedef PurplePluginInfo * Purple__PluginInfo; | |
| 210 | typedef PurplePluginLoaderInfo * Purple__PluginLoaderInfo; | |
| 211 | typedef PurplePluginType Purple__PluginType; | |
| 212 | typedef PurplePluginUiInfo * Purple__PluginUiInfo; | |
| 11118 | 213 | |
| 12808 | 214 | /* pluginpref.h */ |
| 15884 | 215 | typedef PurplePluginPref * Purple__PluginPref; |
| 216 | typedef PurplePluginPrefFrame * Purple__PluginPref__Frame; | |
| 217 | typedef PurplePluginPrefType Purple__PluginPrefType; | |
|
21641
a0d410a35eb8
Add purple_plugin_pref_[sg]et_format_type to the Perl API. There are a number of new functions that also need to be added, but I don't have time to do that right now. Fixes #3781.
Daniel Atallah <datallah@pidgin.im>
parents:
17859
diff
changeset
|
218 | typedef PurpleStringFormatType Purple__String__Format__Type; |
| 11118 | 219 | |
| 12808 | 220 | /* pounce.h */ |
| 15884 | 221 | typedef PurplePounce * Purple__Pounce; |
| 222 | typedef PurplePounceEvent Purple__PounceEvent; | |
| 11118 | 223 | |
| 12808 | 224 | /* prefs.h */ |
| 15884 | 225 | typedef PurplePrefType Purple__PrefType; |
| 11118 | 226 | |
| 34837 | 227 | /* presence.h */ |
| 228 | typedef PurplePresence * Purple__Presence; | |
| 229 | typedef PurpleAccountPresence * Purple__AccountPresence; | |
| 230 | typedef PurpleBuddyPresence * Purple__BuddyPresence; | |
| 231 | ||
| 12808 | 232 | /* proxy.h */ |
| 15884 | 233 | typedef PurpleProxyInfo * Purple__ProxyInfo; |
| 234 | typedef PurpleProxyType Purple__ProxyType; | |
|
6588
187c6026c574
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
235 | |
|
36543
a8c3fecee2d3
Renamed prpl.[ch] to protocol.[ch]
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
236 | /* protocol.h */ |
| 15884 | 237 | typedef PurpleBuddyIconSpec * Purple__Buddy__Icon__Spec; |
| 238 | typedef PurpleIconScaleRules Purple__IconScaleRules; | |
|
36544
1bf8b6ef5aea
Renamed PurplePluginProtocolInfo to PurpleProtocol
Ankit Vani <a@nevitus.org>
parents:
36543
diff
changeset
|
239 | typedef PurpleProtocol * Purple__PluginProtocolInfo; |
| 15884 | 240 | typedef PurpleProtocolOptions Purple__ProtocolOptions; |
| 11118 | 241 | |
| 12808 | 242 | /* request.h */ |
| 15884 | 243 | typedef PurpleRequestField * Purple__Request__Field; |
| 244 | typedef PurpleRequestFields * Purple__Request__Fields; | |
| 245 | typedef PurpleRequestFieldGroup * Purple__Request__Field__Group; | |
| 246 | typedef PurpleRequestFieldType Purple__RequestFieldType; | |
| 247 | typedef PurpleRequestType Purple__RequestType; | |
| 11118 | 248 | |
| 12808 | 249 | /* roomlist.h */ |
| 15884 | 250 | typedef PurpleRoomlist * Purple__Roomlist; |
| 251 | typedef PurpleRoomlistField * Purple__Roomlist__Field; | |
| 252 | typedef PurpleRoomlistFieldType Purple__RoomlistFieldType; | |
| 253 | typedef PurpleRoomlistRoom * Purple__Roomlist__Room; | |
| 254 | typedef PurpleRoomlistRoomType Purple__RoomlistRoomType; | |
| 11118 | 255 | |
| 12808 | 256 | /* savedstatuses.h */ |
| 15884 | 257 | typedef PurpleSavedStatus * Purple__SavedStatus; |
|
17212
29c5fc5e0cdc
Warmenhove a patch from Steven Danna to add bindings to all the savedstatus.h
Etan Reisner <deryni@pidgin.im>
parents:
16773
diff
changeset
|
258 | typedef PurpleSavedStatusSub * Purple__SavedStatus__Sub; |
| 11118 | 259 | |
|
23023
6aeeb2037709
Expose smiley API to perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21641
diff
changeset
|
260 | /* smiley.h */ |
|
6aeeb2037709
Expose smiley API to perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21641
diff
changeset
|
261 | typedef PurpleSmiley * Purple__Smiley; |
|
6aeeb2037709
Expose smiley API to perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21641
diff
changeset
|
262 | |
| 12808 | 263 | /* sound.h */ |
| 15884 | 264 | typedef PurpleSoundEventID Purple__SoundEventID; |
| 11118 | 265 | |
| 12808 | 266 | /* sslconn.h */ |
| 15884 | 267 | typedef PurpleInputCondition * Purple__Input__Condition; |
| 268 | typedef PurpleSslConnection * Purple__Ssl__Connection; | |
| 269 | typedef PurpleSslErrorType Purple__SslErrorType; | |
| 270 | typedef PurpleSslOps * Purple__Ssl__Ops; | |
| 11118 | 271 | |
| 12808 | 272 | /* status.h */ |
| 15884 | 273 | typedef PurpleStatus * Purple__Status; |
|
34858
28ac3a0418f1
Renamed PurpleStatusAttr to PurpleStatusAttribute for simplicity.
Ankit Vani <a@nevitus.org>
parents:
34852
diff
changeset
|
274 | typedef PurpleStatusAttribute * Purple__StatusAttr; |
| 15884 | 275 | typedef PurpleStatusPrimitive Purple__StatusPrimitive; |
| 276 | typedef PurpleStatusType * Purple__StatusType; | |
| 11118 | 277 | |
| 13018 | 278 | /* stringref.h */ |
| 15884 | 279 | typedef PurpleStringref * Purple__Stringref; |
| 11118 | 280 | |
| 12919 | 281 | /* util.h */ |
| 15884 | 282 | typedef PurpleInfoFieldFormatCallback Purple__Util__InfoFieldFormatCallback; |
| 283 | typedef PurpleMenuAction * Purple__Menu__Action; | |
| 12919 | 284 | |
|
23985
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
285 | /* whiteboard.h */ |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
286 | typedef PurpleWhiteboard * Purple__Whiteboard; |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
287 | |
| 12808 | 288 | /* xmlnode.h */ |
|
34935
686fa55b0deb
Replaced xmlnode with PurpleXmlNode, and xmlnode_* API with purple_xmlnode_* API
Ankit Vani <a@nevitus.org>
parents:
34909
diff
changeset
|
289 | typedef PurpleXmlNode * Purple__XMLNode; |
|
686fa55b0deb
Replaced xmlnode with PurpleXmlNode, and xmlnode_* API with purple_xmlnode_* API
Ankit Vani <a@nevitus.org>
parents:
34909
diff
changeset
|
290 | typedef PurpleXmlNodeType XMLNode__Type; |
| 11118 | 291 | |
|
14779
1b71da367f56
[gaim-migrate @ 17471]
Martijn van Beers <martijn@eekeek.org>
parents:
14434
diff
changeset
|
292 | /* other */ |
| 15884 | 293 | typedef void * Purple__Handle; |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
15066
diff
changeset
|
294 | |
|
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
15066
diff
changeset
|
295 | typedef gchar gchar_own; |
|
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
15066
diff
changeset
|
296 | |
|
16773
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15884
diff
changeset
|
297 | typedef struct _constiv { |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15884
diff
changeset
|
298 | const char *name; |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15884
diff
changeset
|
299 | IV iv; |
|
e1171eb45f07
Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <deryni@pidgin.im>
parents:
15884
diff
changeset
|
300 | } constiv; |
|
23985
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
301 |