From f4c338c63f3456a8eccd56c35e233843687d55be Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 29 Mar 2019 00:43:25 +0800 Subject: *thread --- source/3rd-party/uuid4/uuid4.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 source/3rd-party/uuid4/uuid4.h (limited to 'source/3rd-party/uuid4/uuid4.h') diff --git a/source/3rd-party/uuid4/uuid4.h b/source/3rd-party/uuid4/uuid4.h new file mode 100644 index 0000000..fb3ed2f --- /dev/null +++ b/source/3rd-party/uuid4/uuid4.h @@ -0,0 +1,22 @@ +/** + * Copyright (c) 2018 rxi + * + * This library is free software; you can redistribute it and/or modify it + * under the terms of the MIT license. See LICENSE for details. + */ + +#ifndef UUID4_H +#define UUID4_H + +#define UUID4_VERSION "1.0.0" +#define UUID4_LEN 37 + +enum { + UUID4_ESUCCESS = 0, + UUID4_EFAILURE = -1 +}; + +int uuid4_init(void); +void uuid4_generate(char *dst); + +#endif -- cgit v1.1-26-g67d0