diff libpurple/protocols/jabber/jabber.h @ 30926:196e4c5b2043

Some unfinished code to take advantage of Google's relays
author Marcus Lundblad <ml@update.uu.se>
date Mon, 31 Aug 2009 20:23:51 +0000
parents b357216b7b79
children e0796db1df8a
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.h	Mon Aug 31 20:10:35 2009 +0000
+++ b/libpurple/protocols/jabber/jabber.h	Mon Aug 31 20:23:51 2009 +0000
@@ -272,7 +272,12 @@
 	gchar *stun_ip;
 	int stun_port;
 	PurpleDnsQueryData *stun_query;
-	/* later add stuff to handle TURN relays... */
+
+	/* stuff for Google's relay handling */
+	gchar *google_relay_token;
+	gchar *google_relay_host;
+	PurpleUtilFetchUrlData *google_relay_request; /* the HTTP request to get */
+												/* relay info */
 };
 
 typedef gboolean (JabberFeatureEnabled)(JabberStream *js, const gchar *namespace);