diff options
| author | Peter Jones <pjones@redhat.com> | 2025-01-17 14:13:46 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2025-01-17 14:45:32 -0500 |
| commit | 1508ece179267943bad5851010eba8c00570c0ed (patch) | |
| tree | b69dbd48a7b4f444d5f39b89566b062b6c361eb3 /include | |
| parent | 27562ea4cecb9e332080bc77c644c3e0612b73a9 (diff) | |
| download | efi-boot-shim-1508ece179267943bad5851010eba8c00570c0ed.tar.gz efi-boot-shim-1508ece179267943bad5851010eba8c00570c0ed.zip | |
Move is_removable_media_path() to a shared location.
We need to use is_removable_media_path(), and potentially other helpers,
from Mok as well as shim.
This moves it to a file just for Device Path utility functions to make
that simpler.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/dp.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/dp.h b/include/dp.h new file mode 100644 index 00000000..884c1460 --- /dev/null +++ b/include/dp.h @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: BSD-2-Clause-Patent +/* + * dp.h - device path helper functions + * Copyright Peter Jones <pjones@redhat.com> + */ + +#ifndef DP_H_ +#define DP_H_ + +int +is_removable_media_path(EFI_LOADED_IMAGE *li); + +#endif /* !DP_H_ */ +// vim:fenc=utf-8:tw=75:noet |
