Strophe 0.12
XMPP client library
|
JID creation and parsing. More...
Functions | |
char * | xmpp_jid_new (xmpp_ctx_t *ctx, const char *node, const char *domain, const char *resource) |
Create a JID string from component parts node, domain, and resource. More... | |
char * | xmpp_jid_bare (xmpp_ctx_t *ctx, const char *jid) |
Create a bare JID from a JID. More... | |
char * | xmpp_jid_node (xmpp_ctx_t *ctx, const char *jid) |
Create a node string from a JID. More... | |
char * | xmpp_jid_domain (xmpp_ctx_t *ctx, const char *jid) |
Create a domain string from a JID. More... | |
char * | xmpp_jid_resource (xmpp_ctx_t *ctx, const char *jid) |
Create a resource string from a JID. More... | |
JID creation and parsing.
char * xmpp_jid_new | ( | xmpp_ctx_t * | ctx, |
const char * | node, | ||
const char * | domain, | ||
const char * | resource | ||
) |
Create a JID string from component parts node, domain, and resource.
ctx | the Strophe context object |
node | a string representing the node |
domain | a string representing the domain. Required. |
resource | a string representing the resource |
char * xmpp_jid_bare | ( | xmpp_ctx_t * | ctx, |
const char * | jid | ||
) |
Create a bare JID from a JID.
ctx | the Strophe context object |
jid | the JID |
char * xmpp_jid_node | ( | xmpp_ctx_t * | ctx, |
const char * | jid | ||
) |
Create a node string from a JID.
ctx | a Strophe context object |
jid | the JID |
char * xmpp_jid_domain | ( | xmpp_ctx_t * | ctx, |
const char * | jid | ||
) |
Create a domain string from a JID.
ctx | the Strophe context object |
jid | the JID |
char * xmpp_jid_resource | ( | xmpp_ctx_t * | ctx, |
const char * | jid | ||
) |
Create a resource string from a JID.
ctx | a Strophe context object |
jid | the JID |