]> granicus.if.org Git - imagemagick/blobdiff - MagickCore/cache.h
(no commit message)
[imagemagick] / MagickCore / cache.h
index 6b1e5d04ea3636be5424abd0fd0c4a3f316d2686..e606e6db9cd8d60639a00b3ce1b7fefa25595770 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization
+  Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization
   dedicated to making software imaging solutions freely available.
   
   You may not use this file except in compliance with the License.
 #ifndef _MAGICKCORE_CACHE_H
 #define _MAGICKCORE_CACHE_H
 
+#include "MagickCore/blob.h"
+
 #if defined(__cplusplus) || defined(c_plusplus)
 extern "C" {
 #endif
 
-#include "MagickCore/blob.h"
+typedef enum
+{
+  UndefinedCache,
+  DiskCache,
+  DistributedCache,
+  MapCache,
+  MemoryCache,
+  PingCache
+} CacheType;
+
+extern MagickExport CacheType
+  GetImagePixelCacheType(const Image *);
 
 extern MagickExport const Quantum
   *GetVirtualPixels(const Image *,const ssize_t,const ssize_t,const size_t,