Defines | Variables

# studio.h File Reference

`#include "wizard/wizard-config.h"`
`#include <stdarg.h>`
`#include <stdio.h>`
`#include <ctype.h>`
`#include <locale.h>`
`#include <errno.h>`
`#include <fcntl.h>`
`#include <math.h>`
`#include <time.h>`
`#include <limits.h>`
`#include <signal.h>`
`#include <assert.h>`
`#include <sys/types.h>`
`#include <sys/stat.h>`
`#include <dirent.h>`
`#include <pwd.h>`
`#include "wizard/wizard-type.h"`
`#include <sys/time.h>`
`#include <wizard/string_.h>`

Go to the source code of this file.

## Defines

#define | WIZARDSTOOLKIT_POSIX_SUPPORT
#define | _WIZARDSTOOLKIT_CONFIG_H
#define | STDC
#define | WizardExport
#define | ModuleExport
#define | WizardGlobal
#define | WizardSignature 0xabacadabUL
#define | WizardPathExtent 4096
#define | NAMLEN(dirent) strlen((dirent)->d_name)
#define | S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
#define | S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
#define | wizard_attribute(x)
#define | wizard_unused(x) x
#define | DirectorySeparator "/"
#define | DirectoryListSeparator ':'
#define | Exit _exit
#define | IsBasenameSeparator(c) ((c) == '/' ? WizardTrue : WizardFalse)
#define | PreferencesDefaults "~/."
#define | ProcessPendingEvents(text)
#define | ReadCommandlLine(argc, argv)
#define | SetNotifyHandlers
#define | AbsoluteValue(x) ((x) < 0 ? -(x) : (x))
#define | WizardEpoch 1000000000L
#define | Max(x, y) (((x) > (y)) ? (x) : (y))
#define | Min(x, y) (((x) < (y)) ? (x) : (y))
#define | Swap(x, y) ((x)^=(y), (y)^=(x), (x)^=(y))
#define | STDIN_FILENO 0x00
#define | STDOUT_FILENO 0x01
#define | STDERR_FILENO 0x02
#define | O_BINARY 0x00
#define | S_MODE 0600
#define | PATH_MAX 4096
#define | WizardSeek(file, offset, whence) lseek(file,offset,whence)

## Variables

unsigned char | _wizard_info [1]

## Define Documentation

#define _WIZARDSTOOLKIT_CONFIG_H

#define AbsoluteValue | ( |  | x | ) | ((x) < 0 ? -(x) : (x))

#define DirectoryListSeparator ':'

Referenced by GetConfigurePaths().

#define DirectorySeparator "/"

Referenced by AcquireFileInfo(), GetConfigurePaths(), GetExecutionPath(), GetPathTemplate(), GetWizardToken(), LoadConfigureList(), LoadLogList(), LoadMimeList(), and TranslateEvent().

#define Exit _exit

#define IsBasenameSeparator | ( |  | c | ) | ((c) == '/' ? WizardTrue : WizardFalse)

Referenced by GetPathComponent(), and GetPathComponents().

#define Max | ( |  | x,
|  |  | y |
| ) |  |  | (((x) > (y)) ? (x) : (y))

#define WizardPathExtent 4096

Referenced by AcquireFileInfo(), AcquireString(), AppendFileExtension(), CanonicalXMLContent(), CloneString(), ConcatenateString(), ConfigureFileToStringInfo(), ConvertUTF16ToUTF8(), EncodePredefinedEntities(), FileToStringInfo(), FormatWizardSize(), GetConfigureOptions(), GetConfigurePaths(), GetExecutionPath(), GetHashHexDigest(), GetLocaleExceptionMessage(), GetPassphrase(), GetPathComponent(), GetPathComponents(), GetPathTemplate(), GetPhrase(), GetWizardToken(), ListWizardResourceInfo(), LoadConfigureList(), LoadLogList(), LoadMimeList(), LogWizardEventList(), OpenBlob(), ParseWizardOption(), PrintKeyringProperties(), PrintWizardString(), SetClientName(), SetClientPath(), SetLogName(), SetStringInfoPath(), StringInfoToHexString(), StringInfoToString(), StringToArgv(), SubstituteString(), ThrowWizardExceptionList(), TranslateEvent(), TranslateFilename(), WizardsToolkitGenesis(), WizardToMime(), and XMLTreeTagToXML().

#define Min | ( |  | x,
|  |  | y |
| ) |  |  | (((x) < (y)) ? (x) : (y))

Referenced by FileToBlob(), ReadFileChunk(), SetAESKey(), SetSerpentKey(), and SetTwofishKey().

#define ModuleExport

#define NAMLEN | ( |  | dirent | ) | strlen((dirent)->d_name)

#define O_BINARY 0x00

Referenced by AcquireFileInfo(), AcquireUniqueFileResource(), ConfigureFileToStringInfo(), FileToBlob(), and GenerateEntropicChaos().

#define PATH_MAX 4096

Referenced by GetExecutionPath().

#define PreferencesDefaults "~/."

#define ProcessPendingEvents | ( |  | text | ) |

#define ReadCommandlLine | ( |  | argc,
|  |  | argv |
| ) |  |  |

#define S_ISDIR | ( |  | mode | ) | (((mode) & S_IFMT) == S_IFDIR)

Referenced by GetPathTemplate(), and IsDirectory().

#define S_ISREG | ( |  | mode | ) | (((mode) & S_IFMT) == S_IFREG)

Referenced by IsAccessible().

#define S_MODE 0600

Referenced by AcquireFileInfo(), AcquireFileLock(), and AcquireUniqueFileResource().

#define SetNotifyHandlers

#define STDC

#define STDERR_FILENO 0x02

Referenced by GetPassphrase().

#define STDIN_FILENO 0x00

Referenced by GetPhrase().

#define STDOUT_FILENO 0x01

#define Swap | ( |  | x,
|  |  | y |
| ) |  |  | ((x)^=(y), (y)^=(x), (x)^=(y))

#define wizard_attribute | ( |  | x | ) |

#define wizard_unused | ( |  | x | ) | x

#define WizardEpoch 1000000000L

#define WizardExport

#define WizardGlobal

#define WizardSeek | ( |  | file,
|  |  | offset,
|  |  | whence |
| ) |  |  | lseek(file,offset,whence)

Referenced by ConfigureFileToStringInfo(), FileToBlob(), and ImportKeyringKey().

#define WizardSignature 0xabacadabUL

Referenced by AcquireFileLock(), AddPathToXMLTree(), AppendValueToLinkedList(), AuthenticateKey(), AuthenticateSecretKey(), CatchException(), ClearLinkedList(), ClearWizardException(), CloneSplayTree(), CloneStringInfo(), CloseBlob(), CompareStringInfo(), ConcatenateStringInfo(), ConstructHMAC(), ContinueTimer(), DecipherCBCMode(), DecipherCFBMode(), DecipherCipher(), DecipherCTRMode(), DecipherECBMode(), DecipherOFBMode(), DeleteNodeByValueFromSplayTree(), DeleteNodeFromSplayTree(), DestroyAESInfo(), DestroyAuthenticateInfo(), DestroyBlob(), DestroyBZIPInfo(), DestroyCipherInfo(), DestroyCRC64Info(), DestroyEntropyInfo(), DestroyExceptionInfo(), DestroyFileInfo(), DestroyHashInfo(), DestroyHashmap(), DestroyHMACInfo(), DestroyKeyInfo(), DestroyKeyringInfo(), DestroyLinkedList(), DestroyLZMAInfo(), DestroyMD5Info(), DestroyRandomInfo(), DestroySecretInfo(), DestroySemaphoreInfo(), DestroySerpentInfo(), DestroySHA1Info(), DestroySHA224Info(), DestroySHA256Info(), DestroySHA384Info(), DestroySHA512Info(), DestroyStringInfo(), DestroyTimerInfo(), DestroyTwofishInfo(), DestroyXMLTree(), DestroyZIPInfo(), EncipherCBCMode(), EncipherCFBMode(), EncipherCipher(), EncipherCTRMode(), EncipherECBMode(), EncipherOFBMode(), EOFBlob(), ExportKeyringKey(), FinalizeCRC64(), FinalizeHash(), FinalizeHMAC(), FinalizeMD5(), FinalizeSHA1(), FinalizeSHA224(), FinalizeSHA256(), FinalizeSHA384(), FinalizeSHA512(), FinalizeSignature(), GenerateAuthenticateKey(), GenerateCipherNonce(), GenerateSecretKey(), GenerateSessionKey(), GetAESBlocksize(), GetAuthenticateId(), GetAuthenticateKey(), GetAuthenticateKeyLength(), GetAuthenticatePassphrase(), GetBZIPChaos(), GetCipherBlocksize(), GetCipherNonce(), GetConfigureValue(), GetCRC64Blocksize(), GetCRC64CyclicRedundancyCheck(), GetCRC64Digest(), GetCRC64Digestsize(), GetElapsedTime(), GetEntropyChaos(), GetEntropyFromReservoir(), GetExceptionSeverity(), GetFileDescriptor(), GetFilePath(), GetFileProperties(), GetHashBlocksize(), GetHashDigest(), GetHashDigestsize(), GetHashHexDigest(), GetHMACDigest(), GetHMACDigestsize(), GetKeyringKey(), GetKeyringNonce(), GetLastValueInLinkedList(), GetLZMAChaos(), GetMD5Blocksize(), GetMD5Digest(), GetMD5Digestsize(), GetMimeDescription(), GetMimeType(), GetNextKeyInHashmap(), GetNextKeyInSplayTree(), GetNextValueInHashmap(), GetNextValueInLinkedList(), GetNextValueInSplayTree(), GetNextXMLTreeTag(), GetNumberOfElementsInLinkedList(), GetNumberOfEntriesInHashmap(), GetNumberOfNodesInSplayTree(), GetSecretId(), GetSecretKey(), GetSecretKeyLength(), GetSecretPassphrase(), GetSerpentBlocksize(), GetSHA1Blocksize(), GetSHA1Digest(), GetSHA1Digestsize(), GetSHA224Blocksize(), GetSHA224Digest(), GetSHA224Digestsize(), GetSHA256Blocksize(), GetSHA256Digest(), GetSHA256Digestsize(), GetSHA384Blocksize(), GetSHA384Digest(), GetSHA384Digestsize(), GetSHA512Blocksize(), GetSHA512Digest(), GetSHA512Digestsize(), GetStringInfoCRC(), GetStringInfoDatum(), GetStringInfoLength(), GetStringInfoPath(), GetTwofishBlocksize(), GetUserTime(), GetValueFromHashmap(), GetValueFromLinkedList(), GetValueFromSplayTree(), GetXMLTreeAttribute(), GetXMLTreeAttributes(), GetXMLTreeChild(), GetXMLTreeContent(), GetXMLTreeOrdered(), GetXMLTreePath(), GetXMLTreeProcessingInstructions(), GetXMLTreeSibling(), GetXMLTreeTag(), GetZIPChaos(), ImportKeyringKey(), IncreaseBZIP(), IncreaseEntropy(), IncreaseLZMA(), IncreaseZIP(), InheritException(), InitializeCRC64(), InitializeHash(), InitializeHMAC(), InitializeMD5(), InitializeSHA1(), InitializeSHA224(), InitializeSHA256(), InitializeSHA384(), InitializeSHA512(), InsertValueInLinkedList(), InsertValueInSortedLinkedList(), IsHashmapEmpty(), IsLinkedListEmpty(), LinkedListToArray(), LockSemaphoreInfo(), PrintKeyringProperties(), PrintStringInfo(), PruneTagFromXMLTree(), PutEntryInHashmap(), ReadBlob(), ReadBlobByte(), ReadBlobChunk(), ReadFile16Bits(), ReadFile32Bits(), ReadFile64Bits(), ReadFileByte(), ReadFileChunk(), RelinquishSemaphoreInfo(), RemoveElementByValueFromLinkedList(), RemoveElementFromLinkedList(), RemoveEntryFromHashmap(), RemoveLastElementFromLinkedList(), RemoveNodeByValueFromSplayTree(), RemoveNodeFromSplayTree(), ResetCipherNonce(), ResetHashmapIterator(), ResetHMAC(), ResetLinkedListIterator(), ResetSplayTree(), ResetSplayTreeIterator(), ResetStringInfo(), ResetTimer(), RestoreBZIP(), RestoreEntropy(), RestoreLZMA(), RestoreZIP(), SaveEntropyToReservoir(), SetAESKey(), SetAuthenticateId(), SetAuthenticateKeyLength(), SetAuthenticatePassphrase(), SetBlobExtent(), SetCipherKey(), SetCipherNonce(), SetKeyringId(), SetKeyringKey(), SetKeyringNonce(), SetKeyringPath(), SetSecretKeyLength(), SetSerpentKey(), SetStringInfo(), SetStringInfoDatum(), SetStringInfoLength(), SetStringInfoPath(), SetTwofishKey(), SetXMLTreeAttribute(), SetXMLTreeContent(), SplitStringInfo(), StartTimer(), StopTimer(), SyncBlob(), TellBlob(), ThrowException(), ThrowWizardExceptionList(), UnlockSemaphoreInfo(), UpdateCRC64(), UpdateHash(), UpdateHMAC(), UpdateMD5(), UpdateSHA1(), UpdateSHA224(), UpdateSHA256(), UpdateSHA384(), UpdateSHA512(), UpdateSignature(), WriteBlob(), WriteBlobByte(), WriteBlobChunk(), WriteBlobString(), WriteFile16Bits(), WriteFileChunk(), and XMLTreeInfoToXML().

#define WIZARDSTOOLKIT_POSIX_SUPPORT

## Variable Documentation

unsigned char _wizard_info[1]