Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/jabber.h @ 26162:88f183f7dfc7
Add automatic discovery of GTalk STUN servers when using a Gtalk account
Is used for STUN candidate genration, unless a STUN server is set in prefs
Does not handle GTalk relay setup yet
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Tue, 03 Feb 2009 21:37:27 +0000 |
parents | 59188d904773 |
children | d6e23439b77c |
comparison
equal
deleted
inserted
replaced
26161:2b843d38d1f2 | 26162:88f183f7dfc7 |
---|---|
56 #include "dnssrv.h" | 56 #include "dnssrv.h" |
57 #include "media.h" | 57 #include "media.h" |
58 #include "mediamanager.h" | 58 #include "mediamanager.h" |
59 #include "roomlist.h" | 59 #include "roomlist.h" |
60 #include "sslconn.h" | 60 #include "sslconn.h" |
61 #include "dnsquery.h" | |
61 | 62 |
62 #include "jutil.h" | 63 #include "jutil.h" |
63 #include "xmlnode.h" | 64 #include "xmlnode.h" |
64 #include "buddy.h" | 65 #include "buddy.h" |
65 | 66 |
248 /* keep a hash table of JingleSessions */ | 249 /* keep a hash table of JingleSessions */ |
249 GHashTable *sessions; | 250 GHashTable *sessions; |
250 #ifdef USE_VV | 251 #ifdef USE_VV |
251 GHashTable *medias; | 252 GHashTable *medias; |
252 #endif | 253 #endif |
254 | |
255 /* maybe this should only be present when USE_VV? */ | |
256 gchar *stun_ip; | |
257 int stun_port; | |
258 PurpleDnsQueryData *stun_query; | |
259 /* later add stuff to handle TURN relays... */ | |
253 }; | 260 }; |
254 | 261 |
255 typedef gboolean (JabberFeatureEnabled)(JabberStream *js, const gchar *shortname, const gchar *namespace); | 262 typedef gboolean (JabberFeatureEnabled)(JabberStream *js, const gchar *shortname, const gchar *namespace); |
256 | 263 |
257 typedef struct _JabberFeature | 264 typedef struct _JabberFeature |