Make tls_new accept xmpp_conn_t

This commit is contained in:
Alexander Krotov
2017-06-23 02:59:05 +03:00
parent f776b34d8c
commit c9ddc2b7ef
6 changed files with 16 additions and 16 deletions

View File

@@ -24,7 +24,7 @@ typedef struct _tls tls_t;
void tls_initialize(void);
void tls_shutdown(void);
tls_t *tls_new(xmpp_ctx_t *ctx, sock_t sock);
tls_t *tls_new(xmpp_conn_t *conn);
void tls_free(tls_t *tls);
int tls_set_credentials(tls_t *tls, const char *cafilename);