/***************************************************************************
*                                                                          *
*  Copyright (C) Golaem S.A.  All Rights Reserved.                         *
*                                                                          *
***************************************************************************/

#pragma once

#include "glmCrowdIOAPI.h"

#define MINIZ_HEADER_FILE_ONLY
#define MINIZ_NO_ZLIB_COMPATIBLE_NAMES
#include "miniz.c"
#undef MINIZ_HEADER_FILE_ONLY
#undef MINIZ_NO_ZLIB_COMPATIBLE_NAMES

#ifdef __cplusplus
extern "C"
{
#endif
	// for internal use 
	extern int mz_compress(unsigned char *pDest, unsigned long *pDest_len, const unsigned char *pSource, unsigned long source_len);
	extern int mz_uncompress(unsigned char *pDest, unsigned long *pDest_len, const unsigned char *pSource, unsigned long source_len);

#ifdef __cplusplus
}

#endif
