6 struct citxmpp { /* Information about the current session */
7 XML_Parser xp; /* XML parser instance for incoming client stream */
8 char server_name[256]; /* who they think we are */
12 char client_jid[256]; /* "full JID" of the client */
13 int last_event_processed;
15 char iq_type[256]; /* for <iq> stanzas */
19 char iq_client_resource[256]; /* resource name requested by the client */
20 int iq_session; /* nonzero == client is requesting a session */
21 char iq_query_xmlns[256]; /* Namespace of <query> */
23 char sasl_auth_mech[32]; /* SASL auth mechanism requested by the client */
26 #define XMPP ((struct citxmpp *)CC->session_specific_data)
29 struct xmpp_event *next;
36 extern struct xmpp_event *xmpp_queue;
43 void xmpp_cleanup_function(void);
44 void xmpp_greeting(void);
45 void xmpp_command_loop(void);
46 void xmpp_async_loop(void);
47 void xmpp_sasl_auth(char *, char *);
48 void xmpp_output_auth_mechs(void);
49 void xmpp_query_namespace(char *, char *, char *, char *);
50 void jabber_wholist_presence_dump(void);
51 void jabber_output_incoming_messages(void);
52 void xmpp_queue_event(int, char *);
53 void xmpp_process_events(void);