00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef MAGICKCORE_UTILITY_H
00019 #define MAGICKCORE_UTILITY_H
00020
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024
00025 typedef enum
00026 {
00027 UndefinedPath,
00028 MagickPath,
00029 RootPath,
00030 HeadPath,
00031 TailPath,
00032 BasePath,
00033 ExtensionPath,
00034 SubimagePath,
00035 CanonicalPath,
00036 SubcanonicalPath
00037 } PathType;
00038
00039 extern MagickExport char
00040 *Base64Encode(const unsigned char *,const size_t,size_t *),
00041 **GetPathComponents(const char *,size_t *),
00042 **ListFiles(const char *,const char *,size_t *);
00043
00044 extern MagickExport MagickBooleanType
00045 AcquireUniqueFilename(char *),
00046 AcquireUniqueSymbolicLink(const char *,char *),
00047 ExpandFilenames(int *,char ***),
00048 GetPathAttributes(const char *,void *),
00049 GetExecutionPath(char *,const size_t),
00050 IsPathAccessible(const char *);
00051
00052 extern MagickExport size_t
00053 MultilineCensus(const char *) magick_attribute((__pure__));
00054
00055 extern MagickExport ssize_t
00056 GetMagickPageSize(void);
00057
00058 extern MagickExport unsigned char
00059 *Base64Decode(const char *, size_t *);
00060
00061 extern MagickExport void
00062 AppendImageFormat(const char *,char *),
00063 ChopPathComponents(char *,const size_t),
00064 ExpandFilename(char *),
00065 GetPathComponent(const char *,PathType,char *),
00066 MagickDelay(const MagickSizeType);
00067
00068 #if defined(__cplusplus) || defined(c_plusplus)
00069 }
00070 #endif
00071
00072 #endif