20 lines
382 B
C
20 lines
382 B
C
|
//
|
||
|
// Created by nicol on 2018-03-18.
|
||
|
//
|
||
|
|
||
|
#ifndef ESC_UUID_H
|
||
|
#define ESC_UUID_H
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
struct st_uuid {
|
||
|
uint8_t data[16];
|
||
|
};
|
||
|
typedef struct st_uuid esc_uuid_t;
|
||
|
|
||
|
const esc_uuid_t* esc_uuid_create();
|
||
|
const esc_uuid_t* esc_uuid_from(uint8_t* src, size_t size);
|
||
|
const char* esc_uuid_format(const esc_uuid_t* uuid, char* buffer, size_t buf_size);
|
||
|
|
||
|
#endif //ESC_UUID_H
|