Move uuid functions

This commit is contained in:
James Booth
2016-05-06 01:16:13 +01:00
parent d1c71e98f4
commit 31b0f0b0c8
5 changed files with 20 additions and 20 deletions

View File

@@ -176,6 +176,20 @@ connection_get_fulljid(void)
return xmpp_conn_get_jid(conn.conn);
}
char*
connection_create_uuid(void)
{
return xmpp_uuid_gen(conn.ctx);
}
void
connection_free_uuid(char *uuid)
{
if (uuid) {
xmpp_free(conn.ctx, uuid);
}
}
char *
connection_get_domain(void)
{