Home | History | Annotate | Download | only in Guid
      1 /** @file
      2 
      3   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
      4 
      5   This program and the accompanying materials
      6   are licensed and made available under the terms and conditions of the BSD License
      7   which accompanies this distribution.  The full text of the license may be found at
      8   http://opensource.org/licenses/bsd-license.php
      9 
     10   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     11   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     12 
     13 **/
     14 
     15 #ifndef __EXTRACT_SECTION_GUID_H__
     16 #define __EXTRACT_SECTION_GUID_H__
     17 
     18 #include <Library/ExtractGuidedSectionLib.h>
     19 
     20 
     21 //
     22 // The GUID for this protocol mathes the Decompression scheme being used
     23 // So for example LZMA would be gLzmaCustomDecompressGuid
     24 //
     25 typedef struct {
     26   EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER   SectionGetInfo;
     27   EXTRACT_GUIDED_SECTION_DECODE_HANDLER     SectionExtraction;
     28 } EXTRACT_SECTION_DATA;
     29 
     30 typedef struct {
     31   EFI_HOB_GUID_TYPE     Hob;
     32   EXTRACT_SECTION_DATA  Data;
     33 } EXTRACT_SECTION_HOB;
     34 
     35 #endif
     36 
     37