#include "wizard/exception.h"Go to the source code of this file.
Defines | |
| #define | WizardMaxBufferExtent 0x3c005L |
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) |
| #define WizardMaxBufferExtent 0x3c005L |
Referenced by FileToBlob(), and ReadFileChunk().
| enum MapMode |
| WizardExport unsigned char* FileToBlob | ( | const char * | , | |
| const | size_t, | |||
| size_t * | , | |||
| ExceptionInfo * | ||||
| ) |
References AcquireQuantumMemory(), BlobError, close, fileno, GetWizardModule, LogWizardEvent(), MapBlob(), MaxCipherBlocksize, Min, O_BINARY, open, read, ReadMode, RelinquishWizardMemory(), ResizeQuantumMemory(), SSIZE_MAX, ThrowWizardException(), TraceEvent, UnmapBlob(), WizardMaxBufferExtent, and WizardSeek.
Referenced by FileToString(), and FileToStringInfo().
| WizardExport void* MapBlob | ( | int | , | |
| const | MapMode, | |||
| const | WizardOffsetType, | |||
| const | size_t | |||
| ) |
References IOMode, mmap, PROT_READ, ReadMode, and WriteMode.
Referenced by ConfigureFileToStringInfo(), FileToBlob(), OpenBlob(), and SetBlobExtent().
| WizardExport WizardBooleanType UnmapBlob | ( | void * | , | |
| const | size_t | |||
| ) |
References munmap, WizardFalse, and WizardTrue.
Referenced by ConfigureFileToStringInfo(), DestroyBlob(), DestroyWizardMemory(), DetachBlob(), FileToBlob(), and SetBlobExtent().
1.7.1