Go to the source code of this file.
Enumerations | |
| enum | PathType { UndefinedPath, MagickPath, RootPath, HeadPath, TailPath, BasePath, ExtensionPath, SubimagePath, CanonicalPath } |
Functions | |
| MagickExport char * | Base64Encode (const unsigned char *, const size_t, size_t *) |
| MagickExport char *** | GetPathComponents (const char *, unsigned long *) |
| MagickExport char ***** | ListFiles (const char *, const char *, unsigned long *) |
| MagickExport FILE * | OpenMagickStream (const char *, const char *) |
| MagickExport int | SystemCommand (const MagickBooleanType, const char *, ExceptionInfo *) |
| MagickExport long | GetMagickPageSize (void) |
| MagickExport MagickBooleanType | AcquireUniqueFilename (char *) |
| MagickExport MagickBooleanType | AcquireUniqueSymbolicLink (const char *, char *) |
| MagickExport MagickBooleanType | ExpandFilenames (int *, char ***) |
| MagickExport MagickBooleanType | GetPathAttributes (const char *, void *) |
| MagickExport MagickBooleanType | GetExecutionPath (char *, const size_t) |
| MagickExport MagickBooleanType | IsMagickTrue (const char *) |
| MagickExport MagickBooleanType | IsPathAccessible (const char *) |
| MagickExport unsigned char * | Base64Decode (const char *, size_t *) |
| MagickExport unsigned long | MultilineCensus (const char *) |
| MagickExport void | AppendImageFormat (const char *, char *) |
| MagickExport void | ChopPathComponents (char *, const unsigned long) |
| MagickExport void | ExpandFilename (char *) |
| MagickExport void | GetPathComponent (const char *, PathType, char *) |
| enum PathType |
| MagickExport MagickBooleanType AcquireUniqueFilename | ( | char * | ) |
| MagickExport MagickBooleanType AcquireUniqueSymbolicLink | ( | const char * | , | |
| char * | ||||
| ) |
| MagickExport void AppendImageFormat | ( | const char * | , | |
| char * | ||||
| ) |
| MagickExport unsigned char* Base64Decode | ( | const char * | , | |
| size_t * | ||||
| ) |
Definition at line 312 of file utility.c.
References AcquireQuantumMemory(), Base64, GetMagickModule, LogMagickEvent(), RelinquishMagickMemory(), and TraceEvent.
Referenced by ReadInlineImage().
| MagickExport char* Base64Encode | ( | const unsigned char * | , | |
| const | size_t, | |||
| size_t * | ||||
| ) |
| MagickExport void ChopPathComponents | ( | char * | , | |
| const unsigned long | ||||
| ) |
| MagickExport void ExpandFilename | ( | char * | ) |
| MagickExport MagickBooleanType ExpandFilenames | ( | int * | , | |
| char *** | ||||
| ) |
| MagickExport MagickBooleanType GetExecutionPath | ( | char * | , | |
| const | size_t | |||
| ) |
| MagickExport long GetMagickPageSize | ( | void | ) |
Definition at line 1023 of file utility.c.
References sysconf.
Referenced by PersistPixelCache(), and ResourceComponentGenesis().
| MagickExport MagickBooleanType GetPathAttributes | ( | const char * | , | |
| void * | ||||
| ) |
| MagickExport void GetPathComponent | ( | const char * | , | |
| PathType | , | |||
| char * | ||||
| ) |
Definition at line 1241 of file utility.c.
References BasePath, CanonicalPath, CopyMagickMemory(), CopyMagickString(), ExtensionPath, GetMagickModule, HeadPath, IsBasenameSeparator, IsGeometry(), IsMagickConflict(), IsPathAccessible(), IsPathDirectory(), IsSceneGeometry(), LogMagickEvent(), MagickFalse, MagickPath, MaxTextExtent, RootPath, SubimagePath, TailPath, TraceEvent, and UndefinedPath.
Referenced by AddPathToXMLTree(), AppendImageFormat(), ChopPathComponents(), ExpandFilenames(), GetMagickProperty(), GetXMLTreePath(), IdentifyImage(), InterpretImageProperties(), LoadCoderList(), LoadColorList(), LoadConfigureList(), LoadDelegateList(), LoadFontConfigFonts(), LoadLocaleList(), LoadLogList(), LoadMagicList(), LoadMimeList(), LoadPolicyList(), LoadTypeList(), MagickCoreGenesis(), OpenBlob(), SetImageInfo(), and ThrowMagickExceptionList().
| MagickExport char* ** GetPathComponents | ( | const char * | , | |
| unsigned long * | ||||
| ) |
| MagickExport MagickBooleanType IsMagickTrue | ( | const char * | ) |
| MagickExport MagickBooleanType IsPathAccessible | ( | const char * | ) |
Definition at line 1466 of file utility.c.
References access, F_OK, GetPathAttributes(), MagickFalse, MagickTrue, S_ISREG, and stat.
Referenced by GetConfigureBlob(), GetExecutionPath(), GetMagickHomeURL(), GetPathComponent(), InterpretImageProperties(), IsGlob(), LoadTypeList(), LogMagickEventList(), ReadImage(), RenderType(), and WriteImage().
| MagickExport char* ** ** ListFiles | ( | const char * | , | |
| const char * | , | |||
| unsigned long * | ||||
| ) |
Definition at line 1635 of file utility.c.
References AcquireMagickMemory(), AcquireQuantumMemory(), AcquireString(), closedir, ConcatenateMagickString(), dirent::d_name, DirectorySeparator, FileCompare(), GetMagickModule, GlobExpression(), IsPathDirectory(), LocaleCompare(), LogMagickEvent(), MagickFalse, MagickReadDirectory(), MagickTrue, MaxTextExtent, opendir, RelinquishMagickMemory(), ResizeQuantumMemory(), ResourceLimitFatalError, ThrowFatalException, and TraceEvent.
Referenced by ExpandFilenames(), and XFileBrowserWidget().
| MagickExport unsigned long MultilineCensus | ( | const char * | ) |
Definition at line 1758 of file utility.c.
Referenced by MontageImageList().
| MagickExport FILE* OpenMagickStream | ( | const char * | , | |
| const char * | ||||
| ) |
Definition at line 1799 of file utility.c.
References RelinquishMagickMemory().
Referenced by LogMagickEventList(), and OpenBlob().
| MagickExport int SystemCommand | ( | const | MagickBooleanType, | |
| const char * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 1864 of file utility.c.
References DelegateError, DelegatePolicyDomain, DestroyString(), ExecutePolicyRights, GetExceptionMessage(), GetMagickModule, IsRightsAuthorized(), MACSystemCommand(), MagickFalse, NTSystemCommand(), PolicyError, RelinquishMagickMemory(), StringToArgv(), and ThrowMagickException().
Referenced by InvokeDelegate().
1.6.1