Mercurial > pidgin
comparison libpurple/protocols/jabber/jabber.h @ 26470:4f14455a86d2
propagate from branch 'im.pidgin.pidgin' (head f25348fdce436002d7d508f074aaa70fd9491f01)
to branch 'im.pidgin.cpw.darkrain42.xmpp.iq-handlers' (head 33f84ea59a9e7afb3a03806268589ea49622326a)
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 03 Apr 2009 16:45:38 +0000 |
parents | 439f07ce4c8a 34eb898478b4 |
children | 5767b7698c73 |
comparison
equal
deleted
inserted
replaced
26469:00870e5f2e90 | 26470:4f14455a86d2 |
---|---|
52 #include <libxml/parser.h> | 52 #include <libxml/parser.h> |
53 #include <glib.h> | 53 #include <glib.h> |
54 #include "circbuffer.h" | 54 #include "circbuffer.h" |
55 #include "connection.h" | 55 #include "connection.h" |
56 #include "dnssrv.h" | 56 #include "dnssrv.h" |
57 #include "media.h" | |
58 #include "mediamanager.h" | |
57 #include "roomlist.h" | 59 #include "roomlist.h" |
58 #include "sslconn.h" | 60 #include "sslconn.h" |
61 #include "dnsquery.h" | |
59 | 62 |
60 #include "iq.h" | 63 #include "iq.h" |
61 #include "jutil.h" | 64 #include "jutil.h" |
62 #include "xmlnode.h" | 65 #include "xmlnode.h" |
63 #include "buddy.h" | 66 #include "buddy.h" |
241 /** | 244 /** |
242 * This linked list contains PurpleUtilFetchUrlData structs | 245 * This linked list contains PurpleUtilFetchUrlData structs |
243 * for when we lookup buddy icons from a url | 246 * for when we lookup buddy icons from a url |
244 */ | 247 */ |
245 GSList *url_datas; | 248 GSList *url_datas; |
249 | |
250 /* keep a hash table of JingleSessions */ | |
251 GHashTable *sessions; | |
252 | |
253 /* maybe this should only be present when USE_VV? */ | |
254 gchar *stun_ip; | |
255 int stun_port; | |
256 PurpleDnsQueryData *stun_query; | |
257 /* later add stuff to handle TURN relays... */ | |
246 }; | 258 }; |
247 | 259 |
248 typedef gboolean (JabberFeatureEnabled)(JabberStream *js, const gchar *shortname, const gchar *namespace); | 260 typedef gboolean (JabberFeatureEnabled)(JabberStream *js, const gchar *shortname, const gchar *namespace); |
249 | 261 |
250 typedef struct _JabberFeature | 262 typedef struct _JabberFeature |
309 void jabber_convo_closed(PurpleConnection *gc, const char *who); | 321 void jabber_convo_closed(PurpleConnection *gc, const char *who); |
310 PurpleChat *jabber_find_blist_chat(PurpleAccount *account, const char *name); | 322 PurpleChat *jabber_find_blist_chat(PurpleAccount *account, const char *name); |
311 gboolean jabber_offline_message(const PurpleBuddy *buddy); | 323 gboolean jabber_offline_message(const PurpleBuddy *buddy); |
312 int jabber_prpl_send_raw(PurpleConnection *gc, const char *buf, int len); | 324 int jabber_prpl_send_raw(PurpleConnection *gc, const char *buf, int len); |
313 GList *jabber_actions(PurplePlugin *plugin, gpointer context); | 325 GList *jabber_actions(PurplePlugin *plugin, gpointer context); |
326 gboolean jabber_initiate_media(PurpleConnection *gc, const char *who, | |
327 PurpleMediaSessionType type); | |
328 PurpleMediaCaps jabber_get_media_caps(PurpleConnection *gc, const char *who); | |
314 void jabber_register_commands(void); | 329 void jabber_register_commands(void); |
315 void jabber_init_plugin(PurplePlugin *plugin); | 330 void jabber_init_plugin(PurplePlugin *plugin); |
316 | 331 |
317 #endif /* _PURPLE_JABBER_H_ */ | 332 #endif /* _PURPLE_JABBER_H_ */ |