WizardsToolkit  1.0.7
wizard.c File Reference
#include "wizard/studio.h"
#include "wizard/client.h"
#include "wizard/configure.h"
#include "wizard/hash.h"
#include "wizard/log.h"
#include "wizard/magick.h"
#include "wizard/memory_.h"
#include "wizard/mime.h"
#include "wizard/random_.h"
#include "wizard/resource_.h"
#include "wizard/semaphore.h"
#include "wizard/semaphore-private.h"
#include "wizard/string_.h"
#include "wizard/utility.h"
#include "wizard/wizard.h"
Include dependency graph for wizard.c:

Go to the source code of this file.

Defines

#define WIZARDSTOOLKIT_RETSIGTYPE   void
#define SIG_DFL   ((SignalHandler *) 0)
#define SIG_ERR   ((SignalHandler *) -1)
#define SIGMAX   64

Typedefs

typedef WIZARDSTOOLKIT_RETSIGTYPE SignalHandler (int)

Functions

static void WizardExitHandler (void)
static SignalHandler * SetWizardSignalHandler (int signal_number, SignalHandler *handler)
static void WizardSignalHandler (int signal_number)
static SignalHandler * RegisterWizardSignalHandler (int signal_number)
WizardExport void WizardsToolkitGenesis (const char *path)
WizardExport void WizardsToolkitTerminus (void)

Variables

static SignalHandler * signal_handlers [SIGMAX] = { (SignalHandler *) NULL }
static volatile WizardBooleanType instantiate_wizard = WizardFalse
static volatile WizardBooleanType instantiate_wizardstoolkit = WizardFalse

Define Documentation

#define SIG_DFL   ((SignalHandler *) 0)

Definition at line 64 of file wizard.c.

Referenced by RegisterWizardSignalHandler().

#define SIG_ERR   ((SignalHandler *) -1)

Definition at line 67 of file wizard.c.

Referenced by SetWizardSignalHandler(), and RegisterWizardSignalHandler().

#define SIGMAX   64

Definition at line 70 of file wizard.c.

#define WIZARDSTOOLKIT_RETSIGTYPE   void

Definition at line 61 of file wizard.c.


Typedef Documentation

typedef WIZARDSTOOLKIT_RETSIGTYPE SignalHandler(int)

Definition at line 77 of file wizard.c.


Function Documentation

static SignalHandler* RegisterWizardSignalHandler ( int  signal_number) [static]
static SignalHandler* SetWizardSignalHandler ( int  signal_number,
SignalHandler *  handler 
) [static]

Definition at line 117 of file wizard.c.

References SIG_ERR.

Referenced by WizardSignalHandler(), and RegisterWizardSignalHandler().

static void WizardExitHandler ( void  ) [static]

Definition at line 112 of file wizard.c.

References WizardsToolkitTerminus().

static void WizardSignalHandler ( int  signal_number) [static]

Variable Documentation

volatile WizardBooleanType instantiate_wizard = WizardFalse [static]

Definition at line 86 of file wizard.c.

Referenced by WizardSignalHandler().

Definition at line 87 of file wizard.c.

Referenced by WizardsToolkitGenesis(), and WizardsToolkitTerminus().

SignalHandler* signal_handlers[SIGMAX] = { (SignalHandler *) NULL } [static]

Definition at line 83 of file wizard.c.

Referenced by WizardSignalHandler(), and WizardsToolkitGenesis().