]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/jabber/serv_xmpp.h
we have the iq-query-xmlns nonsense all framed up
[citadel.git] / citadel / modules / jabber / serv_xmpp.h
index 7a902fcd6f9e36e869dfb3abf0c59d36a99f794a..33b1a74b655d6dfc846fd95131359c402479c4e0 100644 (file)
@@ -12,9 +12,11 @@ struct citxmpp {                     /* Information about the current session */
        char client_jid[256];           /* "full JID" of the client */
 
        char iq_type[256];
-       char iq_bind_id[256];           /* for <iq> stanzas */
+       char iq_id[256];                /* for <iq> stanzas */
+       char iq_to[256];                /* for <iq> stanzas */
        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> */
 
        char sasl_auth_mech[32];        /* SASL auth mechanism requested by the client */
 };
@@ -26,3 +28,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 *);