]> granicus.if.org Git - imagemagick/blobdiff - MagickCore/distribute-cache-private.h
Update web pages
[imagemagick] / MagickCore / distribute-cache-private.h
index c403e5d474acf4f040ee0592c895ddefe4373182..9325c3441211f2b383f76d9209627170b1766a7a 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  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
@@ -34,11 +34,14 @@ typedef struct _DistributeCacheInfo
     session_key;
 
   char
-    hostname[MaxTextExtent];
+    hostname[MagickPathExtent];
 
   int
     port;
 
+  MagickBooleanType
+    debug;
+
   size_t
     signature;
 } DistributeCacheInfo;
@@ -62,10 +65,14 @@ extern MagickPrivate MagickOffsetType
   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