%
% o port: connect the distributed pixel cache at this port.
%
+% o exception: return any errors or warnings in this structure.
+%
*/
-MagickExport void PixelCacheServer(const size_t port)
+MagickExport void PixelCacheServer(const size_t port,ExceptionInfo *exception)
{
#if defined(MAGICKCORE_HAVE_SOCKET) && defined(MAGICKCORE_HAVE_PTHREAD)
char
}
#else
(void) ThrowMagickException(exception,GetMagickModule(),MissingDelegateError,
- "DelegateLibrarySupportNotBuiltIn","'%s' (socket)",image_info->filename);
+ "DelegateLibrarySupportNotBuiltIn","'%s' (socket)",
+ "distributed pixel cache");
#endif
}
extern "C" {
#endif
+#include <MagickCore/exception.h>
+
extern MagickExport void
- PixelCacheServer(const size_t);
+ PixelCacheServer(const size_t,ExceptionInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}
(void) SetLogEventMask(argv[++i]);
if (LocaleCompare("-distribute-cache",option) == 0)
{
- PixelCacheServer(StringToUnsignedLong(argv[++i]));
+ PixelCacheServer(StringToUnsignedLong(argv[++i]),exception);
exit(0);
}
if (LocaleCompare("-duration",option) == 0)