Astarte Device SDK ESP32
ESP32 device SDK for the Astarte platform
uuid.h
1
/*
2
* (C) Copyright 2019, Ispirata Srl, info@ispirata.com.
3
*
4
* SPDX-License-Identifier: LGPL-2.1+ OR Apache-2.0
5
*/
6
7
#ifndef _UUID_H_
8
#define _UUID_H_
9
10
#include <stddef.h>
11
#include <stdint.h>
12
13
typedef
uint8_t uuid_t[16];
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
29
void
uuid_generate_v5(
const
uuid_t ns,
const
void
*data,
size_t
len, uuid_t out);
30
38
void
uuid_to_string(
const
uuid_t uuid,
char
*out);
39
48
int
uuid_from_string(
const
char
*in, uuid_t uuid);
49
56
void
uuid_generate_v4(uuid_t out);
57
58
#ifdef __cplusplus
59
}
60
#endif
61
62
#endif
// _UUID_H_
include
uuid.h
Generated by
1.9.1