source: mainline/uspace/lib/c/include/uuid.h@ cd1e3fc0

Last change on this file since cd1e3fc0 was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago

Replace some license headers with SPDX identifier

Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.

  • Property mode set to 100644
File size: 525 bytes
Line 
1/*
2 * SPDX-FileCopyrightText: 2015 Jiri Svoboda
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/** @addtogroup libc
8 * @{
9 */
10/** @file
11 */
12
13#ifndef _LIBC_UUID_H_
14#define _LIBC_UUID_H_
15
16#include <stdint.h>
17#include <types/uuid.h>
18#include <stdbool.h>
19
20extern errno_t uuid_generate(uuid_t *);
21extern void uuid_encode(uuid_t *, uint8_t *);
22extern void uuid_decode(uint8_t *, uuid_t *);
23extern errno_t uuid_parse(const char *, uuid_t *, const char **);
24extern errno_t uuid_format(uuid_t *, char **, bool);
25
26#endif
27
28/** @}
29 */
Note: See TracBrowser for help on using the repository browser.