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

Last change on this file since b57ba05 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
RevLine 
[70815a24]1/*
[d7f7a4a]2 * SPDX-FileCopyrightText: 2015 Jiri Svoboda
[70815a24]3 *
[d7f7a4a]4 * SPDX-License-Identifier: BSD-3-Clause
[70815a24]5 */
6
7/** @addtogroup libc
8 * @{
9 */
10/** @file
11 */
12
[4805495]13#ifndef _LIBC_UUID_H_
14#define _LIBC_UUID_H_
[70815a24]15
16#include <stdint.h>
[f57ccb5]17#include <types/uuid.h>
[6c707e4]18#include <stdbool.h>
[70815a24]19
[b7fd2a0]20extern errno_t uuid_generate(uuid_t *);
[70815a24]21extern void uuid_encode(uuid_t *, uint8_t *);
22extern void uuid_decode(uint8_t *, uuid_t *);
[b7fd2a0]23extern errno_t uuid_parse(const char *, uuid_t *, const char **);
[6c707e4]24extern errno_t uuid_format(uuid_t *, char **, bool);
[70815a24]25
26#endif
27
28/** @}
29 */
Note: See TracBrowser for help on using the repository browser.