Commit 7ca6122e by Francois Gygi

moved uuid to new file name


git-svn-id: http://qboxcode.org/svn/qb/trunk@787 cba15fb0-1239-40c8-b417-11db7ca47a34
parent a1b4c023
#include <uuid/uuid.h>
#include "uuid_str.h"
using namespace std;
std::string uuid_str(void)
{
unsigned char uuid_c[16];
char s[36];
// generate uuid
uuid_generate_time(uuid_c);
// convert to string
uuid_unparse(uuid_c,s);
return string(s);
}
#include <string>
std::string uuid_str(void);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment