#ifndef _MAGICKCORE_DISTRIBUTE_CACHE_PRIVATE_H
#define _MAGICKCORE_DISTRIBUTE_CACHE_PRIVATE_H
#include "magick/geometry.h"
#include "magick/exception.h"
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
typedef struct _DistributeCacheInfo
{
int
file;
size_t
session_key;
char
hostname[MaxTextExtent];
int
port;
size_t
signature;
MagickBooleanType
debug;
} 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 *),
RelinquishDistributePixelCache(DistributeCacheInfo *);
extern MagickPrivate MagickOffsetType
ReadDistributePixelCacheIndexes(DistributeCacheInfo *,
const RectangleInfo *,const MagickSizeType,unsigned char *),
ReadDistributePixelCachePixels(DistributeCacheInfo *,const RectangleInfo *,
const MagickSizeType,unsigned char *magick_restrict),
WriteDistributePixelCacheIndexes(DistributeCacheInfo *,
const RectangleInfo *,const MagickSizeType,const unsigned char *),
WriteDistributePixelCachePixels(DistributeCacheInfo *,const RectangleInfo *,
const MagickSizeType,const unsigned char *magick_restrict);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif