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>
Include dependency graph for studio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define WIZARDSTOOLKIT_POSIX_SUPPORT
#define STDC
#define WizardExport
#define ModuleExport
#define WizardGlobal
#define WizardSignature   0xabacadabUL
#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 AbsoluteValue (  )     ((x) < 0 ? -(x) : (x))

Definition at line 360 of file studio.h.

#define DirectoryListSeparator   ':'

Definition at line 295 of file studio.h.

Referenced by GetConfigurePaths().

#define DirectorySeparator   "/"
#define Exit   _exit

Definition at line 296 of file studio.h.

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

Definition at line 297 of file studio.h.

Referenced by GetPathComponent(), and GetPathComponents().

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

Definition at line 362 of file studio.h.

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

Definition at line 363 of file studio.h.

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

#define ModuleExport

Definition at line 109 of file studio.h.

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

Definition at line 232 of file studio.h.

#define O_BINARY   0x00
#define PATH_MAX   4096

Definition at line 394 of file studio.h.

Referenced by GetExecutionPath().

#define PreferencesDefaults   "~/."

Definition at line 298 of file studio.h.

#define ProcessPendingEvents ( text   ) 

Definition at line 299 of file studio.h.

#define ReadCommandlLine ( argc,
argv   ) 

Definition at line 300 of file studio.h.

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

Definition at line 237 of file studio.h.

Referenced by GetPathTemplate(), and IsDirectory().

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

Definition at line 240 of file studio.h.

Referenced by IsAccessible().

#define S_MODE   0600

Definition at line 390 of file studio.h.

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

#define SetNotifyHandlers

Definition at line 301 of file studio.h.

#define STDC

Definition at line 56 of file studio.h.

#define STDERR_FILENO   0x02

Definition at line 378 of file studio.h.

Referenced by GetPassphrase(), and GetPhrase().

#define STDIN_FILENO   0x00

Definition at line 370 of file studio.h.

Referenced by GetPhrase().

#define STDOUT_FILENO   0x01

Definition at line 374 of file studio.h.

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

Definition at line 364 of file studio.h.

#define wizard_attribute (  ) 

Definition at line 268 of file studio.h.

#define wizard_unused (  )     x

Definition at line 269 of file studio.h.

#define WizardEpoch   1000000000L

Definition at line 361 of file studio.h.

Referenced by AcquireZIPInfo().

#define WizardExport

Definition at line 108 of file studio.h.

#define WizardGlobal

Definition at line 110 of file studio.h.

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

Definition at line 403 of file studio.h.

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

#define WizardSignature   0xabacadabUL

Definition at line 112 of file studio.h.

Referenced by AcquireAESInfo(), AcquireAuthenticateInfo(), AcquireBZIPInfo(), AcquireCipherInfo(), AcquireCRC64Info(), AcquireEntropyInfo(), AcquireExceptionInfo(), AcquireFileInfo(), AcquireFileLock(), AcquireHashInfo(), AcquireHMACInfo(), AcquireKeyInfo(), AcquireKeyringInfo(), AcquireMD5Info(), AcquireRandomInfo(), AcquireSecretInfo(), AcquireSerpentInfo(), AcquireSHA1Info(), AcquireSHA224Info(), AcquireSHA256Info(), AcquireSHA384Info(), AcquireSHA512Info(), AcquireStringInfo(), AcquireTwofishInfo(), AcquireZIPInfo(), AddChildToXMLTree(), AddPathToXMLTree(), AllocateSemaphoreInfo(), 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(), DestroyMD5Info(), DestroyRandomInfo(), DestroySecretInfo(), DestroySemaphoreInfo(), DestroySerpentInfo(), DestroySHA1Info(), DestroySHA224Info(), DestroySHA256Info(), DestroySHA384Info(), DestroySHA512Info(), DestroySplayTree(), 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(), GetBlobInfo(), GetBZIPChaos(), GetCipherBlocksize(), GetCipherNonce(), GetConfigureValue(), GetCRC64Blocksize(), GetCRC64CyclicRedundancyCheck(), GetCRC64Digest(), GetCRC64Digestsize(), GetElapsedTime(), GetEntropyChaos(), GetEntropyFromReservoir(), GetExceptionInfo(), GetExceptionSeverity(), GetFileDescriptor(), GetFilePath(), GetFileProperties(), GetHashBlocksize(), GetHashDigest(), GetHashDigestsize(), GetHashHexDigest(), GetHMACDigest(), GetHMACDigestsize(), GetKeyringKey(), GetKeyringNonce(), GetLastValueInLinkedList(), 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(), GetSignatureInfo(), GetStringInfoCRC(), GetStringInfoDatum(), GetStringInfoLength(), GetStringInfoPath(), GetTwofishBlocksize(), GetUserTime(), GetValueFromHashmap(), GetValueFromLinkedList(), GetValueFromSplayTree(), GetXMLTreeAttribute(), GetXMLTreeAttributes(), GetXMLTreeChild(), GetXMLTreeContent(), GetXMLTreeOrdered(), GetXMLTreePath(), GetXMLTreeProcessingInstructions(), GetXMLTreeSibling(), GetXMLTreeTag(), GetZIPChaos(), ImportKeyringKey(), IncreaseBZIP(), IncreaseEntropy(), IncreaseHashmapCapacity(), IncreaseZIP(), InheritException(), InitializeCRC64(), InitializeHash(), InitializeHMAC(), InitializeMD5(), InitializeSHA1(), InitializeSHA224(), InitializeSHA256(), InitializeSHA384(), InitializeSHA512(), InsertValueInLinkedList(), InsertValueInSortedLinkedList(), IsHashmapEmpty(), IsLinkedListEmpty(), LinkedListToArray(), LoadConfigureList(), LoadConfigureLists(), LoadLogList(), LoadLogLists(), LoadMimeList(), LockSemaphoreInfo(), NewHashmap(), NewLinkedList(), NewSplayTree(), NewXMLTreeTag(), 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(), 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

Definition at line 28 of file studio.h.


Variable Documentation

unsigned char _wizard_info[1]
Generated by  doxygen 1.6.2-20100208