diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-03-19 15:01:25 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-03-19 15:01:25 +0000 |
commit | 1a84facf12b07a5e5375822015b56cf320821055 (patch) | |
tree | 572ac66f92d4ed66f22dabb3a564560f4f24d922 /src/include | |
parent | 88c2a01e1aeb56335f893ac865d36f0fa843864c (diff) | |
download | ipxe-1a84facf12b07a5e5375822015b56cf320821055.zip ipxe-1a84facf12b07a5e5375822015b56cf320821055.tar.gz ipxe-1a84facf12b07a5e5375822015b56cf320821055.tar.bz2 |
[efi] Add efi_path_uri() to parse a URI from an EFI device path
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ipxe/efi/efi_path.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_path.h b/src/include/ipxe/efi/efi_path.h index 20ff43f..503bd43 100644 --- a/src/include/ipxe/efi/efi_path.h +++ b/src/include/ipxe/efi/efi_path.h @@ -45,6 +45,7 @@ efi_path_end ( EFI_DEVICE_PATH_PROTOCOL *path ); extern size_t efi_path_len ( EFI_DEVICE_PATH_PROTOCOL *path ); extern unsigned int efi_path_vlan ( EFI_DEVICE_PATH_PROTOCOL *path ); extern int efi_path_guid ( EFI_DEVICE_PATH_PROTOCOL *path, union uuid *uuid ); +extern struct uri * efi_path_uri ( EFI_DEVICE_PATH_PROTOCOL *path ); extern EFI_DEVICE_PATH_PROTOCOL * efi_paths ( EFI_DEVICE_PATH_PROTOCOL *first, ... ); extern EFI_DEVICE_PATH_PROTOCOL * efi_netdev_path ( struct net_device *netdev ); |