summaryrefslogtreecommitdiff
path: root/MdePkg/Include
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-27 05:26:03 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-27 05:26:03 +0000
commitc96769e54d649b27f5bb778ed3375c60cdebfe18 (patch)
tree5d98edbd12fd4c49f40f0f668d4c9f3ad9cb56f3 /MdePkg/Include
parent10160456368b728b172f485fce202d1e10f6ee81 (diff)
downloadedk2-platforms-c96769e54d649b27f5bb778ed3375c60cdebfe18.tar.xz
Add new Library Class: CustomDecompressLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2771 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/Library/CustomDecompressLib.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/MdePkg/Include/Library/CustomDecompressLib.h b/MdePkg/Include/Library/CustomDecompressLib.h
new file mode 100644
index 0000000000..6e43e3a154
--- /dev/null
+++ b/MdePkg/Include/Library/CustomDecompressLib.h
@@ -0,0 +1,42 @@
+/*++
+
+Copyright (c) 2007, Intel Corporation
+All rights reserved. This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ CustomDecompressLib.h
+
+Abstract:
+
+ Custom Decompress Functions
+
+--*/
+
+#ifndef __CUSTOM_DECPOMPRESS_LIB_H__
+#define __CUSTOM_DECPOMPRESS_LIB_H__
+
+RETURN_STATUS
+EFIAPI
+CustomDecompressGetInfo (
+ IN CONST VOID *Source,
+ IN UINT32 SourceSize,
+ OUT UINT32 *DestinationSize,
+ OUT UINT32 *ScratchSize
+ );
+
+RETURN_STATUS
+EFIAPI
+CustomDecompress (
+ IN CONST VOID *Source,
+ IN OUT VOID *Destination,
+ IN OUT VOID *Scratch
+ );
+
+#endif