Capture the bound jid.

I'd kind of like to be able to discover the JID with full resource for
some operations.
This commit is contained in:
Dustin Sallings
2009-05-26 12:07:53 -07:00
parent 43facaff45
commit d048124969
4 changed files with 31 additions and 1 deletions

View File

@@ -212,6 +212,7 @@ xmpp_conn_t * xmpp_conn_clone(xmpp_conn_t * const conn);
int xmpp_conn_release(xmpp_conn_t * const conn);
const char *xmpp_conn_get_jid(const xmpp_conn_t * const conn);
const char *xmpp_conn_get_bound_jid(const xmpp_conn_t * const conn);
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);