/*
- Copyright 1999-2013 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_PRIVATE_H
#define _MAGICKCORE_CACHE_PRIVATE_H
-#if defined(__cplusplus) || defined(c_plusplus)
-extern "C" {
-#endif
-
-#include <time.h>
#include "MagickCore/cache.h"
#include "MagickCore/distribute-cache.h"
-#include "MagickCore/distribute-cache-private.h"
#include "MagickCore/pixel.h"
#include "MagickCore/random_.h"
#include "MagickCore/thread-private.h"
#include "MagickCore/semaphore.h"
+#if defined(__cplusplus) || defined(c_plusplus)
+extern "C" {
+#endif
+
typedef void
*Cache;
} CacheMethods;
typedef struct _NexusInfo
- NexusInfo;
+{
+ MagickBooleanType
+ mapped;
+
+ RectangleInfo
+ region;
+
+ MagickSizeType
+ length;
+
+ Quantum
+ *cache,
+ *pixels;
+
+ MagickBooleanType
+ authentic_pixel_cache;
+
+ void
+ *metacontent;
+
+ size_t
+ signature;
+} NexusInfo;
typedef struct _CacheInfo
{
alpha_trait;
MagickBooleanType
- mask;
+ read_mask,
+ write_mask;
size_t
columns,
RandomInfo
*random_info;
- ssize_t
- number_connections;
-
- DistributeCacheInfo
- connection[MaxNumberDistributedCacheClients];
+ void
+ *server_info;
MagickBooleanType
synchronize,
extern MagickPrivate Quantum
*GetAuthenticPixelCacheNexus(Image *,const ssize_t,const ssize_t,
const size_t,const size_t,NexusInfo *,ExceptionInfo *) magick_hot_spot,
- *GetPixelCacheNexusPixels(const Cache,NexusInfo *),
*QueueAuthenticPixelCacheNexus(Image *,const ssize_t,const ssize_t,
const size_t,const size_t,const MagickBooleanType,NexusInfo *,
ExceptionInfo *) magick_hot_spot;
extern MagickPrivate void
CacheComponentTerminus(void),
ClonePixelCacheMethods(Cache,const Cache),
- *GetPixelCacheNexusMetacontent(const Cache,NexusInfo *) magick_hot_spot,
*GetPixelCachePixels(Image *,MagickSizeType *,ExceptionInfo *),
GetPixelCacheTileSize(const Image *,size_t *,size_t *),
GetPixelCacheMethods(CacheMethods *),