Publicly expose JID manipulation functions
This commit is contained in:
committed by
Dmitry Podgorny
parent
07751974ac
commit
a4558b69df
12
ChangeLog
12
ChangeLog
@@ -1,8 +1,16 @@
|
|||||||
0.8.9
|
0.8.9
|
||||||
- IPv6 support
|
- IPv6 support
|
||||||
- Old style SSL support
|
- Old style SSL support
|
||||||
- New API xmpp_uuid_gen()
|
- New API:
|
||||||
- New API xmpp_conn_is_secured()
|
- xmpp_uuid_gen()
|
||||||
|
- xmpp_conn_set_old_style_ssl()
|
||||||
|
- xmpp_conn_is_secured()
|
||||||
|
- Exposed private API:
|
||||||
|
- xmpp_jid_new()
|
||||||
|
- xmpp_jid_bare()
|
||||||
|
- xmpp_jid_node()
|
||||||
|
- xmpp_jid_domain()
|
||||||
|
- xmpp_jid_resource()
|
||||||
|
|
||||||
0.8.8
|
0.8.8
|
||||||
- XML namespace support
|
- XML namespace support
|
||||||
|
|||||||
11
src/common.h
11
src/common.h
@@ -82,17 +82,6 @@ void xmpp_debug(const xmpp_ctx_t * const ctx,
|
|||||||
const char * const fmt,
|
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 **/
|
/** connection **/
|
||||||
|
|
||||||
/* opaque connection object */
|
/* opaque connection object */
|
||||||
|
|||||||
10
strophe.h
10
strophe.h
@@ -365,6 +365,16 @@ void xmpp_iq_new();
|
|||||||
void xmpp_presence_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 **/
|
/** UUID **/
|
||||||
char *xmpp_uuid_gen(xmpp_ctx_t *ctx);
|
char *xmpp_uuid_gen(xmpp_ctx_t *ctx);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user