Mercurial > pidgin
comparison plugins/perl/common/module.h @ 11118:134d0001983d
[gaim-migrate @ 13174]
Some new xsubs for the perl interpreter and a work around to get it all working again.
committer: Tailor Script <tailor@pidgin.im>
author | John H. Kelm <johnkelm@gmail.com> |
---|---|
date | Mon, 18 Jul 2005 13:37:38 +0000 |
parents | bf630f7dfdcd |
children | 3f3bc7f1b6bf |
comparison
equal
deleted
inserted
replaced
11117:5a8bc4b1f5b6 | 11118:134d0001983d |
---|---|
1 | |
2 | |
1 typedef struct group *Gaim__Group; | 3 typedef struct group *Gaim__Group; |
2 | 4 |
3 #define group perl_group | 5 #define group perl_group |
4 | 6 |
5 #include <glib.h> | 7 #include <glib.h> |
7 #undef pipe | 9 #undef pipe |
8 #endif | 10 #endif |
9 #include <EXTERN.h> | 11 #include <EXTERN.h> |
10 #include <perl.h> | 12 #include <perl.h> |
11 #include <XSUB.h> | 13 #include <XSUB.h> |
14 #include <embedvar.h> | |
12 | 15 |
13 #undef group | 16 #undef group |
14 | 17 |
15 #include "../perl-common.h" | 18 #include "../perl-common.h" |
16 | 19 |
17 #include "account.h" | 20 #include "account.h" |
21 #include "accountopt.h" | |
22 #include "blist.h" | |
23 #include "buddyicon.h" | |
24 #include "cipher.h" | |
25 #include "cmds.h" | |
18 #include "connection.h" | 26 #include "connection.h" |
19 #include "conversation.h" | 27 #include "conversation.h" |
20 #include "debug.h" | 28 #include "debug.h" |
29 #include "desktopitem.h" | |
30 #include "eventloop.h" | |
31 #include "ft.h" | |
32 #include "gtkaccount.h" | |
33 #include "gtkblist.h" | |
34 #include "gtkconn.h" | |
35 #include "gtkconv.h" | |
36 #include "gtkutils.h" | |
37 #include "imgstore.h" | |
38 #include "network.h" | |
39 #include "notify.h" | |
40 #include "plugin.h" | |
41 #include "pluginpref.h" | |
42 #include "pounce.h" | |
43 #include "prefs.h" | |
44 #include "privacy.h" | |
45 #include "prpl.h" | |
46 #include "proxy.h" | |
47 #include "request.h" | |
48 #include "roomlist.h" | |
49 #include "savedstatuses.h" | |
21 #include "server.h" | 50 #include "server.h" |
22 | 51 #include "signals.h" |
23 typedef GaimAccount * Gaim__Account; | 52 #include "sound.h" |
24 typedef GaimBuddy * Gaim__BuddyList__Buddy; | 53 #include "sslconn.h" |
25 typedef GaimChat * Gaim__BuddyList__Chat; | 54 #include "status.h" |
26 typedef GaimGroup * Gaim__BuddyList__Group; | 55 #include "stringref.h" |
27 typedef GaimContact * Gaim__BuddyList__Contact; | 56 #include "util.h" |
28 typedef GaimConnection * Gaim__Connection; | 57 #include "value.h" |
29 typedef GaimConversation *Gaim__Conversation; | 58 #include "xmlnode.h" |
30 typedef GaimConvChat * Gaim__Conversation__Chat; | 59 |
31 typedef GaimConvIm * Gaim__Conversation__IM; | 60 /* account.h */ |
32 typedef GaimConvWindow * Gaim__ConvWindow; | 61 typedef GaimAccount * Gaim__Account; |
33 typedef GaimPlugin * Gaim__Plugin; | 62 typedef GaimAccountOption * Gaim__Account__Option; |
34 | 63 typedef GaimAccountUiOps * Gaim__Account__UiOps; |
35 typedef GaimDebugLevel Gaim__DebugLevel; | 64 typedef GaimAccountUserSplit * Gaim__Account__UserSplit; |
65 | |
66 /* blist.h */ | |
67 typedef GaimBlistNode * Gaim__BuddyList__Node; | |
68 typedef GaimBlistNodeAction * Gaim__BuddyList__Node__Action; | |
69 typedef GaimBlistUiOps * Gaim__BuddyList__UiOps; | |
70 typedef GaimBlistNodeFlags Gaim__BlistNodeFlags; | |
71 typedef GaimBuddyList * Gaim__BuddyList; | |
72 typedef GaimBuddy * Gaim__BuddyList__Buddy; | |
73 typedef GaimChat * Gaim__BuddyList__Chat; | |
74 typedef GaimContact * Gaim__BuddyList__Contact; | |
75 typedef GaimGroup * Gaim__BuddyList__Group; | |
76 | |
77 /* buddyicon.h */ | |
78 typedef GaimBuddyIcon * Gaim__Buddy__Icon; | |
79 | |
80 /* cipher.h */ | |
81 typedef GaimCipherCaps Gaim__CipherCaps; | |
82 typedef GaimCipher * Gaim__Cipher; | |
83 typedef GaimCipherOps * Gaim__Cipher__Ops; | |
84 typedef GaimCipherContext * Gaim__Cipher__Context; | |
85 | |
86 /* cmds.h */ | |
87 typedef GaimCmdId * Gaim__CmdId; | |
88 | |
89 /* connection.h */ | |
90 typedef GaimConnectionFlags Gaim__ConnectionFlags; | |
91 typedef GaimConnectionState Gaim__ConnectionState; | |
92 typedef GaimConnection * Gaim__Connection; | |
93 typedef GaimConnectionUiOps * Gaim__Connection__UiOps; | |
94 | |
95 /* converstaion.h */ | |
96 typedef GaimConversationType Gaim__ConversationType; | |
97 typedef GaimUnseenState Gaim__UnseenState; | |
98 typedef GaimConvUpdateType Gaim__ConvUpdateType; | |
99 typedef GaimTypingState Gaim__TypingState; | |
100 typedef GaimMessageFlags Gaim__MessageFlags; | |
101 typedef GaimConvChatBuddyFlags Gaim__ConvChatBuddyFlags; | |
102 typedef GaimConvWindowUiOps * Gaim__ConvWindow__UiOps; | |
103 typedef GaimConvWindow * Gaim__ConvWindow; | |
104 typedef GaimConversationUiOps * Gaim__Conversation__UiOps; | |
105 typedef GaimConversation * Gaim__Conversation; | |
106 typedef GaimConvIm * Gaim__Conversation__IM; | |
107 typedef GaimConvChat * Gaim__Conversation__Chat; | |
108 typedef GaimConvChatBuddy * Gaim__Conversation__ChatBuddy; | |
109 | |
110 /* debug.h */ | |
111 typedef GaimDebugLevel Gaim__DebugLevel; | |
112 | |
113 /* desktopitem.h */ | |
114 typedef GaimDesktopItem * Gaim__DesktopItem; | |
115 typedef GaimDesktopItemType Gaim__DesktopItemType; | |
116 | |
117 /* eventloop.h */ | |
118 typedef GaimInputCondition * Gaim__InputCondition; | |
119 typedef GaimEventLoopUiOps * Gaim__EventLoopUiOps; | |
120 | |
121 /* ft.h */ | |
122 | |
123 typedef GaimXfer * Gaim__Xfer; | |
124 typedef GaimXferType Gaim__XferType; | |
125 typedef GaimXferStatusType Gaim__XferStatusType; | |
126 typedef GaimXferUiOps * Gaim__XferUiOps; | |
127 | |
128 /* gtkblish.h */ | |
129 typedef GaimGtkBuddyList * Gaim__GTK__BuddyList; | |
130 typedef GaimStatusIconSize Gaim__StatusIconSize; | |
131 | |
132 | |
133 /* gtkutils.h */ | |
134 typedef GaimButtonOrientation Gaim__ButtonOrientation; | |
135 typedef GaimButtonStyle Gaim__ButtonStyle; | |
136 typedef GaimBrowserPlace Gaim__BrowserPlace; | |
137 | |
138 /* gtkconv.h */ | |
139 typedef GdkPixbuf * Gaim__GDK__Pixbuf; | |
140 typedef GtkWidget * Gaim__GTK__Widget; | |
141 typedef GaimGtkConversation * Gaim__GTK__Conversation; | |
142 | |
143 /* gtkutils.h */ | |
144 typedef GtkSelectionData * Gaim__GTK__SelectionData; | |
145 typedef GtkFileSelection * Gaim__GTK__FileSelection; | |
146 typedef GtkTextView * Gaim__GTK__TextView; | |
147 | |
148 /* gtkconn.h */ | |
149 | |
150 /* imgstore.h */ | |
151 typedef GaimStoredImage * Gaim__StoredImage; | |
152 | |
153 /* log.h */ | |
154 typedef GaimLog * Gaim__Log; | |
155 typedef GaimLogLogger * Gaim__Log__Logger; | |
156 typedef GaimLogCommonLoggerData * Gaim__LogCommonLoggerData; | |
157 typedef GaimLogSet * Gaim__LogSet; | |
158 typedef GaimLogType Gaim__LogType; | |
159 typedef GaimLogReadFlags * Gaim__Log__ReadFlags; | |
160 | |
161 /* notify.h */ | |
162 typedef GaimNotifyType Gaim__NotifyType; | |
163 typedef GaimNotifyMsgType Gaim__NotifyMsgType; | |
164 typedef GaimNotifyUiOps * Gaim__NotifyUiOps; | |
165 | |
166 /* plugin.h */ | |
167 typedef GaimPlugin * Gaim__Plugin; | |
168 typedef GaimPluginType Gaim__PluginType; | |
169 typedef GaimPluginInfo * Gaim__PluginInfo; | |
170 typedef GaimPluginUiInfo * Gaim__PluginUiInfo; | |
171 typedef GaimPluginLoaderInfo * Gaim__PluginLoaderInfo; | |
172 typedef GaimPluginAction * Gaim__PluginAction; | |
173 | |
174 /* pluginpref.h */ | |
175 typedef GaimPluginPrefFrame * Gaim__PluginPrefFrame; | |
176 typedef GaimPluginPref * Gaim__PluginPref; | |
177 typedef GaimPluginPrefType Gaim__PluginPrefType; | |
178 | |
179 /* pounce.h */ | |
180 typedef GaimPounce * Gaim__Pounce; | |
181 typedef GaimPounceEvent Gaim__PounceEvent; | |
182 | |
183 | |
184 /* prefs.h */ | |
185 typedef GaimPrefType Gaim__PrefType; | |
186 | |
187 /* privacy.h */ | |
188 typedef GaimPrivacyType Gaim__PrivacyType; | |
189 typedef GaimPrivacyUiOps * Gaim__Privacy__UiOps; | |
190 | |
191 /* proxy.h */ | |
192 typedef GaimProxyType Gaim__ProxyType; | |
193 typedef GaimProxyInfo * Gaim__ProxyInfo; | |
194 | |
195 | |
196 /* prpl.h */ | |
197 typedef GaimBuddyIconSpec * Gaim__Buddy__Icon__Spec; | |
198 typedef GaimPluginProtocolInfo * Gaim__PluginProtocolInfo; | |
199 typedef GaimConvImFlags Gaim__ConvImFlags; | |
200 typedef GaimConvChatFlags Gaim__ConvChatFlags; | |
201 typedef GaimIconScaleRules Gaim__IconScaleRules; | |
202 typedef GaimProtocolOptions Gaim__ProtocolOptions; | |
203 | |
204 /* request.h */ | |
205 typedef GaimRequestType Gaim__RequestType; | |
206 typedef GaimRequestFieldType Gaim__RequestFieldType; | |
207 typedef GaimRequestFields * Gaim__Request__Fields; | |
208 typedef GaimRequestFieldGroup * Gaim__Request__Field__Group; | |
209 typedef GaimRequestField * Gaim__Request__Field; | |
210 typedef GaimRequestUiOps * Gaim__Request__UiOps; | |
211 | |
212 /* roomlist.h */ | |
213 | |
214 typedef GaimRoomlist * Gaim__Roomlist; | |
215 typedef GaimRoomlistRoom * Gaim__Roomlist__Room; | |
216 typedef GaimRoomlistField * Gaim__Roomlist__Field; | |
217 typedef GaimRoomlistUiOps * Gaim__Roomlist__UiOps; | |
218 typedef GaimRoomlistRoomType Gaim__RoomlistRoomType; | |
219 typedef GaimRoomlistFieldType Gaim__RoomlistFieldType; | |
220 | |
221 /* savedstatuses.h */ | |
222 typedef GaimSavedStatus * Gaim__SavedStatus; | |
223 typedef GaimSavedStatusSub * Gaim__SavedStatusSub; | |
224 | |
225 /* sound.h */ | |
226 typedef GaimSoundEventID Gaim__SoundEventID; | |
227 typedef GaimSoundUiOps * Gaim__Sound__UiOps; | |
228 | |
229 /* sslconn.h */ | |
230 typedef GaimSslConnection * Gaim__Ssl__Connection; | |
231 typedef GaimInputCondition * Gaim__Input__Condition; | |
232 typedef GaimSslErrorType Gaim__SslErrorType; | |
233 typedef GaimSslOps * Gaim__Ssl__Ops; | |
234 | |
235 /* status.h */ | |
236 typedef GaimStatusType * Gaim__StatusType; | |
237 typedef GaimStatusAttr * Gaim__StatusAttr; | |
238 typedef GaimPresence * Gaim__Presence; | |
239 typedef GaimStatus * Gaim__Status; | |
240 typedef GaimPresenceContext Gaim__PresenceContext; | |
241 typedef GaimStatusPrimitive Gaim__StatusPrimitive; | |
242 | |
243 typedef GaimStringref * Gaim__Stringref; | |
244 | |
245 /* value.h */ | |
246 typedef GaimValue * Gaim__Value; | |
247 | |
248 /* xmlnode.h */ | |
249 typedef XMLNodeType XMLNode__Type; | |
250 | |
251 | |
252 /* other.h */ | |
253 |