utility.h
Go to the documentation of this file.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 } PathType;
00037
00038 extern MagickExport char
00039 *Base64Encode(const unsigned char *,const size_t,size_t *),
00040 **GetPathComponents(const char *,unsigned long *),
00041 **ListFiles(const char *,const char *,unsigned long *);
00042
00043 extern MagickExport FILE
00044 *OpenMagickStream(const char *,const char *);
00045
00046 extern MagickExport int
00047 SystemCommand(const MagickBooleanType,const char *,ExceptionInfo *);
00048
00049 extern MagickExport long
00050 GetMagickPageSize(void);
00051
00052 extern MagickExport MagickBooleanType
00053 AcquireUniqueFilename(char *),
00054 AcquireUniqueSymbolicLink(const char *,char *),
00055 ExpandFilenames(int *,char ***),
00056 GetPathAttributes(const char *,void *),
00057 GetExecutionPath(char *,const size_t),
00058 IsMagickTrue(const char *),
00059 IsPathAccessible(const char *);
00060
00061 extern MagickExport unsigned char
00062 *Base64Decode(const char *, size_t *);
00063
00064 extern MagickExport unsigned long
00065 MultilineCensus(const char *);
00066
00067 extern MagickExport void
00068 AppendImageFormat(const char *,char *),
00069 ChopPathComponents(char *,const unsigned long),
00070 ExpandFilename(char *),
00071 GetPathComponent(const char *,PathType,char *);
00072
00073 #if defined(__cplusplus) || defined(c_plusplus)
00074 }
00075 #endif
00076
00077 #endif