Tue, 16 Jul 2013 23:29:58 +0530
Resolved conflicting function names
|
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 | ||
|
34575
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34567
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" | |
| 46 | #include "ft.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" | |
| 58 | #include "plugin.h" | |
| 59 | #include "pluginpref.h" | |
| 60 | #include "pounce.h" | |
| 61 | #include "prefs.h" | |
| 62 | #include "prpl.h" | |
| 63 | #include "proxy.h" | |
| 64 | #include "request.h" | |
| 65 | #include "roomlist.h" | |
| 66 | #include "savedstatuses.h" | |
|
6523
20c459e452ac
[gaim-migrate @ 7040]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
67 | #include "server.h" |
| 11118 | 68 | #include "signals.h" |
|
23023
6aeeb2037709
Expose smiley API to perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21641
diff
changeset
|
69 | #include "smiley.h" |
| 11118 | 70 | #include "sound.h" |
| 71 | #include "sslconn.h" | |
| 72 | #include "status.h" | |
| 73 | #include "stringref.h" | |
|
11318
13fa1d5134f3
[gaim-migrate @ 13521]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11170
diff
changeset
|
74 | /* 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
|
75 | #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
|
76 | #include "whiteboard.h" |
| 11118 | 77 | #include "xmlnode.h" |
| 78 | ||
| 12808 | 79 | /* account.h */ |
| 15884 | 80 | typedef PurpleAccount * Purple__Account; |
| 81 | typedef PurpleAccountOption * Purple__Account__Option; | |
| 82 | typedef PurpleAccountUserSplit * Purple__Account__UserSplit; | |
|
34575
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34567
diff
changeset
|
83 | typedef PurpleAccountPrivacyType Purple__Account__PrivacyType; |
| 11118 | 84 | |
|
34706
02cb08146888
Renamed blist.[ch] to buddylist.[ch]
Ankit Vani <a@nevitus.org>
parents:
34699
diff
changeset
|
85 | /* buddylist.h */ |
|
34699
09b2c9219b57
Renamed PurpleBlistNode to PurpleBListNode
Ankit Vani <a@nevitus.org>
parents:
34695
diff
changeset
|
86 | 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
|
87 | typedef PurpleCountingNode * Purple__BuddyList__CountingNode; |
| 15884 | 88 | typedef PurpleBuddyList * Purple__BuddyList; |
| 89 | typedef PurpleBuddy * Purple__BuddyList__Buddy; | |
| 90 | typedef PurpleChat * Purple__BuddyList__Chat; | |
| 91 | typedef PurpleContact * Purple__BuddyList__Contact; | |
| 92 | typedef PurpleGroup * Purple__BuddyList__Group; | |
| 11118 | 93 | |
| 12808 | 94 | /* buddyicon.h */ |
| 15884 | 95 | typedef PurpleBuddyIcon * Purple__Buddy__Icon; |
| 11118 | 96 | |
|
23985
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
97 | /* certificate.h */ |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
98 | typedef PurpleCertificate * Purple__Certificate; |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
99 | 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
|
100 | 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
|
101 | 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
|
102 | 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
|
103 | 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
|
104 | |
| 12808 | 105 | /* cipher.h */ |
| 15884 | 106 | typedef PurpleCipher * Purple__Cipher; |
|
23982
204b6e71f403
Some Perl bindings fixes and additions from Zsombor Welker.
Daniel Atallah <datallah@pidgin.im>
parents:
23023
diff
changeset
|
107 | typedef PurpleCipherBatchMode Purple__Cipher__BatchMode; |
| 11118 | 108 | |
| 12808 | 109 | /* cmds.h */ |
| 15884 | 110 | typedef PurpleCmdFlag Purple__Cmd__Flag; |
| 111 | typedef PurpleCmdId Purple__Cmd__Id; | |
| 112 | typedef PurpleCmdPriority Purple__Cmd__Priority; | |
| 113 | typedef PurpleCmdRet Purple__Cmd__Ret; | |
| 11118 | 114 | |
| 12808 | 115 | /* connection.h */ |
| 15884 | 116 | typedef PurpleConnection * Purple__Connection; |
| 117 | typedef PurpleConnectionFlags Purple__ConnectionFlags; | |
| 118 | typedef PurpleConnectionState Purple__ConnectionState; | |
| 11118 | 119 | |
|
34605
89e6c5346d63
Begun refactoring for PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
120 | /* conversations.h */ |
|
34620
e49aa67344e1
Renamed PurpleConversationMessageFlags back to PurpleMessageFlags.
Ankit Vani <a@nevitus.org>
parents:
34607
diff
changeset
|
121 | typedef PurpleMessageFlags Purple__MessageFlags; |
|
e49aa67344e1
Renamed PurpleConversationMessageFlags back to PurpleMessageFlags.
Ankit Vani <a@nevitus.org>
parents:
34607
diff
changeset
|
122 | typedef PurpleConversation * Purple__Conversation; |
|
34605
89e6c5346d63
Begun refactoring for PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
123 | typedef PurpleConversationUpdateType Purple__Conversation__UpdateType; |
|
34620
e49aa67344e1
Renamed PurpleConversationMessageFlags back to PurpleMessageFlags.
Ankit Vani <a@nevitus.org>
parents:
34607
diff
changeset
|
124 | 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
|
125 | typedef PurpleIMTypingState Purple__IMTypingState; |
|
34605
89e6c5346d63
Begun refactoring for PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
126 | 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
|
127 | 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
|
128 | typedef PurpleChatUserFlags Purple__ChatUser__Flags; |
| 11118 | 129 | |
|
15066
57ab37fe1190
[gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents:
14779
diff
changeset
|
130 | /* core.h */ |
|
57ab37fe1190
[gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents:
14779
diff
changeset
|
131 | |
| 15884 | 132 | typedef PurpleCore * Purple__Core; |
|
15066
57ab37fe1190
[gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents:
14779
diff
changeset
|
133 | |
| 12808 | 134 | /* debug.h */ |
| 15884 | 135 | typedef PurpleDebugLevel Purple__DebugLevel; |
| 11118 | 136 | |
| 12808 | 137 | /* desktopitem.h */ |
| 15884 | 138 | typedef PurpleDesktopItem * Purple__DesktopItem; |
| 139 | typedef PurpleDesktopItemType Purple__DesktopItemType; | |
| 11118 | 140 | |
| 12808 | 141 | /* eventloop.h */ |
| 15884 | 142 | typedef PurpleInputCondition * Purple__InputCondition; |
| 11118 | 143 | |
| 12808 | 144 | /* ft.h */ |
| 15884 | 145 | typedef PurpleXfer * Purple__Xfer; |
| 146 | typedef PurpleXferType Purple__XferType; | |
| 147 | typedef PurpleXferStatusType Purple__XferStatusType; | |
|
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
|
148 | |
| 11118 | 149 | |
| 15884 | 150 | #ifdef PURPLE_GTKPERL |
| 12808 | 151 | /* gtkblish.h */ |
| 15884 | 152 | typedef PurpleGtkBuddyList * Purple__GTK__BuddyList; |
| 153 | typedef PurpleStatusIconSize Purple__StatusIconSize; | |
| 11118 | 154 | |
| 12808 | 155 | /* gtkutils.h */ |
| 15884 | 156 | typedef PurpleButtonOrientation Purple__ButtonOrientation; |
| 157 | typedef PurpleButtonStyle Purple__ButtonStyle; | |
| 11139 | 158 | #ifndef _WIN32 |
| 15884 | 159 | typedef PurpleBrowserPlace Purple__BrowserPlace; |
| 11139 | 160 | #endif /* _WIN32 */ |
| 6508 | 161 | |
| 12808 | 162 | /* gtkconv.h */ |
| 15884 | 163 | typedef PurpleUnseenState Purple__UnseenState; |
| 164 | typedef PurpleGtkConversation * Purple__GTK__Conversation; | |
| 165 | typedef GdkPixbuf * Purple__GDK__Pixbuf; | |
| 166 | typedef GtkWidget * Purple__GTK__Widget; | |
| 11118 | 167 | |
| 12808 | 168 | /* gtkutils.h */ |
| 15884 | 169 | typedef GtkFileSelection * Purple__GTK__FileSelection; |
| 170 | typedef GtkSelectionData * Purple__GTK__SelectionData; | |
| 171 | typedef GtkTextView * Purple__GTK__TextView; | |
| 11118 | 172 | |
| 12808 | 173 | /* gtkconn.h */ |
| 14434 | 174 | #endif |
| 11118 | 175 | |
|
34567
ea5103f66b0e
Refactor the codebase to use PurpleHash
Ankit Vani <a@nevitus.org>
parents:
34552
diff
changeset
|
176 | /* hash.h */ |
|
ea5103f66b0e
Refactor the codebase to use PurpleHash
Ankit Vani <a@nevitus.org>
parents:
34552
diff
changeset
|
177 | typedef PurpleHash * Purple__Hash; |
|
ea5103f66b0e
Refactor the codebase to use PurpleHash
Ankit Vani <a@nevitus.org>
parents:
34552
diff
changeset
|
178 | |
| 12808 | 179 | /* imgstore.h */ |
| 15884 | 180 | typedef PurpleStoredImage * Purple__StoredImage; |
| 11118 | 181 | |
| 12808 | 182 | /* log.h */ |
| 15884 | 183 | typedef PurpleLog * Purple__Log; |
| 184 | typedef PurpleLogCommonLoggerData * Purple__LogCommonLoggerData; | |
| 185 | typedef PurpleLogLogger * Purple__Log__Logger; | |
| 186 | typedef PurpleLogReadFlags * Purple__Log__ReadFlags; | |
| 187 | typedef PurpleLogSet * Purple__LogSet; | |
| 188 | typedef PurpleLogType Purple__LogType; | |
| 11118 | 189 | |
|
12910
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12882
diff
changeset
|
190 | /* network.h */ |
| 15884 | 191 | typedef PurpleNetworkListenData * Purple__NetworkListenData; |
| 192 | typedef PurpleNetworkListenCallback Purple__NetworkListenCallback; | |
|
12910
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12882
diff
changeset
|
193 | |
| 12808 | 194 | /* notify.h */ |
| 15884 | 195 | typedef PurpleNotifyCloseCallback Purple__NotifyCloseCallback; |
| 196 | typedef PurpleNotifyMsgType Purple__NotifyMsgType; | |
| 197 | typedef PurpleNotifySearchButtonType Purple__NotifySearchButtonType; | |
| 198 | typedef PurpleNotifySearchResults * Purple__NotifySearchResults; | |
| 199 | typedef PurpleNotifySearchColumn * Purple__NotifySearchColumn; | |
| 200 | typedef PurpleNotifySearchButton * Purple__NotifySearchButton; | |
| 201 | typedef PurpleNotifyType Purple__NotifyType; | |
| 202 | typedef PurpleNotifyUserInfo * Purple__NotifyUserInfo; | |
| 203 | typedef PurpleNotifyUserInfoEntry * Purple__NotifyUserInfoEntry; | |
| 11118 | 204 | |
| 12808 | 205 | /* plugin.h */ |
| 15884 | 206 | typedef PurplePlugin * Purple__Plugin; |
| 207 | typedef PurplePluginAction * Purple__Plugin__Action; | |
| 208 | typedef PurplePluginInfo * Purple__PluginInfo; | |
| 209 | typedef PurplePluginLoaderInfo * Purple__PluginLoaderInfo; | |
| 210 | typedef PurplePluginType Purple__PluginType; | |
| 211 | typedef PurplePluginUiInfo * Purple__PluginUiInfo; | |
| 11118 | 212 | |
| 12808 | 213 | /* pluginpref.h */ |
| 15884 | 214 | typedef PurplePluginPref * Purple__PluginPref; |
| 215 | typedef PurplePluginPrefFrame * Purple__PluginPref__Frame; | |
| 216 | 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
|
217 | typedef PurpleStringFormatType Purple__String__Format__Type; |
| 11118 | 218 | |
| 12808 | 219 | /* pounce.h */ |
| 15884 | 220 | typedef PurplePounce * Purple__Pounce; |
| 221 | typedef PurplePounceEvent Purple__PounceEvent; | |
| 11118 | 222 | |
| 12808 | 223 | /* prefs.h */ |
| 15884 | 224 | typedef PurplePrefType Purple__PrefType; |
| 11118 | 225 | |
| 12808 | 226 | /* proxy.h */ |
| 15884 | 227 | typedef PurpleProxyInfo * Purple__ProxyInfo; |
| 228 | typedef PurpleProxyType Purple__ProxyType; | |
|
6588
187c6026c574
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
229 | |
| 12808 | 230 | /* prpl.h */ |
| 15884 | 231 | typedef PurpleBuddyIconSpec * Purple__Buddy__Icon__Spec; |
| 232 | typedef PurpleIconScaleRules Purple__IconScaleRules; | |
| 233 | typedef PurplePluginProtocolInfo * Purple__PluginProtocolInfo; | |
| 234 | typedef PurpleProtocolOptions Purple__ProtocolOptions; | |
| 11118 | 235 | |
| 12808 | 236 | /* request.h */ |
| 15884 | 237 | typedef PurpleRequestField * Purple__Request__Field; |
| 238 | typedef PurpleRequestFields * Purple__Request__Fields; | |
| 239 | typedef PurpleRequestFieldGroup * Purple__Request__Field__Group; | |
| 240 | typedef PurpleRequestFieldType Purple__RequestFieldType; | |
| 241 | typedef PurpleRequestType Purple__RequestType; | |
| 11118 | 242 | |
| 12808 | 243 | /* roomlist.h */ |
| 15884 | 244 | typedef PurpleRoomlist * Purple__Roomlist; |
| 245 | typedef PurpleRoomlistField * Purple__Roomlist__Field; | |
| 246 | typedef PurpleRoomlistFieldType Purple__RoomlistFieldType; | |
| 247 | typedef PurpleRoomlistRoom * Purple__Roomlist__Room; | |
| 248 | typedef PurpleRoomlistRoomType Purple__RoomlistRoomType; | |
| 11118 | 249 | |
| 12808 | 250 | /* savedstatuses.h */ |
| 15884 | 251 | 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
|
252 | typedef PurpleSavedStatusSub * Purple__SavedStatus__Sub; |
| 11118 | 253 | |
|
23023
6aeeb2037709
Expose smiley API to perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21641
diff
changeset
|
254 | /* smiley.h */ |
|
6aeeb2037709
Expose smiley API to perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21641
diff
changeset
|
255 | typedef PurpleSmiley * Purple__Smiley; |
|
6aeeb2037709
Expose smiley API to perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21641
diff
changeset
|
256 | |
| 12808 | 257 | /* sound.h */ |
| 15884 | 258 | typedef PurpleSoundEventID Purple__SoundEventID; |
| 11118 | 259 | |
| 12808 | 260 | /* sslconn.h */ |
| 15884 | 261 | typedef PurpleInputCondition * Purple__Input__Condition; |
| 262 | typedef PurpleSslConnection * Purple__Ssl__Connection; | |
| 263 | typedef PurpleSslErrorType Purple__SslErrorType; | |
| 264 | typedef PurpleSslOps * Purple__Ssl__Ops; | |
| 11118 | 265 | |
| 12808 | 266 | /* status.h */ |
| 15884 | 267 | typedef PurplePresence * Purple__Presence; |
| 268 | typedef PurplePresenceContext Purple__PresenceContext; | |
| 269 | typedef PurpleStatus * Purple__Status; | |
| 270 | typedef PurpleStatusAttr * Purple__StatusAttr; | |
| 271 | typedef PurpleStatusPrimitive Purple__StatusPrimitive; | |
| 272 | typedef PurpleStatusType * Purple__StatusType; | |
| 11118 | 273 | |
| 13018 | 274 | /* stringref.h */ |
| 15884 | 275 | typedef PurpleStringref * Purple__Stringref; |
| 11118 | 276 | |
| 12919 | 277 | /* util.h */ |
| 15884 | 278 | typedef PurpleInfoFieldFormatCallback Purple__Util__InfoFieldFormatCallback; |
| 279 | typedef PurpleMenuAction * Purple__Menu__Action; | |
| 12919 | 280 | |
|
23985
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
281 | /* whiteboard.h */ |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
282 | typedef PurpleWhiteboard * Purple__Whiteboard; |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
283 | |
| 12808 | 284 | /* xmlnode.h */ |
| 15884 | 285 | typedef xmlnode * Purple__XMLNode; |
| 12808 | 286 | typedef XMLNodeType XMLNode__Type; |
| 11118 | 287 | |
|
14779
1b71da367f56
[gaim-migrate @ 17471]
Martijn van Beers <martijn@eekeek.org>
parents:
14434
diff
changeset
|
288 | /* other */ |
| 15884 | 289 | typedef void * Purple__Handle; |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
15066
diff
changeset
|
290 | |
|
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
15066
diff
changeset
|
291 | typedef gchar gchar_own; |
|
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
15066
diff
changeset
|
292 | |
|
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
|
293 | 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
|
294 | 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
|
295 | 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
|
296 | } constiv; |
|
23985
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
297 |