|
WizardsToolkit
1.0.7
|
#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 | WizardPrivate |
| #define | ModuleExport WizardExport |
| #define | WizardGlobal |
| #define | WizardSignature 0xabacadabUL |
| #define | MaxTextExtent 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 |
Variables | |
| unsigned char | _wizard_info [1] |
| #define DirectoryListSeparator ':' |
Definition at line 313 of file studio.h.
Referenced by GetConfigurePaths().
| #define DirectorySeparator "/" |
Definition at line 312 of file studio.h.
Referenced by GetConfigurePaths(), LoadConfigureList(), AcquireFileInfo(), TranslateEvent(), LoadLogList(), LoadMimeList(), GetPathTemplate(), GetWizardToken(), and GetExecutionPath().
| #define IsBasenameSeparator | ( | c | ) | ((c) == '/' ? WizardTrue : WizardFalse) |
Definition at line 315 of file studio.h.
Referenced by GetPathComponent(), and GetPathComponents().
| #define MaxTextExtent 4096 |
Definition at line 129 of file studio.h.
Referenced by OpenBlob(), SetClientName(), SetClientPath(), GetConfigureOptions(), GetConfigurePaths(), LoadConfigureList(), LoadConfigureLists(), GetExceptionMessage(), GetLocaleExceptionMessage(), ThrowWizardExceptionList(), AcquireFileInfo(), GetHashHexDigest(), PrintKeyringProperties(), ListLogInfo(), TranslateEvent(), TranslateFilename(), LogWizardEventList(), LoadLogList(), SetLogName(), LoadMimeList(), WizardToMime(), ParseWizardOption(), GetPhrase(), GetPassphrase(), GetPathTemplate(), AcquireWizardResource(), ListWizardResourceInfo(), RelinquishWizardResource(), AcquireString(), BlobToStringInfo(), CloneString(), ConcatenateString(), ConfigureFileToStringInfo(), FileToStringInfo(), FormatWizardSize(), PrintWizardString(), SetStringInfoPath(), StringInfoToHexString(), StringInfoToString(), StringToArgv(), SubstituteString(), GetWizardToken(), AppendFileExtension(), GetPathComponent(), GetPathComponents(), GetExecutionPath(), WizardsToolkitGenesis(), AddPathToXMLTree(), CanonicalXMLContent(), GetXMLTreePath(), ConvertUTF16ToUTF8(), EncodePredefinedEntities(), XMLTreeTagToXML(), and XMLTreeInfoToXML().
| #define Min | ( | x, | |
| y | |||
| ) | (((x) < (y)) ? (x) : (y)) |
Definition at line 381 of file studio.h.
Referenced by SetAESKey(), FileToBlob(), ReadFileChunk(), SetSerpentKey(), and SetTwofishKey().
| #define O_BINARY 0x00 |
Definition at line 400 of file studio.h.
Referenced by FileToBlob(), AcquireFileInfo(), GenerateEntropicChaos(), AcquireUniqueFileResource(), and ConfigureFileToStringInfo().
| #define PATH_MAX 4096 |
Definition at line 412 of file studio.h.
Referenced by GetExecutionPath().
| #define S_ISDIR | ( | mode | ) | (((mode) & S_IFMT) == S_IFDIR) |
Definition at line 255 of file studio.h.
Referenced by GetPathTemplate(), and IsDirectory().
| #define S_ISREG | ( | mode | ) | (((mode) & S_IFMT) == S_IFREG) |
Definition at line 258 of file studio.h.
Referenced by IsAccessible().
| #define S_MODE 0600 |
Definition at line 408 of file studio.h.
Referenced by AcquireFileLock(), AcquireFileInfo(), and AcquireUniqueFileResource().
| #define STDERR_FILENO 0x02 |
Definition at line 396 of file studio.h.
Referenced by GetPhrase(), and GetPassphrase().
| #define STDIN_FILENO 0x00 |
Definition at line 388 of file studio.h.
Referenced by GetPhrase().
| #define WizardEpoch 1000000000L |
Definition at line 379 of file studio.h.
Referenced by AcquireLZMAInfo(), and AcquireZIPInfo().
| #define WizardSignature 0xabacadabUL |
Definition at line 127 of file studio.h.
Referenced by AcquireAESInfo(), DestroyAESInfo(), GetAESBlocksize(), SetAESKey(), AcquireAuthenticateInfo(), AuthenticateKey(), DestroyAuthenticateInfo(), GenerateAuthenticateKey(), GetAuthenticateId(), GetAuthenticateKey(), GetAuthenticateKeyLength(), GetAuthenticatePassphrase(), SetAuthenticateId(), SetAuthenticateKeyLength(), SetAuthenticatePassphrase(), CloseBlob(), DestroyBlob(), EOFBlob(), GetBlobInfo(), ReadBlob(), ReadBlobByte(), ReadBlobChunk(), SetBlobExtent(), SyncBlob(), TellBlob(), WriteBlob(), WriteBlobByte(), WriteBlobChunk(), WriteBlobString(), AcquireBZIPInfo(), DestroyBZIPInfo(), GetBZIPChaos(), IncreaseBZIP(), RestoreBZIP(), AcquireCipherInfo(), DecipherCBCMode(), DecipherCFBMode(), DecipherCipher(), DecipherCTRMode(), DecipherECBMode(), DecipherOFBMode(), DestroyCipherInfo(), EncipherCBCMode(), EncipherCFBMode(), EncipherCipher(), EncipherCTRMode(), EncipherECBMode(), EncipherOFBMode(), GetCipherBlocksize(), GenerateCipherNonce(), GetCipherNonce(), ResetCipherNonce(), SetCipherNonce(), SetCipherKey(), GetConfigureValue(), LoadConfigureList(), LoadConfigureLists(), AcquireCRC64Info(), DestroyCRC64Info(), FinalizeCRC64(), GetCRC64Blocksize(), GetCRC64CyclicRedundancyCheck(), GetCRC64Digest(), GetCRC64Digestsize(), InitializeCRC64(), UpdateCRC64(), AcquireEntropyInfo(), DestroyEntropyInfo(), GetEntropyChaos(), IncreaseEntropy(), RestoreEntropy(), AcquireExceptionInfo(), ClearWizardException(), CatchException(), DestroyExceptionInfo(), GetExceptionInfo(), GetExceptionSeverity(), InheritException(), ThrowException(), ThrowWizardExceptionList(), AcquireFileLock(), AcquireFileInfo(), DestroyFileInfo(), GetFileDescriptor(), GetFilePath(), GetFileProperties(), ReadFileByte(), ReadFileChunk(), ReadFile16Bits(), ReadFile32Bits(), ReadFile64Bits(), WriteFileChunk(), WriteFile16Bits(), AcquireHashInfo(), DestroyHashInfo(), FinalizeHash(), GetHashBlocksize(), GetHashDigest(), GetHashDigestsize(), GetHashHexDigest(), InitializeHash(), UpdateHash(), AppendValueToLinkedList(), ClearLinkedList(), DestroyHashmap(), DestroyLinkedList(), GetLastValueInLinkedList(), GetNextKeyInHashmap(), GetNextValueInHashmap(), GetNextValueInLinkedList(), GetNumberOfEntriesInHashmap(), GetNumberOfElementsInLinkedList(), GetValueFromHashmap(), GetValueFromLinkedList(), InsertValueInLinkedList(), InsertValueInSortedLinkedList(), IsHashmapEmpty(), IsLinkedListEmpty(), LinkedListToArray(), NewHashmap(), NewLinkedList(), IncreaseHashmapCapacity(), PutEntryInHashmap(), RemoveElementByValueFromLinkedList(), RemoveElementFromLinkedList(), RemoveEntryFromHashmap(), RemoveLastElementFromLinkedList(), ResetHashmapIterator(), ResetLinkedListIterator(), AcquireHMACInfo(), ConstructHMAC(), DestroyHMACInfo(), FinalizeHMAC(), GetHMACDigest(), GetHMACDigestsize(), InitializeHMAC(), ResetHMAC(), UpdateHMAC(), AcquireKeyInfo(), DestroyKeyInfo(), GenerateSessionKey(), AcquireKeyringInfo(), DestroyKeyringInfo(), ExportKeyringKey(), GetKeyringKey(), GetKeyringNonce(), ImportKeyringKey(), PrintKeyringProperties(), SetKeyringId(), SetKeyringKey(), SetKeyringNonce(), SetKeyringPath(), LoadLogList(), LoadLogLists(), AcquireLZMAInfo(), GetLZMAChaos(), DestroyLZMAInfo(), IncreaseLZMA(), RestoreLZMA(), AcquireMD5Info(), DestroyMD5Info(), FinalizeMD5(), GetMD5Blocksize(), GetMD5Digest(), GetMD5Digestsize(), InitializeMD5(), UpdateMD5(), GetMimeDescription(), GetMimeType(), LoadMimeList(), AcquireRandomInfo(), DestroyRandomInfo(), GetEntropyFromReservoir(), SaveEntropyToReservoir(), AcquireSecretInfo(), AuthenticateSecretKey(), DestroySecretInfo(), GenerateSecretKey(), GetSecretId(), GetSecretKey(), GetSecretKeyLength(), GetSecretPassphrase(), SetSecretKeyLength(), AllocateSemaphoreInfo(), DestroySemaphoreInfo(), LockSemaphoreInfo(), RelinquishSemaphoreInfo(), UnlockSemaphoreInfo(), AcquireSerpentInfo(), DestroySerpentInfo(), GetSerpentBlocksize(), SetSerpentKey(), AcquireSHA1Info(), DestroySHA1Info(), FinalizeSHA1(), GetSHA1Blocksize(), GetSHA1Digest(), GetSHA1Digestsize(), InitializeSHA1(), UpdateSHA1(), AcquireSHA224Info(), DestroySHA224Info(), FinalizeSHA224(), GetSHA224Blocksize(), GetSHA224Digest(), GetSHA224Digestsize(), InitializeSHA224(), UpdateSHA224(), AcquireSHA256Info(), DestroySHA256Info(), FinalizeSHA256(), GetSHA256Blocksize(), GetSHA256Digest(), GetSHA256Digestsize(), InitializeSHA256(), UpdateSHA256(), AcquireSHA384Info(), DestroySHA384Info(), FinalizeSHA384(), GetSHA384Blocksize(), GetSHA384Digest(), GetSHA384Digestsize(), InitializeSHA384(), UpdateSHA384(), AcquireSHA512Info(), DestroySHA512Info(), FinalizeSHA512(), GetSHA512Blocksize(), GetSHA512Digest(), GetSHA512Digestsize(), InitializeSHA512(), UpdateSHA512(), FinalizeSignature(), GetSignatureInfo(), UpdateSignature(), CloneSplayTree(), DeleteNodeByValueFromSplayTree(), DeleteNodeFromSplayTree(), DestroySplayTree(), GetNextKeyInSplayTree(), GetNextValueInSplayTree(), GetValueFromSplayTree(), GetNumberOfNodesInSplayTree(), NewSplayTree(), RemoveNodeByValueFromSplayTree(), RemoveNodeFromSplayTree(), ResetSplayTree(), ResetSplayTreeIterator(), AcquireStringInfo(), CloneStringInfo(), CompareStringInfo(), ConcatenateStringInfo(), DestroyStringInfo(), GetStringInfoCRC(), GetStringInfoDatum(), GetStringInfoLength(), GetStringInfoPath(), PrintStringInfo(), ResetStringInfo(), SetStringInfo(), SetStringInfoDatum(), SetStringInfoLength(), SetStringInfoPath(), SplitStringInfo(), AcquireTimerInfo(), ContinueTimer(), DestroyTimerInfo(), GetElapsedTime(), GetUserTime(), ResetTimer(), StartTimer(), StopTimer(), AcquireTwofishInfo(), DestroyTwofishInfo(), GetTwofishBlocksize(), SetTwofishKey(), AddChildToXMLTree(), AddPathToXMLTree(), DestroyXMLTree(), GetNextXMLTreeTag(), GetXMLTreeAttribute(), GetXMLTreeAttributes(), GetXMLTreeChild(), GetXMLTreeContent(), GetXMLTreeOrdered(), GetXMLTreePath(), GetXMLTreeProcessingInstructions(), GetXMLTreeSibling(), GetXMLTreeTag(), NewXMLTreeTag(), PruneTagFromXMLTree(), SetXMLTreeAttribute(), SetXMLTreeContent(), XMLTreeInfoToXML(), AcquireZIPInfo(), GetZIPChaos(), DestroyZIPInfo(), IncreaseZIP(), and RestoreZIP().
| unsigned char _wizard_info[1] |