| 140 * on the rest of the stuff being in the right place |
140 * on the rest of the stuff being in the right place |
| 141 */ |
141 */ |
| 142 #ifdef HAVE_CYRUS_SASL |
142 #ifdef HAVE_CYRUS_SASL |
| 143 sasl_conn_t *sasl; |
143 sasl_conn_t *sasl; |
| 144 sasl_callback_t *sasl_cb; |
144 sasl_callback_t *sasl_cb; |
| |
145 #else /* keep the struct the same size */ |
| |
146 void *sasl; |
| |
147 void *sasl_cb; |
| |
148 #endif |
| |
149 |
| 145 int sasl_state; |
150 int sasl_state; |
| 146 int sasl_maxbuf; |
151 int sasl_maxbuf; |
| 147 GString *sasl_mechs; |
152 GString *sasl_mechs; |
| 148 char *serverFQDN; |
153 char *serverFQDN; |
| 149 #endif |
154 |
| |
155 gboolean vcard_fetched; |
| 150 |
156 |
| 151 } JabberStream; |
157 } JabberStream; |
| 152 |
158 |
| 153 void jabber_process_packet(JabberStream *js, xmlnode *packet); |
159 void jabber_process_packet(JabberStream *js, xmlnode *packet); |
| 154 void jabber_send(JabberStream *js, xmlnode *data); |
160 void jabber_send(JabberStream *js, xmlnode *data); |