Publicly expose JID manipulation functions

This commit is contained in:
Tristan Le Guern
2015-09-27 20:53:55 +02:00
committed by Dmitry Podgorny
parent 07751974ac
commit a4558b69df
3 changed files with 20 additions and 13 deletions

View File

@@ -82,17 +82,6 @@ void xmpp_debug(const xmpp_ctx_t * const ctx,
const char * const fmt,
...);
/** jid */
/* these return new strings that must be xmpp_free()'d */
char *xmpp_jid_new(xmpp_ctx_t *ctx, const char *node,
const char *domain,
const char *resource);
char *xmpp_jid_bare(xmpp_ctx_t *ctx, const char *jid);
char *xmpp_jid_node(xmpp_ctx_t *ctx, const char *jid);
char *xmpp_jid_domain(xmpp_ctx_t *ctx, const char *jid);
char *xmpp_jid_resource(xmpp_ctx_t *ctx, const char *jid);
/** connection **/
/* opaque connection object */