|
WizardsToolkit
1.0.7
|
#include "wizard/studio.h"#include "wizard/bzip.h"#include "wizard/exception.h"#include "wizard/exception-private.h"#include "wizard/memory_.h"#include "bzlib.h"
Go to the source code of this file.
Data Structures | |
| struct | _BZIPInfo |
Functions | |
| WizardExport BZIPInfo * | AcquireBZIPInfo (const size_t level) |
| WizardExport BZIPInfo * | DestroyBZIPInfo (BZIPInfo *bzip_info) |
| WizardExport const StringInfo * | GetBZIPChaos (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) |
| WizardExport BZIPInfo* AcquireBZIPInfo | ( | const size_t | level | ) |
Definition at line 93 of file bzip.c.
References AcquireWizardMemory(), ThrowWizardFatalError, EntropyDomain, MemoryError, ResetWizardMemory(), _BZIPInfo::chaos, AcquireStringInfo(), _BZIPInfo::level, _BZIPInfo::timestamp, _BZIPInfo::signature, and WizardSignature.
Referenced by AcquireEntropyInfo().
| 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 ThrowWizardFatalError, EntropyDomain, and AssertError.
Definition at line 131 of file bzip.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, EntropyDomain, _BZIPInfo::signature, WizardSignature, _BZIPInfo::chaos, DestroyStringInfo(), and RelinquishWizardMemory().
Referenced by DestroyEntropyInfo().
| WizardExport const StringInfo* GetBZIPChaos | ( | const BZIPInfo * | bzip_info | ) |
Definition at line 165 of file bzip.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, EntropyDomain, _BZIPInfo::signature, WizardSignature, and _BZIPInfo::chaos.
Referenced by GetEntropyChaos().
| WizardExport WizardBooleanType IncreaseBZIP | ( | BZIPInfo * | bzip_info, |
| const StringInfo * | message, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 217 of file bzip.c.
References LogWizardEvent(), TraceEvent, GetWizardModule, WizardAssert, EntropyDomain, _BZIPInfo::signature, WizardSignature, AcquireBZIPMemory(), RelinquishBZIPMemory(), _BZIPInfo::level, ThrowWizardException(), EntropyError, WizardFalse, GetStringInfoDatum(), GetStringInfoLength(), SetStringInfoLength(), _BZIPInfo::chaos, and WizardTrue.
Referenced by IncreaseEntropy().
| 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 | ||
| ) |
Definition at line 297 of file bzip.c.
References WizardAssert, EntropyDomain, LogWizardEvent(), TraceEvent, GetWizardModule, _BZIPInfo::signature, WizardSignature, AcquireBZIPMemory(), RelinquishBZIPMemory(), ThrowWizardException(), EntropyError, WizardFalse, GetStringInfoDatum(), GetStringInfoLength(), SetStringInfoLength(), _BZIPInfo::chaos, and WizardTrue.
Referenced by RestoreEntropy().