/*
- 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,
ExceptionInfo *),
GetOneVirtualPixelInfo(const Image *,const VirtualPixelMethod,
const ssize_t,const ssize_t,PixelInfo *,ExceptionInfo *),
- IsPixelCacheInCore(const Image *),
PersistPixelCache(Image *,const char *,const MagickBooleanType,
MagickOffsetType *,ExceptionInfo *),
SyncAuthenticPixels(Image *,ExceptionInfo *) magick_hot_spot;