From 4c714f2c24c5df78bae2f35c42c73107de4c8c71 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 18 Mar 2024 12:35:19 +0100 Subject: 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 --- Public/Kits/System.Zip/Defines.hpp | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) (limited to 'Public/Kits/System.Zip/Defines.hpp') 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 #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); + -- cgit v1.2.3