// This is a generated source file for Chilkat version 11.5.0
#ifndef _C_CkBz2WH
#define _C_CkBz2WH
#include "chilkatDefs.h"

#include "ck_inttypes.h"
#include "Chilkat_C.h"


CK_C_VISIBLE_PUBLIC void CkBz2W_setAbortCheck(HCkBz2W cHandle, BOOL (*fnAbortCheck)(void));
CK_C_VISIBLE_PUBLIC void CkBz2W_setPercentDone(HCkBz2W cHandle, BOOL (*fnPercentDone)(int pctDone));
CK_C_VISIBLE_PUBLIC void CkBz2W_setProgressInfo(HCkBz2W cHandle, void (*fnProgressInfo)(const wchar_t *name, const wchar_t *value));
CK_C_VISIBLE_PUBLIC void CkBz2W_setTaskCompleted(HCkBz2W cHandle, void (*fnTaskCompleted)(HCkTaskW hTask));

CK_C_VISIBLE_PUBLIC HCkBz2W CkBz2W_Create(void);
CK_C_VISIBLE_PUBLIC void CkBz2W_Dispose(HCkBz2W handle);
CK_C_VISIBLE_PUBLIC BOOL CkBz2W_getAbortCurrent(HCkBz2W cHandle);
CK_C_VISIBLE_PUBLIC void  CkBz2W_putAbortCurrent(HCkBz2W cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC void CkBz2W_getDebugLogFilePath(HCkBz2W cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void  CkBz2W_putDebugLogFilePath(HCkBz2W cHandle, const wchar_t *newVal);
CK_C_VISIBLE_PUBLIC const wchar_t *CkBz2W_debugLogFilePath(HCkBz2W cHandle);
CK_C_VISIBLE_PUBLIC int CkBz2W_getHeartbeatMs(HCkBz2W cHandle);
CK_C_VISIBLE_PUBLIC void  CkBz2W_putHeartbeatMs(HCkBz2W cHandle, int newVal);
CK_C_VISIBLE_PUBLIC void CkBz2W_getLastErrorHtml(HCkBz2W cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const wchar_t *CkBz2W_lastErrorHtml(HCkBz2W cHandle);
CK_C_VISIBLE_PUBLIC void CkBz2W_getLastErrorText(HCkBz2W cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const wchar_t *CkBz2W_lastErrorText(HCkBz2W cHandle);
CK_C_VISIBLE_PUBLIC void CkBz2W_getLastErrorXml(HCkBz2W cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const wchar_t *CkBz2W_lastErrorXml(HCkBz2W cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkBz2W_getLastMethodSuccess(HCkBz2W cHandle);
CK_C_VISIBLE_PUBLIC void  CkBz2W_putLastMethodSuccess(HCkBz2W cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC BOOL CkBz2W_getVerboseLogging(HCkBz2W cHandle);
CK_C_VISIBLE_PUBLIC void  CkBz2W_putVerboseLogging(HCkBz2W cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC void CkBz2W_getVersion(HCkBz2W cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const wchar_t *CkBz2W_version(HCkBz2W cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkBz2W_CompressBd(HCkBz2W cHandle, HCkBinDataW bd);
CK_C_VISIBLE_PUBLIC HCkTaskW CkBz2W_CompressBdAsync(HCkBz2W cHandle, HCkBinDataW bd);
CK_C_VISIBLE_PUBLIC BOOL CkBz2W_CompressFile(HCkBz2W cHandle, const wchar_t *inFilename, const wchar_t *toPath);
CK_C_VISIBLE_PUBLIC HCkTaskW CkBz2W_CompressFileAsync(HCkBz2W cHandle, const wchar_t *inFilename, const wchar_t *toPath);
CK_C_VISIBLE_PUBLIC BOOL CkBz2W_CompressFileToMem(HCkBz2W cHandle, const wchar_t *inFilename, HCkByteData outBytes);
CK_C_VISIBLE_PUBLIC HCkTaskW CkBz2W_CompressFileToMemAsync(HCkBz2W cHandle, const wchar_t *inFilename);
CK_C_VISIBLE_PUBLIC BOOL CkBz2W_CompressMemory(HCkBz2W cHandle, HCkByteData inData, HCkByteData outBytes);
CK_C_VISIBLE_PUBLIC HCkTaskW CkBz2W_CompressMemoryAsync(HCkBz2W cHandle, HCkByteData inData);
CK_C_VISIBLE_PUBLIC BOOL CkBz2W_CompressMemToFile(HCkBz2W cHandle, HCkByteData inData, const wchar_t *toPath);
CK_C_VISIBLE_PUBLIC HCkTaskW CkBz2W_CompressMemToFileAsync(HCkBz2W cHandle, HCkByteData inData, const wchar_t *toPath);
CK_C_VISIBLE_PUBLIC BOOL CkBz2W_LoadTaskCaller(HCkBz2W cHandle, HCkTaskW task);
CK_C_VISIBLE_PUBLIC BOOL CkBz2W_UncompressBd(HCkBz2W cHandle, HCkBinDataW bd);
CK_C_VISIBLE_PUBLIC HCkTaskW CkBz2W_UncompressBdAsync(HCkBz2W cHandle, HCkBinDataW bd);
CK_C_VISIBLE_PUBLIC BOOL CkBz2W_UncompressFile(HCkBz2W cHandle, const wchar_t *inFilename, const wchar_t *toPath);
CK_C_VISIBLE_PUBLIC HCkTaskW CkBz2W_UncompressFileAsync(HCkBz2W cHandle, const wchar_t *inFilename, const wchar_t *toPath);
CK_C_VISIBLE_PUBLIC BOOL CkBz2W_UncompressFileToMem(HCkBz2W cHandle, const wchar_t *inFilename, HCkByteData outBytes);
CK_C_VISIBLE_PUBLIC HCkTaskW CkBz2W_UncompressFileToMemAsync(HCkBz2W cHandle, const wchar_t *inFilename);
CK_C_VISIBLE_PUBLIC BOOL CkBz2W_UncompressMemory(HCkBz2W cHandle, HCkByteData inData, HCkByteData outBytes);
CK_C_VISIBLE_PUBLIC HCkTaskW CkBz2W_UncompressMemoryAsync(HCkBz2W cHandle, HCkByteData inData);
CK_C_VISIBLE_PUBLIC BOOL CkBz2W_UncompressMemToFile(HCkBz2W cHandle, HCkByteData inData, const wchar_t *toPath);
CK_C_VISIBLE_PUBLIC HCkTaskW CkBz2W_UncompressMemToFileAsync(HCkBz2W cHandle, HCkByteData inData, const wchar_t *toPath);
#endif
