]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/jabber/serv_xmpp.h
Deliver a reply to a Jabber 'roster' query.
[citadel.git] / citadel / modules / jabber / serv_xmpp.h
index 33b1a74b655d6dfc846fd95131359c402479c4e0..0c97c0fbc5ef6bb05d9ff56bf89ab0ba56cba046 100644 (file)
@@ -11,9 +11,10 @@ struct citxmpp {                     /* Information about the current session */
        int chardata_alloc;
        char client_jid[256];           /* "full JID" of the client */
 
-       char iq_type[256];
-       char iq_id[256];                /* for <iq> stanzas */
-       char iq_to[256];                /* for <iq> stanzas */
+       char iq_type[256];              /* for <iq> stanzas */
+       char iq_id[256];
+       char iq_from[256];
+       char iq_to[256];
        char iq_client_resource[256];   /* resource name requested by the client */
        int iq_session;                 /* nonzero == client is requesting a session */
        char iq_query_xmlns[256];       /* Namespace of <query> */
@@ -28,4 +29,4 @@ void xmpp_greeting(void);
 void xmpp_command_loop(void);
 void xmpp_sasl_auth(char *, char *);
 void xmpp_output_auth_mechs(void);
-void xmpp_query_namespace(char *, char *, char *);
+void xmpp_query_namespace(char *, char *, char *, char *);