|
iPXE
|
Universally unique IDs. More...
#include <stdint.h>#include <stdio.h>#include <errno.h>#include <byteswap.h>#include <ipxe/base16.h>#include <ipxe/uuid.h>Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| const char * | uuid_ntoa (const union uuid *uuid) |
| Convert UUID to printable string. More... | |
| int | uuid_aton (const char *string, union uuid *uuid) |
| Parse UUID. More... | |
Universally unique IDs.
Definition in file uuid.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| const char* uuid_ntoa | ( | const union uuid * | uuid | ) |
Convert UUID to printable string.
| uuid | UUID |
| string | UUID in canonical form |
Definition at line 45 of file uuid.c.
References uuid::a, uuid::b, be16_to_cpu, be32_to_cpu, uuid::c, uuid::canonical, uuid::d, uuid::e, and sprintf.
Referenced by efi_block_match(), efi_guid_ntoa(), format_uuid_setting(), iscsi_fetch_settings(), peerdisc_create(), uuid_aton_okx(), uuid_ntoa_okx(), vmbus_probe_channels(), and vmbus_reset_channels().
| int uuid_aton | ( | const char * | string, |
| union uuid * | uuid | ||
| ) |
Parse UUID.
| string | UUID string |
| uuid | UUID to fill in |
| rc | Return status code |
Definition at line 66 of file uuid.c.
References EINVAL, hex_decode(), HEX_DECODE_OPTIONAL, len, uuid::raw, and rc.
Referenced by parse_uuid(), parse_uuid_setting(), uuid_aton_fail_okx(), and uuid_aton_okx().
1.8.15