Added option to disable TLS

The connection object includes a tls_support flag, which can
be disabled with xmpp_conn_disable_tls().
This commit is contained in:
James Booth
2012-05-20 01:50:32 +01:00
parent cc979d4811
commit 9615a55856
4 changed files with 21 additions and 3 deletions

View File

@@ -217,6 +217,7 @@ void xmpp_conn_set_jid(xmpp_conn_t * const conn, const char * const jid);
const char *xmpp_conn_get_pass(const xmpp_conn_t * const conn);
void xmpp_conn_set_pass(xmpp_conn_t * const conn, const char * const pass);
xmpp_ctx_t* xmpp_conn_get_context(xmpp_conn_t * const conn);
void xmpp_conn_disable_tls(xmpp_conn_t * const conn);
int xmpp_connect_client(xmpp_conn_t * const conn,
const char * const altdomain,