diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-02-29 14:04:47 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-02-29 15:20:44 +0000 |
commit | 0eb8fbd0bfc9331ecdcd74c9406251e5a6e450af (patch) | |
tree | d97117bda5d15127bbb272ef70a007ee14aebc62 /src/include/ipxe/parseopt.h | |
parent | da7b2662890dfb284786f37237a6c92809eee217 (diff) | |
download | ipxe-0eb8fbd0bfc9331ecdcd74c9406251e5a6e450af.tar.gz |
[settings] Add parsing for UUID and GUID settings types
The ":uuid" and ":guid" settings types are currently format-only: it
is possible to format a setting as a UUID (via e.g. "show foo:uuid")
but it is not currently possible to parse a string into a UUID setting
(via e.g. "set foo:uuid 406343fe-998b-44be-8a28-44ca38cb202b").
Use uuid_aton() to implement parsing of these settings types, and add
appropriate test cases for both.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/parseopt.h')
0 files changed, 0 insertions, 0 deletions