ExtractSection.h 690 B

12345678910111213141516171819202122232425262728
  1. /** @file
  2. Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
  3. SPDX-License-Identifier: BSD-2-Clause-Patent
  4. **/
  5. #ifndef __EXTRACT_SECTION_GUID_H__
  6. #define __EXTRACT_SECTION_GUID_H__
  7. #include <Library/ExtractGuidedSectionLib.h>
  8. //
  9. // The GUID for this protocol mathes the Decompression scheme being used
  10. // So for example LZMA would be gLzmaCustomDecompressGuid
  11. //
  12. typedef struct {
  13. EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER SectionGetInfo;
  14. EXTRACT_GUIDED_SECTION_DECODE_HANDLER SectionExtraction;
  15. } EXTRACT_SECTION_DATA;
  16. typedef struct {
  17. EFI_HOB_GUID_TYPE Hob;
  18. EXTRACT_SECTION_DATA Data;
  19. } EXTRACT_SECTION_HOB;
  20. #endif