source:
mainline/uspace/lib/c/include/uuid.h@
b57ba05
| Last change on this file since b57ba05 was d7f7a4a, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 525 bytes | |
| Rev | Line | |
|---|---|---|
| [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] | 20 | extern errno_t uuid_generate(uuid_t *); |
| [70815a24] | 21 | extern void uuid_encode(uuid_t *, uint8_t *); |
| 22 | extern void uuid_decode(uint8_t *, uuid_t *); | |
| [b7fd2a0] | 23 | extern errno_t uuid_parse(const char *, uuid_t *, const char **); |
| [6c707e4] | 24 | extern 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.
