MagickCore  7.0.3
static.c File Reference
#include "MagickCore/studio.h"
#include "MagickCore/coder.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/image.h"
#include "MagickCore/module.h"
#include "MagickCore/policy.h"
#include "MagickCore/static.h"
#include "MagickCore/string_.h"
#include "coders/coders.h"
#include "coders/coders-list.h"
Include dependency graph for static.c:

Go to the source code of this file.

Macros

#define AddMagickCoder(coder)
 

Functions

ModuleExport size_t RegisterUndefinedImage (void)
 
ModuleExport void UnregisterUndefinedImage (void)
 
MagickExport MagickBooleanType RegisterStaticModule (const char *module, ExceptionInfo *exception)
 
MagickExport void RegisterStaticModules (void)
 
MagickExport MagickBooleanType UnregisterStaticModule (const char *module)
 
MagickExport void UnregisterStaticModules (void)
 

Variables

struct {
   const char *   module
 
   MagickBooleanType   registered
 
   size_t(*   register_module )(void)
 
   void(*   unregister_module )(void)
 
MagickModules []
 

Macro Definition Documentation

#define AddMagickCoder (   coder)
Value:
{ #coder, MagickFalse, \
Register ## coder ## Image, Unregister ## coder ## Image },
struct _Image Image
Definition: magick-type.h:191

Definition at line 56 of file static.c.

Function Documentation

MagickExport void RegisterStaticModules ( void  )

Definition at line 284 of file static.c.

References MagickFalse, MagickModules, MagickTrue, register_module, and registered.

Referenced by GetMagickInfo().

ModuleExport size_t RegisterUndefinedImage ( void  )

Definition at line 62 of file static.c.

References MagickImageCoderSignature.

MagickExport MagickBooleanType UnregisterStaticModule ( const char *  module)

Definition at line 325 of file static.c.

References LocaleCompare(), MagickFalse, MagickModules, MagickTrue, and registered.

MagickExport void UnregisterStaticModules ( void  )

Definition at line 366 of file static.c.

References MagickFalse, MagickModules, and registered.

Referenced by MagickCoreTerminus().

ModuleExport void UnregisterUndefinedImage ( void  )

Definition at line 67 of file static.c.

Variable Documentation

struct { ... } MagickModules[]
Initial value:
= {
}
ModuleExport size_t RegisterUndefinedImage(void)
Definition: static.c:62
ModuleExport void UnregisterUndefinedImage(void)
Definition: static.c:67

Referenced by RegisterStaticModule(), RegisterStaticModules(), UnregisterStaticModule(), and UnregisterStaticModules().

const char* module

Definition at line 77 of file static.c.

Referenced by ListMagickInfo(), RegisterStaticModule(), and TranslateEvent().

size_t(* register_module)(void)

Definition at line 83 of file static.c.

Referenced by RegisterStaticModule(), and RegisterStaticModules().

void(* unregister_module)(void)

Definition at line 86 of file static.c.