comparison libpurple/protocols/jabber/jabber.h @ 29602:6e598ca344b3

jabber: Clear the stream header when restarting a stream, and be much stricter about the first tag in a stream.
author Paul Aurich <paul@darkrain42.org>
date Fri, 12 Mar 2010 06:25:15 +0000
parents 618c4165d4f8
children 3ac7f10d13d4
comparison
equal deleted inserted replaced
29601:f5f3c5134eb7 29602:6e598ca344b3
110 guint8 minor; 110 guint8 minor;
111 } protocol_version; 111 } protocol_version;
112 112
113 JabberSaslMech *auth_mech; 113 JabberSaslMech *auth_mech;
114 gpointer auth_mech_data; 114 gpointer auth_mech_data;
115
116 /**
117 * The header from the opening <stream/> tag. This being NULL is treated
118 * as a special condition in the parsing code (signifying the next
119 * stanza started is an opening stream tag), and its being missing on
120 * the stream header is treated as a fatal error.
121 */
115 char *stream_id; 122 char *stream_id;
116 JabberStreamState state; 123 JabberStreamState state;
117 124
118 /* SASL authentication */ 125 /* SASL authentication */
119 char *expected_rspauth; 126 char *expected_rspauth;