Publicly expose JID manipulation functions
This commit is contained in:
committed by
Dmitry Podgorny
parent
07751974ac
commit
a4558b69df
10
strophe.h
10
strophe.h
@@ -365,6 +365,16 @@ void xmpp_iq_new();
|
||||
void xmpp_presence_new();
|
||||
*/
|
||||
|
||||
/** 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);
|
||||
|
||||
/** UUID **/
|
||||
char *xmpp_uuid_gen(xmpp_ctx_t *ctx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user