XEP-0114: external component authentication

New API xmpp_connect_component() introduced.
This commit is contained in:
Milan Kubík
2014-08-26 13:31:52 +03:00
committed by Dmitry Podgorny
parent 37a40dec23
commit 5d76e052ec
4 changed files with 196 additions and 4 deletions

View File

@@ -222,9 +222,10 @@ int xmpp_connect_client(xmpp_conn_t * const conn,
xmpp_conn_handler callback,
void * const userdata);
/*
int xmpp_connect_component(conn, name)
*/
int xmpp_connect_component(xmpp_conn_t * const conn, const char * const server,
unsigned short port, xmpp_conn_handler callback,
void * const userdata);
void xmpp_disconnect(xmpp_conn_t * const conn);
void xmpp_send(xmpp_conn_t * const conn,