]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Common/FirmwareVolumeBufferLib.h
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Source / C / Common / FirmwareVolumeBufferLib.h
index 12c64f61724c2daac3ab59cc6ff05540b8a10de5..6b1caba993dce660f1bde9b8469f93c30e1c0401 100644 (file)
@@ -1,21 +1,8 @@
 /** @file\r
+EFI Firmware Volume routines which work on a Fv image in buffers.\r
 \r
-Copyright (c) 1999 - 2008, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-Module Name:\r
-\r
-  FirmwareVolumeBufferLib.h\r
-  \r
-Abstract:\r
-\r
-  EFI Firmware Volume routines which work on a Fv image in buffers.\r
+Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -82,6 +69,16 @@ FvBufExpand3ByteSize (
   IN VOID* Size\r
   );\r
 \r
+UINT32\r
+FvBufGetFfsFileSize (\r
+  IN EFI_FFS_FILE_HEADER *Ffs\r
+  );\r
+\r
+UINT32\r
+FvBufGetFfsHeaderSize (\r
+  IN EFI_FFS_FILE_HEADER *Ffs\r
+  );\r
+\r
 EFI_STATUS\r
 FvBufExtend (\r
   IN VOID **Fv,\r