aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-01-24 22:49:47 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2008-01-24 22:49:47 +0000
commitb5c8a34aeff244ffe7a9f4bd5edf827495d0deea (patch)
tree150af59ea988a4d63e9b9a080db224ffcd84ffab /protocols/jabber/jabber.h
parent613cc5583465b2fa35288a2f28d0e408904c4fd9 (diff)
Keeping track of valid Jabber connections so _connected() events will be
ignored if the connection's dead already. Necessary if using GLib for event handling for now. :-/
Diffstat (limited to 'protocols/jabber/jabber.h')
-rw-r--r--protocols/jabber/jabber.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/jabber/jabber.h b/protocols/jabber/jabber.h
index f673ee0d..cf0f8e6a 100644
--- a/protocols/jabber/jabber.h
+++ b/protocols/jabber/jabber.h
@@ -29,6 +29,8 @@
#include "xmltree.h"
#include "bitlbee.h"
+extern GSList *jabber_connections;
+
typedef enum
{
JFLAG_STREAM_STARTED = 1, /* Set when we detected the beginning of the stream