MagickCore
7.0.10
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/studio.h"
#include "MagickCore/blob.h"
#include "MagickCore/client.h"
#include "MagickCore/configure.h"
#include "MagickCore/configure-private.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/linked-list.h"
#include "MagickCore/magic.h"
#include "MagickCore/magic-private.h"
#include "MagickCore/memory_.h"
#include "MagickCore/memory-private.h"
#include "MagickCore/semaphore.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/token.h"
#include "MagickCore/utility.h"
#include "MagickCore/utility-private.h"
#include "coders/coders.h"
#include "coders/coders-list.h"
Data Structures | |
struct | _MagicMapInfo |
struct | _MagicInfo |
Macros | |
#define | AddMagickCoder(coder) Magick ## coder ## Headers |
Typedefs | |
typedef struct _MagicMapInfo | MagicMapInfo |
Variables | |
static const MagicMapInfo | MagicMap [] |
static LinkedListInfo * | magic_cache = (LinkedListInfo *) NULL |
static LinkedListInfo * | magic_list = (LinkedListInfo *) NULL |
static SemaphoreInfo * | magic_cache_semaphore = (SemaphoreInfo *) NULL |
static SemaphoreInfo * | magic_list_semaphore = (SemaphoreInfo *) NULL |
#define AddMagickCoder | ( | coder | ) | Magick ## coder ## Headers |
typedef struct _MagicMapInfo MagicMapInfo |
|
static |
References AcquireMagickMemory(), CompareMagickInfoSize(), _MagicInfo::exempt, GetMagickModule, InsertValueInSortedLinkedList(), _MagicMapInfo::length, _MagicInfo::length, _MagicMapInfo::magic, _MagicInfo::magic, MagickCoreSignature, MagickFalse, MagickTrue, MagicMap, _MagicMapInfo::name, _MagicInfo::name, NewLinkedList(), _MagicMapInfo::offset, _MagicInfo::offset, _MagicInfo::path, ResourceLimitError, _MagicInfo::signature, _MagicInfo::target, and ThrowMagickException().
Referenced by IsMagicListInstantiated().
|
static |
References _MagicInfo::length, and _MagicInfo::offset.
Referenced by AcquireMagicList(), and GetMagicInfo().
|
static |
References DestroyString(), _MagicInfo::exempt, _MagicInfo::magic, MagickFalse, _MagicInfo::name, _MagicInfo::path, RelinquishMagickMemory(), and _MagicInfo::target.
Referenced by MagicComponentTerminus().
MagickExport const MagicInfo* GetMagicInfo | ( | const unsigned char * | magic, |
const size_t | length, | ||
ExceptionInfo * | exception | ||
) |
References CompareMagickInfoSize(), GetNextValueInLinkedList(), InsertValueInSortedLinkedList(), IsMagicCacheInstantiated(), IsMagicListInstantiated(), _MagicInfo::length, LockSemaphoreInfo(), _MagicInfo::magic, magic_cache, magic_cache_semaphore, magic_list, magic_list_semaphore, MagickFalse, _MagicInfo::offset, ResetLinkedListIterator(), and UnlockSemaphoreInfo().
Referenced by GetMagicInfoList(), GetMagicList(), and SetImageInfo().
MagickExport const MagicInfo** GetMagicInfoList | ( | const char * | pattern, |
size_t * | number_aliases, | ||
ExceptionInfo * | exception | ||
) |
References AcquireQuantumMemory(), GetMagicInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), LockSemaphoreInfo(), LogMagickEvent(), magic_list, magic_list_semaphore, MagicInfoCompare(), MagickFalse, _MagicInfo::name, ResetLinkedListIterator(), _MagicInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
Referenced by ListMagicInfo().
MagickExport char** GetMagicList | ( | const char * | pattern, |
size_t * | number_aliases, | ||
ExceptionInfo * | exception | ||
) |
References AcquireQuantumMemory(), ConstantString(), GetMagicInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), LockSemaphoreInfo(), LogMagickEvent(), magic_list, magic_list_semaphore, MagicCompare(), MagickFalse, _MagicInfo::name, ResetLinkedListIterator(), _MagicInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
MagickExport const char* GetMagicName | ( | const MagicInfo * | magic_info | ) |
References GetMagickModule, LogMagickEvent(), MagickCoreSignature, _MagicInfo::name, _MagicInfo::signature, and TraceEvent.
Referenced by SetImageInfo().
MagickExport size_t GetMagicPatternExtent | ( | ExceptionInfo * | exception | ) |
|
static |
References ActivateSemaphoreInfo(), LockSemaphoreInfo(), magic_cache, magic_cache_semaphore, MagickFalse, MagickTrue, NewLinkedList(), and UnlockSemaphoreInfo().
Referenced by GetMagicInfo().
|
static |
References AcquireMagicList(), ActivateSemaphoreInfo(), LockSemaphoreInfo(), magic_list, magic_list_semaphore, MagickFalse, MagickTrue, and UnlockSemaphoreInfo().
Referenced by GetMagicInfo(), and GetMagicPatternExtent().
MagickExport MagickBooleanType ListMagicInfo | ( | FILE * | file, |
ExceptionInfo * | exception | ||
) |
|
static |
References LocaleCompare().
Referenced by GetMagicList().
MagickPrivate MagickBooleanType MagicComponentGenesis | ( | void | ) |
References AcquireSemaphoreInfo(), magic_list_semaphore, and MagickTrue.
Referenced by MagickCoreGenesis().
MagickPrivate void MagicComponentTerminus | ( | void | ) |
|
static |
References LocaleCompare().
Referenced by GetMagicInfoList().
|
static |
Referenced by GetMagicInfo(), IsMagicCacheInstantiated(), and MagicComponentTerminus().
|
static |
Referenced by GetMagicInfo(), IsMagicCacheInstantiated(), and MagicComponentTerminus().
|
static |
|
static |
|
static |
Referenced by AcquireMagicList().