From 099e4d39b355a10b0bc7d23bb0e96615bf06470b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 22 Dec 2022 13:33:38 +0000 Subject: [efi] Expose efi_path_next() utility function Provide a single central implementation of the logic for stepping through elements of an EFI device path. Signed-off-by: Michael Brown --- src/include/ipxe/efi/efi_path.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/ipxe/efi/efi_path.h b/src/include/ipxe/efi/efi_path.h index 76ded728c..18810a751 100644 --- a/src/include/ipxe/efi/efi_path.h +++ b/src/include/ipxe/efi/efi_path.h @@ -21,6 +21,8 @@ struct fcp_description; struct ib_srp_device; struct usb_function; +extern EFI_DEVICE_PATH_PROTOCOL * +efi_path_next ( EFI_DEVICE_PATH_PROTOCOL *path ); extern EFI_DEVICE_PATH_PROTOCOL * efi_path_end ( EFI_DEVICE_PATH_PROTOCOL *path ); extern size_t efi_path_len ( EFI_DEVICE_PATH_PROTOCOL *path ); -- cgit v1.2.3-55-g7522