| 234 int keepalive_timeout; |
236 int keepalive_timeout; |
| 235 |
237 |
| 236 PurpleSrvResponse *srv_rec; |
238 PurpleSrvResponse *srv_rec; |
| 237 guint srv_rec_idx; |
239 guint srv_rec_idx; |
| 238 guint max_srv_rec_idx; |
240 guint max_srv_rec_idx; |
| |
241 |
| |
242 #ifdef USE_VV |
| |
243 /* keep a hash table of JingleSessions */ |
| |
244 GHashTable *sessions; |
| |
245 #endif |
| 239 }; |
246 }; |
| 240 |
247 |
| 241 typedef gboolean (JabberFeatureEnabled)(JabberStream *js, const gchar *shortname, const gchar *namespace); |
248 typedef gboolean (JabberFeatureEnabled)(JabberStream *js, const gchar *shortname, const gchar *namespace); |
| 242 |
249 |
| 243 typedef struct _JabberFeature |
250 typedef struct _JabberFeature |
| 301 int jabber_prpl_send_raw(PurpleConnection *gc, const char *buf, int len); |
308 int jabber_prpl_send_raw(PurpleConnection *gc, const char *buf, int len); |
| 302 GList *jabber_actions(PurplePlugin *plugin, gpointer context); |
309 GList *jabber_actions(PurplePlugin *plugin, gpointer context); |
| 303 void jabber_register_commands(void); |
310 void jabber_register_commands(void); |
| 304 void jabber_init_plugin(PurplePlugin *plugin); |
311 void jabber_init_plugin(PurplePlugin *plugin); |
| 305 |
312 |
| |
313 #ifdef USE_VV |
| |
314 PurpleMedia *jabber_initiate_media(PurpleConnection *gc, const char *who, PurpleMediaStreamType type); |
| |
315 gboolean jabber_can_do_media(PurpleConnection *gc, const char *who, PurpleMediaStreamType type); |
| |
316 #endif |
| |
317 |
| 306 #endif /* _PURPLE_JABBER_H_ */ |
318 #endif /* _PURPLE_JABBER_H_ */ |