MagickCore 7.0.10
|
Go to the source code of this file.
Enumerations | |
enum | PathType { UndefinedPath , FilesystemPath , RootPath , HeadPath , TailPath , BasePath , ExtensionPath , SubnodePath , CanonicalPath } |
Functions | |
WizardExport char * | Base64Encode (const unsigned char *, const size_t, size_t *) |
WizardExport char ** | GetPathComponents (const char *, size_t *) |
WizardExport const char * | ParseWizardTime (const char *, time_t *) |
WizardExport unsigned char * | Base64Decode (const char *, size_t *) |
WizardExport void | AppendFileExtension (const char *, char *) |
WizardExport void | ChopPathComponents (char *, const size_t) |
WizardExport void | GetPathComponent (const char *, PathType, char *) |
WizardExport WizardBooleanType | GetExecutionPath (char *, const size_t) |
WizardExport WizardBooleanType | IsPathAcessible (const char *) |
WizardExport WizardBooleanType | IsWizardTrue (const char *) |
enum PathType |
WizardExport void AppendFileExtension | ( | const char * | , |
char * | |||
) |
WizardExport unsigned char * Base64Decode | ( | const char * | source, |
size_t * | length | ||
) |
Definition at line 136 of file utility.c.
References AcquireQuantumMemory(), Base64, GetWizardModule, LogWizardEvent(), RelinquishWizardMemory(), and TraceEvent.
WizardExport char * Base64Encode | ( | const unsigned char * | , |
const size_t | , | ||
size_t * | |||
) |
WizardExport void ChopPathComponents | ( | char * | , |
const size_t | |||
) |
WizardExport WizardBooleanType GetExecutionPath | ( | char * | path, |
const size_t | extent | ||
) |
Definition at line 37 of file utility.c.
References AcquireQuantumMemory(), ConcatenateWizardString(), CopyWizardString(), DirectorySeparator, FormatLocaleString(), IsPathAcessible(), PATH_MAX, RelinquishWizardMemory(), and WizardPathExtent.
Referenced by WizardsToolkitGenesis().
WizardExport void GetPathComponent | ( | const char * | path, |
PathType | type, | ||
char * | component | ||
) |
Definition at line 415 of file utility.c.
References BasePath, CanonicalPath, CopyWizardMemory(), CopyWizardString(), ExtensionPath, FilesystemPath, GetWizardModule, HeadPath, IsBasenameSeparator, IsDirectory(), IsPathAcessible(), LogWizardEvent(), RootPath, SubnodePath, TailPath, TraceEvent, UndefinedPath, WizardFalse, and WizardPathExtent.
Referenced by AddPathToXMLTree(), AppendFileExtension(), ChopPathComponents(), GetXMLTreePath(), LoadConfigureCache(), LoadLocaleCache(), LoadLogCache(), LoadMimeCache(), OpenBlob(), and WizardsToolkitGenesis().
WizardExport char ** GetPathComponents | ( | const char * | path, |
size_t * | number_components | ||
) |
WizardExport WizardBooleanType IsPathAcessible | ( | const char * | ) |
WizardExport WizardBooleanType IsWizardTrue | ( | const char * | value | ) |
Definition at line 910 of file utility.c.
References LocaleCompare(), WizardFalse, and WizardTrue.
Referenced by LoadConfigureCache(), and LoadMimeCache().
WizardExport const char * ParseWizardTime | ( | const char * | timestamp, |
time_t * | target | ||
) |
Definition at line 951 of file utility.c.
References StringToDouble().