#include "wizard/exception.h"

Go to the source code of this file.
Typedefs | |
| typedef struct _BlobInfo | BlobInfo |
Enumerations | |
| enum | MapMode { ReadMode, WriteMode, IOMode } |
Functions | |
| WizardExport unsigned char * | FileToBlob (const char *, const size_t, size_t *, ExceptionInfo *) |
| WizardExport void * | MapBlob (int, const MapMode, const WizardOffsetType, const size_t) |
| WizardExport WizardBooleanType | UnmapBlob (void *, const size_t) |
| WizardExport unsigned char* FileToBlob | ( | const char * | , | |
| const | size_t, | |||
| size_t * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 491 of file blob.c.
References AcquireQuantumMemory(), BlobError, close, CopyWizardMemory(), fileno, GetWizardModule, LogWizardEvent(), MapBlob(), MaxCipherBlocksize, Min, O_BINARY, open, read, ReadMode, RelinquishWizardMemory(), ResizeQuantumMemory(), ResourceError, ThrowWizardException(), TraceEvent, UnmapBlob(), WizardFalse, and WizardSeek.
Referenced by FileToString(), and FileToStringInfo().
| WizardExport void* MapBlob | ( | int | , | |
| const | MapMode, | |||
| const | WizardOffsetType, | |||
| const | size_t | |||
| ) |
Definition at line 840 of file blob.c.
References IOMode, MAP_ANONYMOUS, MAP_FAILED, MAP_PRIVATE, MAP_SHARED, mmap, PROT_READ, PROT_WRITE, ReadMode, and WriteMode.
Referenced by ConfigureFileToStringInfo(), FileToBlob(), OpenBlob(), and SetBlobExtent().
| WizardExport WizardBooleanType UnmapBlob | ( | void * | , | |
| const | size_t | |||
| ) |
Definition at line 1705 of file blob.c.
References munmap, WizardFalse, and WizardTrue.
Referenced by ConfigureFileToStringInfo(), DestroyBlob(), DestroyWizardMemory(), DetachBlob(), FileToBlob(), and SetBlobExtent().
1.6.2-20100208