MagickCore 7.0.10
utility.h File Reference
This graph shows which files directly or indirectly include this file:

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 *)
 

Enumeration Type Documentation

◆ PathType

enum PathType
Enumerator
UndefinedPath 
FilesystemPath 
RootPath 
HeadPath 
TailPath 
BasePath 
ExtensionPath 
SubnodePath 
CanonicalPath 

Definition at line 25 of file utility.h.

Function Documentation

◆ AppendFileExtension()

WizardExport void AppendFileExtension ( const char *  ,
char *   
)

◆ Base64Decode()

WizardExport unsigned char * Base64Decode ( const char *  source,
size_t *  length 
)

◆ Base64Encode()

WizardExport char * Base64Encode ( const unsigned char *  ,
const size_t  ,
size_t *   
)

◆ ChopPathComponents()

WizardExport void ChopPathComponents ( char *  ,
const size_t   
)

◆ GetExecutionPath()

◆ GetPathComponent()

◆ GetPathComponents()

WizardExport char ** GetPathComponents ( const char *  path,
size_t *  number_components 
)

Definition at line 576 of file utility.c.

◆ IsPathAcessible()

WizardExport WizardBooleanType IsPathAcessible ( const char *  )

◆ IsWizardTrue()

WizardExport WizardBooleanType IsWizardTrue ( const char *  value)

Definition at line 910 of file utility.c.

References LocaleCompare(), WizardFalse, and WizardTrue.

Referenced by LoadConfigureCache(), and LoadMimeCache().

◆ ParseWizardTime()

WizardExport const char * ParseWizardTime ( const char *  timestamp,
time_t *  target 
)

Definition at line 951 of file utility.c.

References StringToDouble().