bzip.c File Reference

#include "wizard/studio.h"
#include "wizard/bzip.h"
#include "wizard/exception.h"
#include "wizard/exception-private.h"
#include "wizard/memory_.h"
#include "bzlib.h"
Include dependency graph for bzip.c:

Go to the source code of this file.

Data Structures

struct  _BZIPInfo

Functions

WizardExport BZIPInfoAcquireBZIPInfo (const size_t level)
WizardExport BZIPInfoDestroyBZIPInfo (BZIPInfo *bzip_info)
WizardExport const StringInfoGetBZIPChaos (const BZIPInfo *bzip_info)
static void * AcquireBZIPMemory (void *context, int items, int size)
WizardExport void bz_internal_error (int error)
static void RelinquishBZIPMemory (void *context, void *memory)
WizardExport WizardBooleanType IncreaseBZIP (BZIPInfo *bzip_info, const StringInfo *message, ExceptionInfo *exception)
WizardExport WizardBooleanType RestoreBZIP (BZIPInfo *bzip_info, const size_t length, const StringInfo *message, ExceptionInfo *exception)

Function Documentation

WizardExport BZIPInfo* AcquireBZIPInfo ( const size_t  level  ) 
static void* AcquireBZIPMemory ( void *  context,
int  items,
int  size 
) [static]

Definition at line 202 of file bzip.c.

References AcquireQuantumMemory().

Referenced by IncreaseBZIP(), and RestoreBZIP().

WizardExport void bz_internal_error ( int  error  ) 

Definition at line 207 of file bzip.c.

References AssertError, EntropyDomain, and ThrowWizardFatalError.

WizardExport BZIPInfo* DestroyBZIPInfo ( BZIPInfo bzip_info  ) 
WizardExport const StringInfo* GetBZIPChaos ( const BZIPInfo bzip_info  ) 
WizardExport WizardBooleanType IncreaseBZIP ( BZIPInfo bzip_info,
const StringInfo message,
ExceptionInfo exception 
)
static void RelinquishBZIPMemory ( void *  context,
void *  memory 
) [static]

Definition at line 212 of file bzip.c.

References RelinquishWizardMemory().

Referenced by IncreaseBZIP(), and RestoreBZIP().

WizardExport WizardBooleanType RestoreBZIP ( BZIPInfo bzip_info,
const size_t  length,
const StringInfo message,
ExceptionInfo exception 
)
Generated by  doxygen 1.6.2-20100208