WizardsToolkit  1.0.7
zip.c File Reference
#include "wizard/studio.h"
#include "wizard/exception.h"
#include "wizard/exception-private.h"
#include "wizard/memory_.h"
#include "wizard/zip.h"
#include "zlib.h"
Include dependency graph for zip.c:

Go to the source code of this file.

Data Structures

struct  _ZIPInfo

Functions

WizardExport ZIPInfoAcquireZIPInfo (const size_t level)
WizardExport const StringInfoGetZIPChaos (const ZIPInfo *zip_info)
WizardExport ZIPInfoDestroyZIPInfo (ZIPInfo *zip_info)
static voidpf AcquireZIPMemory (voidpf context, uInt items, uInt size)
static void RelinquishZIPMemory (voidpf context, voidpf memory)
WizardExport WizardBooleanType IncreaseZIP (ZIPInfo *zip_info, const StringInfo *message, ExceptionInfo *exception)
WizardExport WizardBooleanType RestoreZIP (ZIPInfo *zip_info, const size_t length, const StringInfo *message, ExceptionInfo *exception)

Function Documentation

static voidpf AcquireZIPMemory ( voidpf  context,
uInt  items,
uInt  size 
) [static]

Definition at line 200 of file zip.c.

References AcquireQuantumMemory().

Referenced by IncreaseZIP(), and RestoreZIP().

WizardExport const StringInfo* GetZIPChaos ( const ZIPInfo zip_info)
static void RelinquishZIPMemory ( voidpf  context,
voidpf  memory 
) [static]

Definition at line 205 of file zip.c.

References RelinquishWizardMemory().

Referenced by IncreaseZIP(), and RestoreZIP().