/*
- Copyright 1999-2013 ImageMagick Studio LLC, a non-profit organization
+ Copyright 1999-2015 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_DISTRIBUTE_CACHE_PRIVATE_H
#define _MAGICKCORE_DISTRIBUTE_CACHE_PRIVATE_H
+#include "MagickCore/geometry.h"
+#include "MagickCore/exception.h"
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
-#include "MagickCore/geometry.h"
-#include "MagickCore/exception.h"
-
typedef struct _DistributeCacheInfo
{
int
session_key;
char
- hostname[MaxTextExtent];
+ hostname[MagickPathExtent];
int
port;
+ MagickBooleanType
+ debug;
+
size_t
signature;
} DistributeCacheInfo;
ReadDistributePixelCacheMetacontent(DistributeCacheInfo *,
const RectangleInfo *,const MagickSizeType,unsigned char *),
ReadDistributePixelCachePixels(DistributeCacheInfo *,const RectangleInfo *,
- const MagickSizeType,unsigned char *),
+ const MagickSizeType,unsigned char *restrict),
WriteDistributePixelCacheMetacontent(DistributeCacheInfo *,
const RectangleInfo *,const MagickSizeType,const unsigned char *),
WriteDistributePixelCachePixels(DistributeCacheInfo *,const RectangleInfo *,
- const MagickSizeType,const unsigned char *);
+ const MagickSizeType,const unsigned char *restrict);
+
+#if defined(__cplusplus) || defined(c_plusplus)
+}
+#endif
#endif