Tue, 11 Feb 2014 23:47:33 +0530
Merged default branch
|
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. */ |
|
35515
c220c49cf866
Fix perl warnings
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35026
diff
changeset
|
3 | /* Re-enable this after 3.0.0 release. |
|
c220c49cf866
Fix perl warnings
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35026
diff
changeset
|
4 | #undef PURPLE_DISABLE_DEPRECATED |
|
c220c49cf866
Fix perl warnings
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35026
diff
changeset
|
5 | */ |
| 11118 | 6 | |
| 15884 | 7 | typedef struct group *Purple__Group; |
| 6508 | 8 | |
| 9 | #define group perl_group | |
| 10 | ||
|
6816
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
11 | #include <glib.h> |
|
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
12 | #ifdef _WIN32 |
|
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
13 | #undef pipe |
|
29792
ad7890a74433
Some undefs to make building with mingw-64 more pleasant
Daniel Atallah <datallah@pidgin.im>
parents:
24569
diff
changeset
|
14 | #undef STRINGIFY |
|
6816
b14a3043ed09
[gaim-migrate @ 7356]
Herman Bloggs <herman@bluedigits.com>
parents:
6699
diff
changeset
|
15 | #endif |
|
35515
c220c49cf866
Fix perl warnings
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35026
diff
changeset
|
16 | |
|
c220c49cf866
Fix perl warnings
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35026
diff
changeset
|
17 | #define SILENT_NO_TAINT_SUPPORT 0 |
|
c220c49cf866
Fix perl warnings
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35026
diff
changeset
|
18 | #define NO_TAINT_SUPPORT 0 |
|
c220c49cf866
Fix perl warnings
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35026
diff
changeset
|
19 | |
| 6508 | 20 | #include <EXTERN.h> |
| 21 | #include <perl.h> | |
| 22 | #include <XSUB.h> | |
| 23 | ||
| 24 | #undef group | |
| 25 | ||
| 26 | #include "../perl-common.h" | |
| 27 | ||
|
34575
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34567
diff
changeset
|
28 | #include "accounts.h" |
| 11118 | 29 | #include "accountopt.h" |
|
34706
02cb08146888
Renamed blist.[ch] to buddylist.[ch]
Ankit Vani <a@nevitus.org>
parents:
34699
diff
changeset
|
30 | #include "buddylist.h" |
| 11118 | 31 | #include "buddyicon.h" |
|
23985
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
32 | #include "certificate.h" |
| 11118 | 33 | #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
|
34 | #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
|
35 | #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
|
36 | #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
|
37 | #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
|
38 | #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
|
39 | #include "ciphers/rc4cipher.h" |
|
d6983411079e
Added cipher includes, and hash argument to _new() of PurpleHMACCipher and PurplePBKDF2Cipher
Ankit Vani <a@nevitus.org>
parents:
34605
diff
changeset
|
40 | #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
|
41 | #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
|
42 | #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
|
43 | #include "ciphers/sha256hash.h" |
| 11118 | 44 | #include "cmds.h" |
| 6508 | 45 | #include "connection.h" |
|
34605
89e6c5346d63
Begun refactoring for PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
46 | #include "conversations.h" |
|
15066
57ab37fe1190
[gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents:
14779
diff
changeset
|
47 | #include "core.h" |
| 6508 | 48 | #include "debug.h" |
| 11118 | 49 | #include "desktopitem.h" |
| 50 | #include "eventloop.h" | |
|
34909
91be147083c6
Started GObjectification of PurpleXfer.
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
51 | #include "xfer.h" |
| 15884 | 52 | #ifdef PURPLE_GTKPERL |
| 11118 | 53 | #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
|
54 | #include "gtkblist.h" |
| 11118 | 55 | #include "gtkconn.h" |
| 56 | #include "gtkconv.h" | |
| 57 | #include "gtkutils.h" | |
| 14434 | 58 | #endif |
|
23985
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
59 | #include "idle.h" |
| 11118 | 60 | #include "imgstore.h" |
| 61 | #include "network.h" | |
| 62 | #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
|
63 | #include "plugins.h" |
| 11118 | 64 | #include "pluginpref.h" |
| 65 | #include "pounce.h" | |
| 66 | #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
|
67 | #include "presence.h" |
|
36543
a8c3fecee2d3
Renamed prpl.[ch] to protocol.[ch]
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
68 | #include "protocol.h" |
| 11118 | 69 | #include "proxy.h" |
| 70 | #include "request.h" | |
| 71 | #include "roomlist.h" | |
| 72 | #include "savedstatuses.h" | |
|
6523
20c459e452ac
[gaim-migrate @ 7040]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
73 | #include "server.h" |
| 11118 | 74 | #include "signals.h" |
|
23023
6aeeb2037709
Expose smiley API to perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21641
diff
changeset
|
75 | #include "smiley.h" |
| 11118 | 76 | #include "sound.h" |
| 77 | #include "sslconn.h" | |
| 78 | #include "status.h" | |
| 79 | #include "stringref.h" | |
|
11318
13fa1d5134f3
[gaim-migrate @ 13521]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11170
diff
changeset
|
80 | /* 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
|
81 | #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
|
82 | #include "whiteboard.h" |
| 11118 | 83 | #include "xmlnode.h" |
| 84 | ||
| 12808 | 85 | /* account.h */ |
| 15884 | 86 | typedef PurpleAccount * Purple__Account; |
| 87 | typedef PurpleAccountOption * Purple__Account__Option; | |
| 88 | typedef PurpleAccountUserSplit * Purple__Account__UserSplit; | |
|
34575
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
34567
diff
changeset
|
89 | typedef PurpleAccountPrivacyType Purple__Account__PrivacyType; |
| 11118 | 90 | |
|
34706
02cb08146888
Renamed blist.[ch] to buddylist.[ch]
Ankit Vani <a@nevitus.org>
parents:
34699
diff
changeset
|
91 | /* buddylist.h */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34858
diff
changeset
|
92 | 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
|
93 | typedef PurpleCountingNode * Purple__BuddyList__CountingNode; |
| 15884 | 94 | typedef PurpleBuddyList * Purple__BuddyList; |
| 95 | typedef PurpleBuddy * Purple__BuddyList__Buddy; | |
| 96 | typedef PurpleChat * Purple__BuddyList__Chat; | |
| 97 | typedef PurpleContact * Purple__BuddyList__Contact; | |
| 98 | typedef PurpleGroup * Purple__BuddyList__Group; | |
| 11118 | 99 | |
| 12808 | 100 | /* buddyicon.h */ |
| 15884 | 101 | typedef PurpleBuddyIcon * Purple__Buddy__Icon; |
| 11118 | 102 | |
|
23985
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
103 | /* certificate.h */ |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
104 | typedef PurpleCertificate * Purple__Certificate; |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
105 | 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
|
106 | 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
|
107 | 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
|
108 | 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
|
109 | 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
|
110 | |
| 12808 | 111 | /* cipher.h */ |
| 15884 | 112 | typedef PurpleCipher * Purple__Cipher; |
|
35026
fde23518e1e5
Moved PurpleHash to cipher.[ch]
Ankit Vani <a@nevitus.org>
parents:
34935
diff
changeset
|
113 | typedef PurpleHash * Purple__Hash; |
|
23982
204b6e71f403
Some Perl bindings fixes and additions from Zsombor Welker.
Daniel Atallah <datallah@pidgin.im>
parents:
23023
diff
changeset
|
114 | typedef PurpleCipherBatchMode Purple__Cipher__BatchMode; |
| 11118 | 115 | |
| 12808 | 116 | /* cmds.h */ |
| 15884 | 117 | typedef PurpleCmdFlag Purple__Cmd__Flag; |
| 118 | typedef PurpleCmdId Purple__Cmd__Id; | |
| 119 | typedef PurpleCmdPriority Purple__Cmd__Priority; | |
| 120 | typedef PurpleCmdRet Purple__Cmd__Ret; | |
| 11118 | 121 | |
| 12808 | 122 | /* connection.h */ |
| 15884 | 123 | typedef PurpleConnection * Purple__Connection; |
| 124 | typedef PurpleConnectionFlags Purple__ConnectionFlags; | |
| 125 | typedef PurpleConnectionState Purple__ConnectionState; | |
| 11118 | 126 | |
|
34605
89e6c5346d63
Begun refactoring for PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
127 | /* conversations.h */ |
|
34620
e49aa67344e1
Renamed PurpleConversationMessageFlags back to PurpleMessageFlags.
Ankit Vani <a@nevitus.org>
parents:
34607
diff
changeset
|
128 | typedef PurpleMessageFlags Purple__MessageFlags; |
|
e49aa67344e1
Renamed PurpleConversationMessageFlags back to PurpleMessageFlags.
Ankit Vani <a@nevitus.org>
parents:
34607
diff
changeset
|
129 | typedef PurpleConversation * Purple__Conversation; |
|
34605
89e6c5346d63
Begun refactoring for PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
130 | typedef PurpleConversationUpdateType Purple__Conversation__UpdateType; |
|
34620
e49aa67344e1
Renamed PurpleConversationMessageFlags back to PurpleMessageFlags.
Ankit Vani <a@nevitus.org>
parents:
34607
diff
changeset
|
131 | 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
|
132 | typedef PurpleIMTypingState Purple__IMTypingState; |
|
34605
89e6c5346d63
Begun refactoring for PurpleConversation
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
133 | 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
|
134 | 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
|
135 | typedef PurpleChatUserFlags Purple__ChatUser__Flags; |
| 11118 | 136 | |
|
15066
57ab37fe1190
[gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents:
14779
diff
changeset
|
137 | /* core.h */ |
|
57ab37fe1190
[gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents:
14779
diff
changeset
|
138 | |
| 15884 | 139 | typedef PurpleCore * Purple__Core; |
|
15066
57ab37fe1190
[gaim-migrate @ 17784]
Richard Laager <rlaager@pidgin.im>
parents:
14779
diff
changeset
|
140 | |
| 12808 | 141 | /* debug.h */ |
| 15884 | 142 | typedef PurpleDebugLevel Purple__DebugLevel; |
| 11118 | 143 | |
| 12808 | 144 | /* desktopitem.h */ |
| 15884 | 145 | typedef PurpleDesktopItem * Purple__DesktopItem; |
| 146 | typedef PurpleDesktopItemType Purple__DesktopItemType; | |
| 11118 | 147 | |
| 12808 | 148 | /* eventloop.h */ |
| 15884 | 149 | typedef PurpleInputCondition * Purple__InputCondition; |
| 11118 | 150 | |
|
34909
91be147083c6
Started GObjectification of PurpleXfer.
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
151 | /* xfer.h */ |
| 15884 | 152 | typedef PurpleXfer * Purple__Xfer; |
| 153 | typedef PurpleXferType Purple__XferType; | |
|
34909
91be147083c6
Started GObjectification of PurpleXfer.
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
154 | 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
|
155 | |
| 11118 | 156 | |
| 15884 | 157 | #ifdef PURPLE_GTKPERL |
| 12808 | 158 | /* gtkblish.h */ |
| 15884 | 159 | typedef PurpleGtkBuddyList * Purple__GTK__BuddyList; |
| 160 | typedef PurpleStatusIconSize Purple__StatusIconSize; | |
| 11118 | 161 | |
| 12808 | 162 | /* gtkutils.h */ |
| 15884 | 163 | typedef PurpleButtonOrientation Purple__ButtonOrientation; |
| 164 | typedef PurpleButtonStyle Purple__ButtonStyle; | |
| 11139 | 165 | #ifndef _WIN32 |
| 15884 | 166 | typedef PurpleBrowserPlace Purple__BrowserPlace; |
| 11139 | 167 | #endif /* _WIN32 */ |
| 6508 | 168 | |
| 12808 | 169 | /* gtkconv.h */ |
| 15884 | 170 | typedef PurpleUnseenState Purple__UnseenState; |
| 171 | typedef PurpleGtkConversation * Purple__GTK__Conversation; | |
| 172 | typedef GdkPixbuf * Purple__GDK__Pixbuf; | |
| 173 | typedef GtkWidget * Purple__GTK__Widget; | |
| 11118 | 174 | |
| 12808 | 175 | /* gtkutils.h */ |
| 15884 | 176 | typedef GtkFileSelection * Purple__GTK__FileSelection; |
| 177 | typedef GtkSelectionData * Purple__GTK__SelectionData; | |
| 178 | typedef GtkTextView * Purple__GTK__TextView; | |
| 11118 | 179 | |
| 12808 | 180 | /* gtkconn.h */ |
| 14434 | 181 | #endif |
| 11118 | 182 | |
| 12808 | 183 | /* imgstore.h */ |
| 15884 | 184 | typedef PurpleStoredImage * Purple__StoredImage; |
| 11118 | 185 | |
| 12808 | 186 | /* log.h */ |
| 15884 | 187 | typedef PurpleLog * Purple__Log; |
| 188 | typedef PurpleLogCommonLoggerData * Purple__LogCommonLoggerData; | |
| 189 | typedef PurpleLogLogger * Purple__Log__Logger; | |
| 190 | typedef PurpleLogReadFlags * Purple__Log__ReadFlags; | |
| 191 | typedef PurpleLogSet * Purple__LogSet; | |
| 192 | typedef PurpleLogType Purple__LogType; | |
| 11118 | 193 | |
|
12910
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12882
diff
changeset
|
194 | /* network.h */ |
| 15884 | 195 | typedef PurpleNetworkListenData * Purple__NetworkListenData; |
| 196 | typedef PurpleNetworkListenCallback Purple__NetworkListenCallback; | |
|
12910
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12882
diff
changeset
|
197 | |
| 12808 | 198 | /* notify.h */ |
| 15884 | 199 | typedef PurpleNotifyCloseCallback Purple__NotifyCloseCallback; |
| 200 | typedef PurpleNotifyMsgType Purple__NotifyMsgType; | |
| 201 | typedef PurpleNotifySearchButtonType Purple__NotifySearchButtonType; | |
| 202 | typedef PurpleNotifySearchResults * Purple__NotifySearchResults; | |
| 203 | typedef PurpleNotifySearchColumn * Purple__NotifySearchColumn; | |
| 204 | typedef PurpleNotifySearchButton * Purple__NotifySearchButton; | |
| 205 | typedef PurpleNotifyType Purple__NotifyType; | |
| 206 | typedef PurpleNotifyUserInfo * Purple__NotifyUserInfo; | |
| 207 | typedef PurpleNotifyUserInfoEntry * Purple__NotifyUserInfoEntry; | |
| 11118 | 208 | |
|
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
|
209 | /* plugins.h */ |
| 15884 | 210 | typedef PurplePlugin * Purple__Plugin; |
| 211 | typedef PurplePluginAction * Purple__Plugin__Action; | |
| 212 | typedef PurplePluginInfo * Purple__PluginInfo; | |
| 213 | typedef PurplePluginLoaderInfo * Purple__PluginLoaderInfo; | |
| 214 | typedef PurplePluginType Purple__PluginType; | |
| 215 | typedef PurplePluginUiInfo * Purple__PluginUiInfo; | |
| 11118 | 216 | |
| 12808 | 217 | /* pluginpref.h */ |
| 15884 | 218 | typedef PurplePluginPref * Purple__PluginPref; |
| 219 | typedef PurplePluginPrefFrame * Purple__PluginPref__Frame; | |
| 220 | 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
|
221 | typedef PurpleStringFormatType Purple__String__Format__Type; |
| 11118 | 222 | |
| 12808 | 223 | /* pounce.h */ |
| 15884 | 224 | typedef PurplePounce * Purple__Pounce; |
| 225 | typedef PurplePounceEvent Purple__PounceEvent; | |
| 11118 | 226 | |
| 12808 | 227 | /* prefs.h */ |
| 15884 | 228 | typedef PurplePrefType Purple__PrefType; |
| 11118 | 229 | |
| 34837 | 230 | /* presence.h */ |
| 231 | typedef PurplePresence * Purple__Presence; | |
| 232 | typedef PurpleAccountPresence * Purple__AccountPresence; | |
| 233 | typedef PurpleBuddyPresence * Purple__BuddyPresence; | |
| 234 | ||
| 12808 | 235 | /* proxy.h */ |
| 15884 | 236 | typedef PurpleProxyInfo * Purple__ProxyInfo; |
| 237 | typedef PurpleProxyType Purple__ProxyType; | |
|
6588
187c6026c574
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
238 | |
|
36543
a8c3fecee2d3
Renamed prpl.[ch] to protocol.[ch]
Ankit Vani <a@nevitus.org>
parents:
36367
diff
changeset
|
239 | /* protocol.h */ |
| 15884 | 240 | typedef PurpleBuddyIconSpec * Purple__Buddy__Icon__Spec; |
| 241 | typedef PurpleIconScaleRules Purple__IconScaleRules; | |
|
36544
1bf8b6ef5aea
Renamed PurplePluginProtocolInfo to PurpleProtocol
Ankit Vani <a@nevitus.org>
parents:
36543
diff
changeset
|
242 | typedef PurpleProtocol * Purple__PluginProtocolInfo; |
| 15884 | 243 | typedef PurpleProtocolOptions Purple__ProtocolOptions; |
| 11118 | 244 | |
| 12808 | 245 | /* request.h */ |
| 15884 | 246 | typedef PurpleRequestField * Purple__Request__Field; |
| 247 | typedef PurpleRequestFields * Purple__Request__Fields; | |
| 248 | typedef PurpleRequestFieldGroup * Purple__Request__Field__Group; | |
| 249 | typedef PurpleRequestFieldType Purple__RequestFieldType; | |
| 250 | typedef PurpleRequestType Purple__RequestType; | |
| 11118 | 251 | |
| 12808 | 252 | /* roomlist.h */ |
| 15884 | 253 | typedef PurpleRoomlist * Purple__Roomlist; |
| 254 | typedef PurpleRoomlistField * Purple__Roomlist__Field; | |
| 255 | typedef PurpleRoomlistFieldType Purple__RoomlistFieldType; | |
| 256 | typedef PurpleRoomlistRoom * Purple__Roomlist__Room; | |
| 257 | typedef PurpleRoomlistRoomType Purple__RoomlistRoomType; | |
| 11118 | 258 | |
| 12808 | 259 | /* savedstatuses.h */ |
| 15884 | 260 | 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
|
261 | typedef PurpleSavedStatusSub * Purple__SavedStatus__Sub; |
| 11118 | 262 | |
|
23023
6aeeb2037709
Expose smiley API to perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21641
diff
changeset
|
263 | /* smiley.h */ |
|
6aeeb2037709
Expose smiley API to perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21641
diff
changeset
|
264 | typedef PurpleSmiley * Purple__Smiley; |
|
6aeeb2037709
Expose smiley API to perl plugins.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
21641
diff
changeset
|
265 | |
| 12808 | 266 | /* sound.h */ |
| 15884 | 267 | typedef PurpleSoundEventID Purple__SoundEventID; |
| 11118 | 268 | |
| 12808 | 269 | /* sslconn.h */ |
| 15884 | 270 | typedef PurpleInputCondition * Purple__Input__Condition; |
| 271 | typedef PurpleSslConnection * Purple__Ssl__Connection; | |
| 272 | typedef PurpleSslErrorType Purple__SslErrorType; | |
| 273 | typedef PurpleSslOps * Purple__Ssl__Ops; | |
| 11118 | 274 | |
| 12808 | 275 | /* status.h */ |
| 15884 | 276 | typedef PurpleStatus * Purple__Status; |
|
34858
28ac3a0418f1
Renamed PurpleStatusAttr to PurpleStatusAttribute for simplicity.
Ankit Vani <a@nevitus.org>
parents:
34852
diff
changeset
|
277 | typedef PurpleStatusAttribute * Purple__StatusAttr; |
| 15884 | 278 | typedef PurpleStatusPrimitive Purple__StatusPrimitive; |
| 279 | typedef PurpleStatusType * Purple__StatusType; | |
| 11118 | 280 | |
| 13018 | 281 | /* stringref.h */ |
| 15884 | 282 | typedef PurpleStringref * Purple__Stringref; |
| 11118 | 283 | |
| 12919 | 284 | /* util.h */ |
| 15884 | 285 | typedef PurpleInfoFieldFormatCallback Purple__Util__InfoFieldFormatCallback; |
| 286 | typedef PurpleMenuAction * Purple__Menu__Action; | |
| 12919 | 287 | |
|
23985
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
288 | /* whiteboard.h */ |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
289 | typedef PurpleWhiteboard * Purple__Whiteboard; |
|
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
290 | |
| 12808 | 291 | /* xmlnode.h */ |
|
34935
686fa55b0deb
Replaced xmlnode with PurpleXmlNode, and xmlnode_* API with purple_xmlnode_* API
Ankit Vani <a@nevitus.org>
parents:
34909
diff
changeset
|
292 | 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
|
293 | typedef PurpleXmlNodeType XMLNode__Type; |
| 11118 | 294 | |
|
14779
1b71da367f56
[gaim-migrate @ 17471]
Martijn van Beers <martijn@eekeek.org>
parents:
14434
diff
changeset
|
295 | /* other */ |
| 15884 | 296 | typedef void * Purple__Handle; |
|
15165
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
15066
diff
changeset
|
297 | |
|
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
15066
diff
changeset
|
298 | typedef gchar gchar_own; |
|
0ff631dfbbca
[gaim-migrate @ 17889]
Daniel Atallah <datallah@pidgin.im>
parents:
15066
diff
changeset
|
299 | |
|
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
|
300 | 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
|
301 | 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
|
302 | 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
|
303 | } constiv; |
|
23985
a8c308734700
Another Perl patch from Zsombor Welker to add more functions.
Daniel Atallah <datallah@pidgin.im>
parents:
23982
diff
changeset
|
304 |