Define an XMPP queue...
[citadel.git] / citadel / modules / jabber / serv_xmpp.h
index f6f3438a4701fd3b94cf20a445b18a2445924297..ec488308c026f94f2938b1c277d1cda5d3811c3f 100644 (file)
@@ -24,6 +24,14 @@ struct citxmpp {                     /* Information about the current session */
 
 #define XMPP ((struct citxmpp *)CC->session_specific_data)
 
+struct xmpp_event {
+       struct xmpp_event *next;
+       int event_type;
+       char event_jid[256];
+};
+
+extern struct xmpp_event *xmpp_queue;
+
 void xmpp_cleanup_function(void);
 void xmpp_greeting(void);
 void xmpp_command_loop(void);