| |
1 |
| |
2 |
| |
3 typedef struct group *Gaim__Group; |
| |
4 |
| |
5 #define group perl_group |
| |
6 |
| |
7 #include <glib.h> |
| |
8 #ifdef _WIN32 |
| |
9 #undef pipe |
| |
10 #endif |
| |
11 #include <EXTERN.h> |
| |
12 #include <perl.h> |
| |
13 #include <XSUB.h> |
| |
14 |
| |
15 #undef group |
| |
16 |
| |
17 #include "../perl-common.h" |
| |
18 |
| |
19 #include "account.h" |
| |
20 #include "accountopt.h" |
| |
21 #include "blist.h" |
| |
22 #include "buddyicon.h" |
| |
23 #include "cipher.h" |
| |
24 #include "cmds.h" |
| |
25 #include "connection.h" |
| |
26 #include "conversation.h" |
| |
27 #include "debug.h" |
| |
28 #include "desktopitem.h" |
| |
29 #include "eventloop.h" |
| |
30 #include "ft.h" |
| |
31 #include "gtkaccount.h" |
| |
32 #include "gtkblist.h" |
| |
33 #include "gtkconn.h" |
| |
34 #include "gtkconv.h" |
| |
35 #include "gtkutils.h" |
| |
36 #include "imgstore.h" |
| |
37 #include "network.h" |
| |
38 #include "notify.h" |
| |
39 #include "plugin.h" |
| |
40 #include "pluginpref.h" |
| |
41 #include "pounce.h" |
| |
42 #include "prefs.h" |
| |
43 #include "privacy.h" |
| |
44 #include "prpl.h" |
| |
45 #include "proxy.h" |
| |
46 #include "request.h" |
| |
47 #include "roomlist.h" |
| |
48 #include "savedstatuses.h" |
| |
49 #include "server.h" |
| |
50 #include "signals.h" |
| |
51 #include "sound.h" |
| |
52 #include "sslconn.h" |
| |
53 #include "status.h" |
| |
54 #include "stringref.h" |
| |
55 /* Ewww. perl has it's own util.h which is in the include path :( */ |
| |
56 #include "src/util.h" |
| |
57 #include "value.h" |
| |
58 #include "xmlnode.h" |
| |
59 |
| |
60 /* account.h */ |
| |
61 typedef GaimAccount * Gaim__Account; |
| |
62 typedef GaimAccountOption * Gaim__Account__Option; |
| |
63 typedef GaimAccountUiOps * Gaim__Account__UiOps; |
| |
64 typedef GaimAccountUserSplit * Gaim__Account__UserSplit; |
| |
65 |
| |
66 /* blist.h */ |
| |
67 typedef GaimBlistNode * Gaim__BuddyList__Node; |
| |
68 typedef GaimBlistNodeFlags Gaim__BuddyList__NodeFlags; |
| |
69 typedef GaimBlistUiOps * Gaim__BuddyList__UiOps; |
| |
70 typedef GaimBuddyList * Gaim__BuddyList; |
| |
71 typedef GaimBuddy * Gaim__BuddyList__Buddy; |
| |
72 typedef GaimChat * Gaim__BuddyList__Chat; |
| |
73 typedef GaimContact * Gaim__BuddyList__Contact; |
| |
74 typedef GaimGroup * Gaim__BuddyList__Group; |
| |
75 |
| |
76 /* buddyicon.h */ |
| |
77 typedef GaimBuddyIcon * Gaim__Buddy__Icon; |
| |
78 |
| |
79 /* cipher.h */ |
| |
80 typedef GaimCipher * Gaim__Cipher; |
| |
81 typedef GaimCipherCaps Gaim__CipherCaps; |
| |
82 typedef GaimCipherContext * Gaim__Cipher__Context; |
| |
83 typedef GaimCipherOps * Gaim__Cipher__Ops; |
| |
84 |
| |
85 /* cmds.h */ |
| |
86 typedef GaimCmdFlag Gaim__Cmd__Flag; |
| |
87 typedef GaimCmdId Gaim__Cmd__Id; |
| |
88 typedef GaimCmdPriority Gaim__Cmd__Priority; |
| |
89 typedef GaimCmdRet Gaim__Cmd__Ret; |
| |
90 |
| |
91 /* connection.h */ |
| |
92 typedef GaimConnection * Gaim__Connection; |
| |
93 typedef GaimConnectionFlags Gaim__ConnectionFlags; |
| |
94 typedef GaimConnectionState Gaim__ConnectionState; |
| |
95 typedef GaimConnectionUiOps * Gaim__Connection__UiOps; |
| |
96 |
| |
97 /* conversation.h */ |
| |
98 typedef GaimConversationType Gaim__ConversationType; |
| |
99 typedef GaimUnseenState Gaim__UnseenState; |
| |
100 typedef GaimConvUpdateType Gaim__ConvUpdateType; |
| |
101 typedef GaimTypingState Gaim__TypingState; |
| |
102 typedef GaimMessageFlags Gaim__MessageFlags; |
| |
103 typedef GaimConvChatBuddyFlags Gaim__ConvChatBuddyFlags; |
| |
104 typedef GaimConversation * Gaim__Conversation; |
| |
105 typedef GaimConversationUiOps * Gaim__Conversation__UiOps; |
| |
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 typedef GaimXfer * Gaim__Xfer; |
| |
123 typedef GaimXferType Gaim__XferType; |
| |
124 typedef GaimXferStatusType Gaim__XferStatusType; |
| |
125 typedef GaimXferUiOps * Gaim__XferUiOps; |
| |
126 |
| |
127 /* gtkblish.h */ |
| |
128 typedef GaimGtkBuddyList * Gaim__GTK__BuddyList; |
| |
129 typedef GaimStatusIconSize Gaim__StatusIconSize; |
| |
130 |
| |
131 /* gtkutils.h */ |
| |
132 typedef GaimButtonOrientation Gaim__ButtonOrientation; |
| |
133 typedef GaimButtonStyle Gaim__ButtonStyle; |
| |
134 #ifndef _WIN32 |
| |
135 typedef GaimBrowserPlace Gaim__BrowserPlace; |
| |
136 #endif /* _WIN32 */ |
| |
137 |
| |
138 /* gtkconv.h */ |
| |
139 typedef GaimGtkConversation * Gaim__GTK__Conversation; |
| |
140 typedef GdkPixbuf * Gaim__GDK__Pixbuf; |
| |
141 typedef GtkWidget * Gaim__GTK__Widget; |
| |
142 |
| |
143 /* gtkutils.h */ |
| |
144 typedef GtkFileSelection * Gaim__GTK__FileSelection; |
| |
145 typedef GtkSelectionData * Gaim__GTK__SelectionData; |
| |
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 GaimLogCommonLoggerData * Gaim__LogCommonLoggerData; |
| |
156 typedef GaimLogLogger * Gaim__Log__Logger; |
| |
157 typedef GaimLogReadFlags * Gaim__Log__ReadFlags; |
| |
158 typedef GaimLogSet * Gaim__LogSet; |
| |
159 typedef GaimLogType Gaim__LogType; |
| |
160 |
| |
161 /* network.h */ |
| |
162 typedef GaimNetworkListenCallback Gaim__NetworkListenCallback; |
| |
163 |
| |
164 /* notify.h */ |
| |
165 typedef GaimNotifyCloseCallback Gaim__NotifyCloseCallback; |
| |
166 typedef GaimNotifyMsgType Gaim__NotifyMsgType; |
| |
167 typedef GaimNotifySearchButtonType Gaim__NotifySearchButtonType; |
| |
168 typedef GaimNotifySearchResults * Gaim__NotifySearchResults; |
| |
169 typedef GaimNotifySearchColumn * Gaim__NotifySearchColumn; |
| |
170 typedef GaimNotifySearchButton * Gaim__NotifySearchButton; |
| |
171 typedef GaimNotifyType Gaim__NotifyType; |
| |
172 typedef GaimNotifyUiOps * Gaim__NotifyUiOps; |
| |
173 |
| |
174 /* plugin.h */ |
| |
175 typedef GaimPlugin * Gaim__Plugin; |
| |
176 typedef GaimPluginAction * Gaim__Plugin__Action; |
| |
177 typedef GaimPluginInfo * Gaim__PluginInfo; |
| |
178 typedef GaimPluginLoaderInfo * Gaim__PluginLoaderInfo; |
| |
179 typedef GaimPluginType Gaim__PluginType; |
| |
180 typedef GaimPluginUiInfo * Gaim__PluginUiInfo; |
| |
181 |
| |
182 /* pluginpref.h */ |
| |
183 typedef GaimPluginPref * Gaim__PluginPref; |
| |
184 typedef GaimPluginPrefFrame * Gaim__PluginPref__Frame; |
| |
185 typedef GaimPluginPrefType Gaim__PluginPrefType; |
| |
186 |
| |
187 /* pounce.h */ |
| |
188 typedef GaimPounce * Gaim__Pounce; |
| |
189 typedef GaimPounceEvent Gaim__PounceEvent; |
| |
190 |
| |
191 /* prefs.h */ |
| |
192 typedef GaimPrefType Gaim__PrefType; |
| |
193 |
| |
194 /* privacy.h */ |
| |
195 typedef GaimPrivacyType Gaim__PrivacyType; |
| |
196 typedef GaimPrivacyUiOps * Gaim__Privacy__UiOps; |
| |
197 |
| |
198 /* proxy.h */ |
| |
199 typedef GaimProxyInfo * Gaim__ProxyInfo; |
| |
200 typedef GaimProxyType Gaim__ProxyType; |
| |
201 |
| |
202 /* prpl.h */ |
| |
203 typedef GaimBuddyIconSpec * Gaim__Buddy__Icon__Spec; |
| |
204 typedef GaimIconScaleRules Gaim__IconScaleRules; |
| |
205 typedef GaimPluginProtocolInfo * Gaim__PluginProtocolInfo; |
| |
206 typedef GaimProtocolOptions Gaim__ProtocolOptions; |
| |
207 |
| |
208 /* request.h */ |
| |
209 typedef GaimRequestField * Gaim__Request__Field; |
| |
210 typedef GaimRequestFields * Gaim__Request__Fields; |
| |
211 typedef GaimRequestFieldGroup * Gaim__Request__Field__Group; |
| |
212 typedef GaimRequestFieldType Gaim__RequestFieldType; |
| |
213 typedef GaimRequestType Gaim__RequestType; |
| |
214 typedef GaimRequestUiOps * Gaim__Request__UiOps; |
| |
215 |
| |
216 /* roomlist.h */ |
| |
217 typedef GaimRoomlist * Gaim__Roomlist; |
| |
218 typedef GaimRoomlistField * Gaim__Roomlist__Field; |
| |
219 typedef GaimRoomlistFieldType Gaim__RoomlistFieldType; |
| |
220 typedef GaimRoomlistRoom * Gaim__Roomlist__Room; |
| |
221 typedef GaimRoomlistRoomType Gaim__RoomlistRoomType; |
| |
222 typedef GaimRoomlistUiOps * Gaim__Roomlist__UiOps; |
| |
223 |
| |
224 /* savedstatuses.h */ |
| |
225 typedef GaimSavedStatus * Gaim__SavedStatus; |
| |
226 typedef GaimSavedStatusSub * Gaim__SavedStatusSub; |
| |
227 |
| |
228 /* sound.h */ |
| |
229 typedef GaimSoundEventID Gaim__SoundEventID; |
| |
230 typedef GaimSoundUiOps * Gaim__Sound__UiOps; |
| |
231 |
| |
232 /* sslconn.h */ |
| |
233 typedef GaimInputCondition * Gaim__Input__Condition; |
| |
234 typedef GaimSslConnection * Gaim__Ssl__Connection; |
| |
235 typedef GaimSslErrorType Gaim__SslErrorType; |
| |
236 typedef GaimSslOps * Gaim__Ssl__Ops; |
| |
237 |
| |
238 /* status.h */ |
| |
239 typedef GaimPresence * Gaim__Presence; |
| |
240 typedef GaimPresenceContext Gaim__PresenceContext; |
| |
241 typedef GaimStatus * Gaim__Status; |
| |
242 typedef GaimStatusAttr * Gaim__StatusAttr; |
| |
243 typedef GaimStatusPrimitive Gaim__StatusPrimitive; |
| |
244 typedef GaimStatusType * Gaim__StatusType; |
| |
245 |
| |
246 /* stringref.h */ |
| |
247 typedef GaimStringref * Gaim__Stringref; |
| |
248 |
| |
249 /* util.h */ |
| |
250 typedef GaimInfoFieldFormatCallback Gaim__Util__InfoFieldFormatCallback; |
| |
251 typedef GaimMenuAction * Gaim__Menu__Action; |
| |
252 |
| |
253 /* value.h */ |
| |
254 typedef GaimValue * Gaim__Value; |
| |
255 |
| |
256 /* xmlnode.h */ |
| |
257 typedef xmlnode * Gaim__XMLNode; |
| |
258 typedef XMLNodeType XMLNode__Type; |
| |
259 |
| |
260 /* other.h */ |