diff libpurple/protocols/jabber/jabber.h @ 25648:16543025aed1

Moved jingle.c global variable "sessions" into JabberStream. Allows media sessions between two accounts in the same client.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Sat, 24 May 2008 01:40:34 +0000
parents 69d54f84350a
children cbe97caec684
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.h	Fri May 23 02:42:32 2008 +0000
+++ b/libpurple/protocols/jabber/jabber.h	Sat May 24 01:40:34 2008 +0000
@@ -203,6 +203,11 @@
 	
 	/* A purple timeout tag for the keepalive */
 	int keepalive_timeout;
+
+#ifdef USE_FARSIGHT
+	/* keep a hash table of JingleSessions */
+	GHashTable *sessions;
+#endif
 };
 
 typedef gboolean (JabberFeatureEnabled)(JabberStream *js, const gchar *shortname, const gchar *namespace);