]> granicus.if.org Git - imagemagick/blobdiff - MagickCore/distribute-cache-private.h
(no commit message)
[imagemagick] / MagickCore / distribute-cache-private.h
index 0f9e1dc3fa617db021354ad4c6c7b74eb7d3ad6d..68765b984b0f79d215939887135dde33822e1e06 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  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_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
     file;
 
-  MagickSizeType
+  size_t
     session_key;
 
   char
@@ -39,6 +39,9 @@ typedef struct _DistributeCacheInfo
   int
     port;
 
+  MagickBooleanType
+    debug;
+
   size_t
     signature;
 } DistributeCacheInfo;
@@ -56,14 +59,20 @@ extern MagickPrivate int
 
 extern MagickPrivate MagickBooleanType
   OpenDistributePixelCache(DistributeCacheInfo *,Image *),
+  RelinquishDistributePixelCache(DistributeCacheInfo *);
+
+extern MagickPrivate MagickOffsetType
   ReadDistributePixelCacheMetacontent(DistributeCacheInfo *,
     const RectangleInfo *,const MagickSizeType,unsigned char *),
   ReadDistributePixelCachePixels(DistributeCacheInfo *,const RectangleInfo *,
     const MagickSizeType,unsigned char *),
-  RelinquishDistributePixelCache(DistributeCacheInfo *),
   WriteDistributePixelCacheMetacontent(DistributeCacheInfo *,
     const RectangleInfo *,const MagickSizeType,const unsigned char *),
   WriteDistributePixelCachePixels(DistributeCacheInfo *,const RectangleInfo *,
     const MagickSizeType,const unsigned char *);
 
+#if defined(__cplusplus) || defined(c_plusplus)
+}
+#endif
+
 #endif