typedef int
*(*BlobFifo)(const Image *,const void *,const size_t);
-extern MagickPrivate BlobInfo
+extern MagickExport BlobInfo
*CloneBlobInfo(const BlobInfo *),
*ReferenceBlob(BlobInfo *);
-extern MagickPrivate char
+extern MagickExport char
*ReadBlobString(Image *,char *);
-extern MagickPrivate const struct stat
+extern MagickExport const struct stat
*GetBlobProperties(const Image *);
-extern MagickPrivate const void
+extern MagickExport const void
*ReadBlobStream(Image *,const size_t,void *,ssize_t *);
-extern MagickPrivate double
+extern MagickExport double
ReadBlobDouble(Image *);
-extern MagickPrivate float
+extern MagickExport float
ReadBlobFloat(Image *);
-extern MagickPrivate int
+extern MagickExport int
EOFBlob(const Image *),
ReadBlobByte(Image *);
-extern MagickPrivate MagickBooleanType
+extern MagickExport MagickBooleanType
CloseBlob(Image *),
DiscardBlobBytes(Image *,const MagickSizeType),
OpenBlob(const ImageInfo *,Image *,const BlobMode,ExceptionInfo *),
SetBlobExtent(Image *,const MagickSizeType),
UnmapBlob(void *,const size_t);
-extern MagickPrivate MagickOffsetType
+extern MagickExport MagickOffsetType
SeekBlob(Image *,const MagickOffsetType,const int),
TellBlob(const Image *);
-extern MagickPrivate MagickSizeType
+extern MagickExport MagickSizeType
ReadBlobLongLong(Image *),
ReadBlobMSBLongLong(Image *);
-extern MagickPrivate ssize_t
+extern MagickExport ssize_t
ReadBlob(Image *,const size_t,void *),
WriteBlob(Image *,const size_t,const void *),
WriteBlobByte(Image *,const unsigned char),
WriteBlobMSBShort(Image *,const unsigned short),
WriteBlobString(Image *,const char *);
-extern MagickPrivate unsigned int
+extern MagickExport unsigned int
ReadBlobLong(Image *),
ReadBlobLSBLong(Image *),
ReadBlobMSBLong(Image *);
-extern MagickPrivate unsigned short
+extern MagickExport unsigned short
ReadBlobShort(Image *),
ReadBlobLSBShort(Image *),
ReadBlobMSBShort(Image *);
-extern MagickPrivate void
+extern MagickExport void
AttachBlob(BlobInfo *,const void *,const size_t),
*DetachBlob(BlobInfo *),
DisassociateBlob(Image *),
% o length: This size_t integer reflects the length in bytes of the blob.
%
*/
-MagickPrivate void AttachBlob(BlobInfo *blob_info,const void *blob,
+MagickBlob void AttachBlob(BlobInfo *blob_info,const void *blob,
const size_t length)
{
assert(blob_info != (BlobInfo *) NULL);
% o blob_info: the blob info.
%
*/
-MagickPrivate BlobInfo *CloneBlobInfo(const BlobInfo *blob_info)
+MagickBlob BlobInfo *CloneBlobInfo(const BlobInfo *blob_info)
{
BlobInfo
*clone_info;
% o image: the image.
%
*/
-MagickPrivate MagickBooleanType CloseBlob(Image *image)
+MagickBlob MagickBooleanType CloseBlob(Image *image)
{
int
status;
% o blob_info: Specifies a pointer to a BlobInfo structure.
%
*/
-MagickPrivate void *DetachBlob(BlobInfo *blob_info)
+MagickBlob void *DetachBlob(BlobInfo *blob_info)
{
void
*data;
% o image: the image.
%
*/
-MagickPrivate void DisassociateBlob(Image *image)
+MagickBlob void DisassociateBlob(Image *image)
{
BlobInfo
*blob;
% o length: the number of bytes to skip.
%
*/
-MagickPrivate MagickBooleanType DiscardBlobBytes(Image *image,
+MagickBlob MagickBooleanType DiscardBlobBytes(Image *image,
const MagickSizeType length)
{
register MagickOffsetType
% o image: the image.
%
*/
-MagickPrivate int EOFBlob(const Image *image)
+MagickBlob int EOFBlob(const Image *image)
{
assert(image != (Image *) NULL);
assert(image->signature == MagickCoreSignature);
% o blob_info: Specifies a pointer to a BlobInfo structure.
%
*/
-MagickPrivate void GetBlobInfo(BlobInfo *blob_info)
+MagickBlob void GetBlobInfo(BlobInfo *blob_info)
{
assert(blob_info != (BlobInfo *) NULL);
(void) ResetMagickMemory(blob_info,0,sizeof(*blob_info));
% o image: the image.
%
*/
-MagickPrivate const struct stat *GetBlobProperties(const Image *image)
+MagickBlob const struct stat *GetBlobProperties(const Image *image)
{
assert(image != (Image *) NULL);
assert(image->signature == MagickCoreSignature);
% o length: the length of the mapping is returned in this pointer.
%
*/
-MagickPrivate void *MapBlob(int file,const MapMode mode,
+MagickBlob void *MapBlob(int file,const MapMode mode,
const MagickOffsetType offset,const size_t length)
{
#if defined(MAGICKCORE_HAVE_MMAP)
% o length: Specifies the length of the buffer.
%
*/
-MagickPrivate void MSBOrderLong(unsigned char *buffer,const size_t length)
+MagickBlob void MSBOrderLong(unsigned char *buffer,const size_t length)
{
int
c;
% o length: Specifies the length of the buffer.
%
*/
-MagickPrivate void MSBOrderShort(unsigned char *p,const size_t length)
+MagickBlob void MSBOrderShort(unsigned char *p,const size_t length)
{
int
c;
return(status == 0 ? MagickTrue : MagickFalse);
}
-MagickPrivate MagickBooleanType OpenBlob(const ImageInfo *image_info,
+MagickBlob MagickBooleanType OpenBlob(const ImageInfo *image_info,
Image *image,const BlobMode mode,ExceptionInfo *exception)
{
char
% file.
%
*/
-MagickPrivate ssize_t ReadBlob(Image *image,const size_t length,void *data)
+MagickBlob ssize_t ReadBlob(Image *image,const size_t length,void *data)
{
int
c;
% o image: the image.
%
*/
-MagickPrivate int ReadBlobByte(Image *image)
+MagickBlob int ReadBlobByte(Image *image)
{
register const unsigned char
*p;
% o image: the image.
%
*/
-MagickPrivate double ReadBlobDouble(Image *image)
+MagickBlob double ReadBlobDouble(Image *image)
{
union
{
% o image: the image.
%
*/
-MagickPrivate float ReadBlobFloat(Image *image)
+MagickBlob float ReadBlobFloat(Image *image)
{
union
{
% o image: the image.
%
*/
-MagickPrivate unsigned int ReadBlobLong(Image *image)
+MagickBlob unsigned int ReadBlobLong(Image *image)
{
register const unsigned char
*p;
% o image: the image.
%
*/
-MagickPrivate MagickSizeType ReadBlobLongLong(Image *image)
+MagickBlob MagickSizeType ReadBlobLongLong(Image *image)
{
MagickSizeType
value;
% o image: the image.
%
*/
-MagickPrivate unsigned short ReadBlobShort(Image *image)
+MagickBlob unsigned short ReadBlobShort(Image *image)
{
register const unsigned char
*p;
% o image: the image.
%
*/
-MagickPrivate unsigned int ReadBlobLSBLong(Image *image)
+MagickBlob unsigned int ReadBlobLSBLong(Image *image)
{
register const unsigned char
*p;
% o image: the image.
%
*/
-MagickPrivate unsigned short ReadBlobLSBShort(Image *image)
+MagickBlob unsigned short ReadBlobLSBShort(Image *image)
{
register const unsigned char
*p;
% o image: the image.
%
*/
-MagickPrivate unsigned int ReadBlobMSBLong(Image *image)
+MagickBlob unsigned int ReadBlobMSBLong(Image *image)
{
register const unsigned char
*p;
% o image: the image.
%
*/
-MagickPrivate MagickSizeType ReadBlobMSBLongLong(Image *image)
+MagickBlob MagickSizeType ReadBlobMSBLongLong(Image *image)
{
register const unsigned char
*p;
% o image: the image.
%
*/
-MagickPrivate unsigned short ReadBlobMSBShort(Image *image)
+MagickBlob unsigned short ReadBlobMSBShort(Image *image)
{
register const unsigned char
*p;
% file.
%
*/
-MagickPrivate const void *ReadBlobStream(Image *image,const size_t length,
+MagickBlob const void *ReadBlobStream(Image *image,const size_t length,
void *data,ssize_t *count)
{
assert(image != (Image *) NULL);
% o string: the address of a character buffer.
%
*/
-MagickPrivate char *ReadBlobString(Image *image,char *string)
+MagickBlob char *ReadBlobString(Image *image,char *string)
{
register const unsigned char
*p;
% o blob_info: the blob_info.
%
*/
-MagickPrivate BlobInfo *ReferenceBlob(BlobInfo *blob)
+MagickBlob BlobInfo *ReferenceBlob(BlobInfo *blob)
{
assert(blob != (BlobInfo *) NULL);
assert(blob->signature == MagickCoreSignature);
% SEEK_END Set position to EOF plus offset.
%
*/
-MagickPrivate MagickOffsetType SeekBlob(Image *image,
+MagickBlob MagickOffsetType SeekBlob(Image *image,
const MagickOffsetType offset,const int whence)
{
assert(image != (Image *) NULL);
% o extent: the blob maximum extent.
%
*/
-MagickPrivate MagickBooleanType SetBlobExtent(Image *image,
+MagickBlob MagickBooleanType SetBlobExtent(Image *image,
const MagickSizeType extent)
{
assert(image != (Image *) NULL);
% o image: the image.
%
*/
-MagickPrivate MagickOffsetType TellBlob(const Image *image)
+MagickBlob MagickOffsetType TellBlob(const Image *image)
{
MagickOffsetType
offset;
% o length: the length of the binary large object.
%
*/
-MagickPrivate MagickBooleanType UnmapBlob(void *map,const size_t length)
+MagickBlob MagickBooleanType UnmapBlob(void *map,const size_t length)
{
#if defined(MAGICKCORE_HAVE_MMAP)
int
% o data: The address of the data to write to the blob or file.
%
*/
-MagickPrivate ssize_t WriteBlob(Image *image,const size_t length,
+MagickBlob ssize_t WriteBlob(Image *image,const size_t length,
const void *data)
{
int
% o value: Specifies the value to write.
%
*/
-MagickPrivate ssize_t WriteBlobByte(Image *image,const unsigned char value)
+MagickBlob ssize_t WriteBlobByte(Image *image,const unsigned char value)
{
assert(image != (Image *) NULL);
assert(image->signature == MagickCoreSignature);
% o value: Specifies the value to write.
%
*/
-MagickPrivate ssize_t WriteBlobFloat(Image *image,const float value)
+MagickBlob ssize_t WriteBlobFloat(Image *image,const float value)
{
union
{
% o value: Specifies the value to write.
%
*/
-MagickPrivate ssize_t WriteBlobLong(Image *image,const unsigned int value)
+MagickBlob ssize_t WriteBlobLong(Image *image,const unsigned int value)
{
unsigned char
buffer[4];
% o value: Specifies the value to write.
%
*/
-MagickPrivate ssize_t WriteBlobShort(Image *image,const unsigned short value)
+MagickBlob ssize_t WriteBlobShort(Image *image,const unsigned short value)
{
unsigned char
buffer[2];
% o value: Specifies the value to write.
%
*/
-MagickPrivate ssize_t WriteBlobLSBLong(Image *image,const unsigned int value)
+MagickBlob ssize_t WriteBlobLSBLong(Image *image,const unsigned int value)
{
unsigned char
buffer[4];
% o value: Specifies the value to write.
%
*/
-MagickPrivate ssize_t WriteBlobLSBShort(Image *image,const unsigned short value)
+MagickBlob ssize_t WriteBlobLSBShort(Image *image,const unsigned short value)
{
unsigned char
buffer[2];
% o image: the image.
%
*/
-MagickPrivate ssize_t WriteBlobMSBLong(Image *image,const unsigned int value)
+MagickBlob ssize_t WriteBlobMSBLong(Image *image,const unsigned int value)
{
unsigned char
buffer[4];
% o image: the image.
%
*/
-MagickPrivate ssize_t WriteBlobMSBLongLong(Image *image,
+MagickBlob ssize_t WriteBlobMSBLongLong(Image *image,
const MagickSizeType value)
{
unsigned char
% o file: Specifies the file to write the data to.
%
*/
-MagickPrivate ssize_t WriteBlobMSBShort(Image *image,const unsigned short value)
+MagickBlob ssize_t WriteBlobMSBShort(Image *image,const unsigned short value)
{
unsigned char
buffer[2];
% o string: Specifies the string to write.
%
*/
-MagickPrivate ssize_t WriteBlobString(Image *image,const char *string)
+MagickBlob ssize_t WriteBlobString(Image *image,const char *string)
{
assert(image != (Image *) NULL);
assert(image->signature == MagickCoreSignature);