Implemented UUID generation (RFC4122)

This patch adds new API:
  * xmpp_uuid_gen()
This commit is contained in:
Dmitry Podgorny
2015-10-12 15:17:22 +03:00
parent 5e64c850bd
commit 8627fbb13f
5 changed files with 103 additions and 2 deletions

View File

@@ -363,6 +363,9 @@ void xmpp_iq_new();
void xmpp_presence_new();
*/
/** UUID **/
char *xmpp_uuid_gen(xmpp_ctx_t *ctx);
/** event loop **/
void xmpp_run_once(xmpp_ctx_t *ctx, const unsigned long timeout);
void xmpp_run(xmpp_ctx_t *ctx);