MagickCore 7.0.10
lzma.c File Reference
#include "wizard/studio.h"
#include "wizard/exception.h"
#include "wizard/exception-private.h"
#include "wizard/memory_.h"
#include "wizard/lzma.h"
Include dependency graph for lzma.c:

Go to the source code of this file.

Data Structures

struct  _LZMAInfo
 

Functions

WizardExport LZMAInfoAcquireLZMAInfo (const size_t level)
 
WizardExport const StringInfoGetLZMAChaos (const LZMAInfo *lzma_info)
 
WizardExport LZMAInfoDestroyLZMAInfo (LZMAInfo *lzma_info)
 
static void * AcquireLZMAMemory (void *context, size_t items, size_t size)
 
static void RelinquishLZMAMemory (void *context, void *memory)
 
WizardExport WizardBooleanType IncreaseLZMA (LZMAInfo *lzma_info, const StringInfo *message, ExceptionInfo *exception)
 
WizardExport WizardBooleanType RestoreLZMA (LZMAInfo *lzma_info, const size_t length, const StringInfo *message, ExceptionInfo *exception)
 

Function Documentation

◆ AcquireLZMAInfo()

◆ AcquireLZMAMemory()

static void * AcquireLZMAMemory ( void *  context,
size_t  items,
size_t  size 
)
static

Definition at line 203 of file lzma.c.

References AcquireQuantumMemory().

Referenced by IncreaseLZMA(), and RestoreLZMA().

◆ DestroyLZMAInfo()

◆ GetLZMAChaos()

WizardExport const StringInfo * GetLZMAChaos ( const LZMAInfo lzma_info)

◆ IncreaseLZMA()

◆ RelinquishLZMAMemory()

static void RelinquishLZMAMemory ( void *  context,
void *  memory 
)
static

Definition at line 208 of file lzma.c.

References RelinquishWizardMemory().

Referenced by IncreaseLZMA(), and RestoreLZMA().

◆ RestoreLZMA()