comparison libpurple/protocols/jabber/jabber.h @ 17883:9a19c46adf66

The server's ad-hoc commands are now listed in the account's action menu. Note that this requires an additional field in the _PurplePluginAction struct. There's no other way, since there was no way to supply user_data, and dynamically created functions are not supported by C. This should be fine, since that struct is only malloced in purple_plugin_action_new, which is part of the core. Applications have to either pass the struct unmodified, or restore the user_data pointer if the action is recreated when necessary (as is the case in Adium).
author Andreas Monitzer <pidgin@monitzer.com>
date Mon, 25 Jun 2007 19:08:16 +0000
parents f88b3a093cba
children 935005186312
comparison
equal deleted inserted replaced
17882:f88b3a093cba 17883:9a19c46adf66
155 #endif 155 #endif
156 char *serverFQDN; 156 char *serverFQDN;
157 157
158 /* does the local server support PEP? */ 158 /* does the local server support PEP? */
159 gboolean pep; 159 gboolean pep;
160
161 /* A list of JabberAdHocCommands supported by the server */
162 GList *commands;
160 163
161 /* last presence update to check for differences */ 164 /* last presence update to check for differences */
162 JabberBuddyState old_state; 165 JabberBuddyState old_state;
163 char *old_msg; 166 char *old_msg;
164 int old_priority; 167 int old_priority;