summaryrefslogtreecommitdiff
path: root/Source/external/uuid4/uuid4.h
blob: fb3ed2f2a0f8d9132623db56279aa4bb2e401ab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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