Mercurial > pidgin
annotate libgaim/plugins/perl/common/module.h @ 15209:ffec45ff82d0
[gaim-migrate @ 17999]
Setting this namespaced attribute will tell the Google Talk servers that we can accept back a JID from the bind result that isn't necessarily related to the one we requested. This allows googlemail.com users to enter gmail.com as their server and still authenticate properly. Technically, we shouldn't need an attribute like this (this is all valid XMPP), but lesser clients might choke on this.
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Thu, 14 Dec 2006 22:25:18 +0000 |
| parents | d83f71ca0cd7 |
| children |
| rev | line source |
|---|---|
| 14192 | 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" | |
|
15004
5e07a6f8eb33
[gaim-migrate @ 17784]
Richard Laager <rlaager@wiktel.com>
parents:
14717
diff
changeset
|
27 #include "core.h" |
| 14192 | 28 #include "debug.h" |
| 29 #include "desktopitem.h" | |
| 30 #include "eventloop.h" | |
| 31 #include "ft.h" | |
|
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14364
diff
changeset
|
32 #ifdef GAIM_GTKPERL |
| 14192 | 33 #include "gtkaccount.h" |
| 34 #include "gtkblist.h" | |
| 35 #include "gtkconn.h" | |
| 36 #include "gtkconv.h" | |
| 37 #include "gtkutils.h" | |
|
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14364
diff
changeset
|
38 #endif |
| 14192 | 39 #include "imgstore.h" |
| 40 #include "network.h" | |
| 41 #include "notify.h" | |
| 42 #include "plugin.h" | |
| 43 #include "pluginpref.h" | |
| 44 #include "pounce.h" | |
| 45 #include "prefs.h" | |
| 46 #include "privacy.h" | |
| 47 #include "prpl.h" | |
| 48 #include "proxy.h" | |
| 49 #include "request.h" | |
| 50 #include "roomlist.h" | |
| 51 #include "savedstatuses.h" | |
| 52 #include "server.h" | |
| 53 #include "signals.h" | |
| 54 #include "sound.h" | |
| 55 #include "sslconn.h" | |
| 56 #include "status.h" | |
| 57 #include "stringref.h" | |
| 58 /* Ewww. perl has it's own util.h which is in the include path :( */ | |
|
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14267
diff
changeset
|
59 #include "libgaim/util.h" |
| 14192 | 60 #include "value.h" |
| 61 #include "xmlnode.h" | |
| 62 | |
| 63 /* account.h */ | |
| 64 typedef GaimAccount * Gaim__Account; | |
| 65 typedef GaimAccountOption * Gaim__Account__Option; | |
| 66 typedef GaimAccountUiOps * Gaim__Account__UiOps; | |
| 67 typedef GaimAccountUserSplit * Gaim__Account__UserSplit; | |
| 68 | |
| 69 /* blist.h */ | |
| 70 typedef GaimBlistNode * Gaim__BuddyList__Node; | |
| 71 typedef GaimBlistNodeFlags Gaim__BuddyList__NodeFlags; | |
| 72 typedef GaimBlistUiOps * Gaim__BuddyList__UiOps; | |
| 73 typedef GaimBuddyList * Gaim__BuddyList; | |
| 74 typedef GaimBuddy * Gaim__BuddyList__Buddy; | |
| 75 typedef GaimChat * Gaim__BuddyList__Chat; | |
| 76 typedef GaimContact * Gaim__BuddyList__Contact; | |
| 77 typedef GaimGroup * Gaim__BuddyList__Group; | |
| 78 | |
| 79 /* buddyicon.h */ | |
| 80 typedef GaimBuddyIcon * Gaim__Buddy__Icon; | |
| 81 | |
| 82 /* cipher.h */ | |
| 83 typedef GaimCipher * Gaim__Cipher; | |
| 84 typedef GaimCipherCaps Gaim__CipherCaps; | |
| 85 typedef GaimCipherContext * Gaim__Cipher__Context; | |
| 86 typedef GaimCipherOps * Gaim__Cipher__Ops; | |
| 87 | |
| 88 /* cmds.h */ | |
| 89 typedef GaimCmdFlag Gaim__Cmd__Flag; | |
| 90 typedef GaimCmdId Gaim__Cmd__Id; | |
| 91 typedef GaimCmdPriority Gaim__Cmd__Priority; | |
| 92 typedef GaimCmdRet Gaim__Cmd__Ret; | |
| 93 | |
| 94 /* connection.h */ | |
| 95 typedef GaimConnection * Gaim__Connection; | |
| 96 typedef GaimConnectionFlags Gaim__ConnectionFlags; | |
| 97 typedef GaimConnectionState Gaim__ConnectionState; | |
| 98 typedef GaimConnectionUiOps * Gaim__Connection__UiOps; | |
| 99 | |
| 100 /* conversation.h */ | |
| 101 typedef GaimConversationType Gaim__ConversationType; | |
| 102 typedef GaimConvUpdateType Gaim__ConvUpdateType; | |
| 103 typedef GaimTypingState Gaim__TypingState; | |
| 104 typedef GaimMessageFlags Gaim__MessageFlags; | |
| 105 typedef GaimConvChatBuddyFlags Gaim__ConvChatBuddyFlags; | |
| 106 typedef GaimConversation * Gaim__Conversation; | |
| 107 typedef GaimConversationUiOps * Gaim__Conversation__UiOps; | |
| 108 typedef GaimConvIm * Gaim__Conversation__IM; | |
| 109 typedef GaimConvChat * Gaim__Conversation__Chat; | |
| 110 typedef GaimConvChatBuddy * Gaim__Conversation__ChatBuddy; | |
| 111 | |
|
15004
5e07a6f8eb33
[gaim-migrate @ 17784]
Richard Laager <rlaager@wiktel.com>
parents:
14717
diff
changeset
|
112 /* core.h */ |
|
5e07a6f8eb33
[gaim-migrate @ 17784]
Richard Laager <rlaager@wiktel.com>
parents:
14717
diff
changeset
|
113 |
|
5e07a6f8eb33
[gaim-migrate @ 17784]
Richard Laager <rlaager@wiktel.com>
parents:
14717
diff
changeset
|
114 typedef GaimCore * Gaim__Core; |
|
5e07a6f8eb33
[gaim-migrate @ 17784]
Richard Laager <rlaager@wiktel.com>
parents:
14717
diff
changeset
|
115 typedef GaimCoreUiOps * Gaim__Core__UiOps; |
|
5e07a6f8eb33
[gaim-migrate @ 17784]
Richard Laager <rlaager@wiktel.com>
parents:
14717
diff
changeset
|
116 |
| 14192 | 117 /* debug.h */ |
| 118 typedef GaimDebugLevel Gaim__DebugLevel; | |
| 119 | |
| 120 /* desktopitem.h */ | |
| 121 typedef GaimDesktopItem * Gaim__DesktopItem; | |
| 122 typedef GaimDesktopItemType Gaim__DesktopItemType; | |
| 123 | |
| 124 /* eventloop.h */ | |
| 125 typedef GaimInputCondition * Gaim__InputCondition; | |
| 126 typedef GaimEventLoopUiOps * Gaim__EventLoopUiOps; | |
| 127 | |
| 128 /* ft.h */ | |
| 129 typedef GaimXfer * Gaim__Xfer; | |
| 130 typedef GaimXferType Gaim__XferType; | |
| 131 typedef GaimXferStatusType Gaim__XferStatusType; | |
| 132 typedef GaimXferUiOps * Gaim__XferUiOps; | |
| 133 | |
|
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14364
diff
changeset
|
134 #ifdef GAIM_GTKPERL |
| 14192 | 135 /* gtkblish.h */ |
| 136 typedef GaimGtkBuddyList * Gaim__GTK__BuddyList; | |
| 137 typedef GaimStatusIconSize Gaim__StatusIconSize; | |
| 138 | |
| 139 /* gtkutils.h */ | |
| 140 typedef GaimButtonOrientation Gaim__ButtonOrientation; | |
| 141 typedef GaimButtonStyle Gaim__ButtonStyle; | |
| 142 #ifndef _WIN32 | |
| 143 typedef GaimBrowserPlace Gaim__BrowserPlace; | |
| 144 #endif /* _WIN32 */ | |
| 145 | |
| 146 /* gtkconv.h */ | |
|
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14364
diff
changeset
|
147 typedef GaimUnseenState Gaim__UnseenState; |
| 14192 | 148 typedef GaimGtkConversation * Gaim__GTK__Conversation; |
| 149 typedef GdkPixbuf * Gaim__GDK__Pixbuf; | |
| 150 typedef GtkWidget * Gaim__GTK__Widget; | |
| 151 | |
| 152 /* gtkutils.h */ | |
| 153 typedef GtkFileSelection * Gaim__GTK__FileSelection; | |
| 154 typedef GtkSelectionData * Gaim__GTK__SelectionData; | |
| 155 typedef GtkTextView * Gaim__GTK__TextView; | |
| 156 | |
| 157 /* gtkconn.h */ | |
|
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14364
diff
changeset
|
158 #endif |
| 14192 | 159 |
| 160 /* imgstore.h */ | |
| 161 typedef GaimStoredImage * Gaim__StoredImage; | |
| 162 | |
| 163 /* log.h */ | |
| 164 typedef GaimLog * Gaim__Log; | |
| 165 typedef GaimLogCommonLoggerData * Gaim__LogCommonLoggerData; | |
| 166 typedef GaimLogLogger * Gaim__Log__Logger; | |
| 167 typedef GaimLogReadFlags * Gaim__Log__ReadFlags; | |
| 168 typedef GaimLogSet * Gaim__LogSet; | |
| 169 typedef GaimLogType Gaim__LogType; | |
| 170 | |
| 171 /* network.h */ | |
|
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14364
diff
changeset
|
172 typedef GaimNetworkListenData * Gaim__NetworkListenData; |
| 14192 | 173 typedef GaimNetworkListenCallback Gaim__NetworkListenCallback; |
| 174 | |
| 175 /* notify.h */ | |
| 176 typedef GaimNotifyCloseCallback Gaim__NotifyCloseCallback; | |
| 177 typedef GaimNotifyMsgType Gaim__NotifyMsgType; | |
| 178 typedef GaimNotifySearchButtonType Gaim__NotifySearchButtonType; | |
| 179 typedef GaimNotifySearchResults * Gaim__NotifySearchResults; | |
| 180 typedef GaimNotifySearchColumn * Gaim__NotifySearchColumn; | |
| 181 typedef GaimNotifySearchButton * Gaim__NotifySearchButton; | |
| 182 typedef GaimNotifyType Gaim__NotifyType; | |
| 183 typedef GaimNotifyUiOps * Gaim__NotifyUiOps; | |
|
15204
d83f71ca0cd7
[gaim-migrate @ 17994]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15103
diff
changeset
|
184 typedef GaimNotifyUserInfo * Gaim__NotifyUserInfo; |
|
d83f71ca0cd7
[gaim-migrate @ 17994]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15103
diff
changeset
|
185 typedef GaimNotifyUserInfoEntry * Gaim__NotifyUserInfoEntry; |
| 14192 | 186 |
| 187 /* plugin.h */ | |
| 188 typedef GaimPlugin * Gaim__Plugin; | |
| 189 typedef GaimPluginAction * Gaim__Plugin__Action; | |
| 190 typedef GaimPluginInfo * Gaim__PluginInfo; | |
| 191 typedef GaimPluginLoaderInfo * Gaim__PluginLoaderInfo; | |
| 192 typedef GaimPluginType Gaim__PluginType; | |
| 193 typedef GaimPluginUiInfo * Gaim__PluginUiInfo; | |
| 194 | |
| 195 /* pluginpref.h */ | |
| 196 typedef GaimPluginPref * Gaim__PluginPref; | |
| 197 typedef GaimPluginPrefFrame * Gaim__PluginPref__Frame; | |
| 198 typedef GaimPluginPrefType Gaim__PluginPrefType; | |
| 199 | |
| 200 /* pounce.h */ | |
| 201 typedef GaimPounce * Gaim__Pounce; | |
| 202 typedef GaimPounceEvent Gaim__PounceEvent; | |
| 203 | |
| 204 /* prefs.h */ | |
| 205 typedef GaimPrefType Gaim__PrefType; | |
| 206 | |
| 207 /* privacy.h */ | |
| 208 typedef GaimPrivacyType Gaim__PrivacyType; | |
| 209 typedef GaimPrivacyUiOps * Gaim__Privacy__UiOps; | |
| 210 | |
| 211 /* proxy.h */ | |
| 212 typedef GaimProxyInfo * Gaim__ProxyInfo; | |
| 213 typedef GaimProxyType Gaim__ProxyType; | |
| 214 | |
| 215 /* prpl.h */ | |
| 216 typedef GaimBuddyIconSpec * Gaim__Buddy__Icon__Spec; | |
| 217 typedef GaimIconScaleRules Gaim__IconScaleRules; | |
| 218 typedef GaimPluginProtocolInfo * Gaim__PluginProtocolInfo; | |
| 219 typedef GaimProtocolOptions Gaim__ProtocolOptions; | |
| 220 | |
| 221 /* request.h */ | |
| 222 typedef GaimRequestField * Gaim__Request__Field; | |
| 223 typedef GaimRequestFields * Gaim__Request__Fields; | |
| 224 typedef GaimRequestFieldGroup * Gaim__Request__Field__Group; | |
| 225 typedef GaimRequestFieldType Gaim__RequestFieldType; | |
| 226 typedef GaimRequestType Gaim__RequestType; | |
| 227 typedef GaimRequestUiOps * Gaim__Request__UiOps; | |
| 228 | |
| 229 /* roomlist.h */ | |
| 230 typedef GaimRoomlist * Gaim__Roomlist; | |
| 231 typedef GaimRoomlistField * Gaim__Roomlist__Field; | |
| 232 typedef GaimRoomlistFieldType Gaim__RoomlistFieldType; | |
| 233 typedef GaimRoomlistRoom * Gaim__Roomlist__Room; | |
| 234 typedef GaimRoomlistRoomType Gaim__RoomlistRoomType; | |
| 235 typedef GaimRoomlistUiOps * Gaim__Roomlist__UiOps; | |
| 236 | |
| 237 /* savedstatuses.h */ | |
| 238 typedef GaimSavedStatus * Gaim__SavedStatus; | |
| 239 typedef GaimSavedStatusSub * Gaim__SavedStatusSub; | |
| 240 | |
| 241 /* sound.h */ | |
| 242 typedef GaimSoundEventID Gaim__SoundEventID; | |
| 243 typedef GaimSoundUiOps * Gaim__Sound__UiOps; | |
| 244 | |
| 245 /* sslconn.h */ | |
| 246 typedef GaimInputCondition * Gaim__Input__Condition; | |
| 247 typedef GaimSslConnection * Gaim__Ssl__Connection; | |
| 248 typedef GaimSslErrorType Gaim__SslErrorType; | |
| 249 typedef GaimSslOps * Gaim__Ssl__Ops; | |
| 250 | |
| 251 /* status.h */ | |
| 252 typedef GaimPresence * Gaim__Presence; | |
| 253 typedef GaimPresenceContext Gaim__PresenceContext; | |
| 254 typedef GaimStatus * Gaim__Status; | |
| 255 typedef GaimStatusAttr * Gaim__StatusAttr; | |
| 256 typedef GaimStatusPrimitive Gaim__StatusPrimitive; | |
| 257 typedef GaimStatusType * Gaim__StatusType; | |
| 258 | |
| 259 /* stringref.h */ | |
| 260 typedef GaimStringref * Gaim__Stringref; | |
| 261 | |
| 262 /* util.h */ | |
|
14364
338ac096e322
[gaim-migrate @ 17070]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14355
diff
changeset
|
263 typedef GaimInfoFieldFormatCallback Gaim__Util__InfoFieldFormatCallback; |
| 14355 | 264 typedef GaimUtilFetchUrlData Gaim__Util__FetchUrlData; |
| 14192 | 265 typedef GaimMenuAction * Gaim__Menu__Action; |
| 266 | |
| 267 /* value.h */ | |
| 268 typedef GaimValue * Gaim__Value; | |
| 269 | |
| 270 /* xmlnode.h */ | |
| 271 typedef xmlnode * Gaim__XMLNode; | |
| 272 typedef XMLNodeType XMLNode__Type; | |
| 273 | |
|
14717
b1fcd2fc903a
[gaim-migrate @ 17471]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14372
diff
changeset
|
274 /* other */ |
|
b1fcd2fc903a
[gaim-migrate @ 17471]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14372
diff
changeset
|
275 typedef void * Gaim__Handle; |
|
15103
53f7a4a8ad2a
[gaim-migrate @ 17889]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15004
diff
changeset
|
276 |
|
53f7a4a8ad2a
[gaim-migrate @ 17889]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15004
diff
changeset
|
277 typedef gchar gchar_own; |
|
53f7a4a8ad2a
[gaim-migrate @ 17889]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15004
diff
changeset
|
278 |
