diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-18 12:35:19 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-18 12:39:24 +0100 |
| commit | 4c714f2c24c5df78bae2f35c42c73107de4c8c71 (patch) | |
| tree | b36d2498b8387909dac45c98097b8169636ad25a /Public/Kits/System.Zip/Defines.hpp | |
| parent | a4bfc396a78ddd553de519ab927d8479d0c3c45d (diff) | |
unstable, unrelated: See below.
- :boom: Breaking changes in System.Core.dll
- Framebuffer, moved operator bool into c++ source file.
- Remove zlib in favor of our own Zip API.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Kits/System.Zip/Defines.hpp')
| -rw-r--r-- | Public/Kits/System.Zip/Defines.hpp | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/Public/Kits/System.Zip/Defines.hpp b/Public/Kits/System.Zip/Defines.hpp index 4f954a4e..a894b672 100644 --- a/Public/Kits/System.Zip/Defines.hpp +++ b/Public/Kits/System.Zip/Defines.hpp @@ -1,14 +1,30 @@ -/* - * ======================================================== - * - * h-core - * Copyright Mahrouss Logic, all rights reserved. - * - * ======================================================== - */ +/* ------------------------------------------- + + Copyright Mahrouss Logic + +------------------------------------------- */ #pragma once #include <System.Core/System.hxx> #define ZIPKIT_VERSION "1.01" + +/// @brief Zip compression function +/// @param dest +/// @param destLen +/// @param source +/// @param sourceLen +/// @return +CA_EXTERN_C DWORD HcCompress(BYTE *dest, QWORD *destLen, const BYTE *source, + QWORD sourceLen); + +/// @brief Zip uncompression function +/// @param dest +/// @param destLen +/// @param source +/// @param sourceLen +/// @return +CA_EXTERN_C DWORD HcUncompress(BYTE *dest, QWORD *destLen, + const BYTE *source, QWORD sourceLen); + |
