]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/jabber/serv_xmpp.h
Jabber chat is now working in both directions
[citadel.git] / citadel / modules / jabber / serv_xmpp.h
index fac8d3731931cc1283b211ca8ebd5b4c448541c0..b9140bd5c2df4f1627485dbcfcc32d7c5dfb2434 100644 (file)
@@ -21,6 +21,9 @@ struct citxmpp {                      /* Information about the current session */
        char iq_query_xmlns[256];       /* Namespace of <query> */
 
        char sasl_auth_mech[32];        /* SASL auth mechanism requested by the client */
+
+       char message_to[256];
+       char *message_body;             /* Message body in transit */
 };
 
 #define XMPP ((struct citxmpp *)CC->session_specific_data)
@@ -55,3 +58,4 @@ void xmpp_queue_event(int, char *);
 void xmpp_process_events(void);
 void xmpp_presence_notify(char *, char *);
 void jabber_roster_item(struct CitContext *);
+void jabber_send_message(char *, char *);