]> granicus.if.org Git - imagemagick/blobdiff - MagickCore/distribute-cache-private.h
Update web pages
[imagemagick] / MagickCore / distribute-cache-private.h
index 3ffe8db73084d2d2d2eb2209318c71a7ea5d72f4..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
     file;
 
-  MagickSizeType
+  size_t
     session_key;
 
   char
-    hostname[MaxTextExtent];
+    hostname[MagickPathExtent];
 
   int
     port;
 
+  MagickBooleanType
+    debug;
+
   size_t
     signature;
 } DistributeCacheInfo;
 
+extern MagickPrivate const char
+  *GetDistributeCacheHostname(const DistributeCacheInfo *);
+
 extern MagickPrivate DistributeCacheInfo
   *AcquireDistributeCacheInfo(ExceptionInfo *),
   *DestroyDistributeCacheInfo(DistributeCacheInfo *);
 
+extern MagickPrivate int
+  GetDistributeCacheFile(const DistributeCacheInfo *),
+  GetDistributeCachePort(const DistributeCacheInfo *);
+
 extern MagickPrivate MagickBooleanType
   OpenDistributePixelCache(DistributeCacheInfo *,Image *),
-  ReadDistributePixelCache(DistributeCacheInfo *,const RectangleInfo *,
-    Quantum *),
-  WriteDistributePixelCache(DistributeCacheInfo *,const RectangleInfo *,
-    const Quantum *);
-
-extern MagickPrivate void
   RelinquishDistributePixelCache(DistributeCacheInfo *);
 
+extern MagickPrivate MagickOffsetType
+  ReadDistributePixelCacheMetacontent(DistributeCacheInfo *,
+    const RectangleInfo *,const MagickSizeType,unsigned char *),
+  ReadDistributePixelCachePixels(DistributeCacheInfo *,const RectangleInfo *,
+    const MagickSizeType,unsigned char *restrict),
+  WriteDistributePixelCacheMetacontent(DistributeCacheInfo *,
+    const RectangleInfo *,const MagickSizeType,const unsigned char *),
+  WriteDistributePixelCachePixels(DistributeCacheInfo *,const RectangleInfo *,
+    const MagickSizeType,const unsigned char *restrict);
+
+#if defined(__cplusplus) || defined(c_plusplus)
+}
+#endif
+
 #endif