MagickCore  7.0.3
blob-private.h File Reference
Include dependency graph for blob-private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MagickMinBlobExtent   32767L
 

Enumerations

enum  BlobMode {
  UndefinedBlobMode, ReadBlobMode, ReadBinaryBlobMode, WriteBlobMode,
  WriteBinaryBlobMode, AppendBlobMode, AppendBinaryBlobMode
}
 
enum  StreamType {
  UndefinedStream, FileStream, StandardStream, PipeStream,
  ZipStream, BZipStream, FifoStream, BlobStream,
  CustomStream
}
 

Functions

MagickExport BlobInfoCloneBlobInfo (const BlobInfo *)
 
MagickExport BlobInfoReferenceBlob (BlobInfo *)
 
MagickExport char * ReadBlobString (Image *, char *)
 
MagickExport struct stat * GetBlobProperties (const Image *)
 
MagickExport const void * ReadBlobStream (Image *, const size_t, void *, ssize_t *)
 
MagickExport double ReadBlobDouble (Image *)
 
MagickExport float ReadBlobFloat (Image *)
 
MagickExport int EOFBlob (const Image *)
 
MagickExport int ErrorBlob (const Image *)
 
MagickExport int ReadBlobByte (Image *)
 
MagickExport MagickBooleanType CloseBlob (Image *)
 
MagickExport MagickBooleanType DiscardBlobBytes (Image *, const MagickSizeType)
 
MagickExport MagickBooleanType OpenBlob (const ImageInfo *, Image *, const BlobMode, ExceptionInfo *)
 
MagickExport MagickBooleanType SetBlobExtent (Image *, const MagickSizeType)
 
MagickExport MagickBooleanType UnmapBlob (void *, const size_t)
 
MagickExport MagickOffsetType SeekBlob (Image *, const MagickOffsetType, const int)
 
MagickExport MagickOffsetType TellBlob (const Image *)
 
MagickExport MagickSizeType ReadBlobLongLong (Image *)
 
MagickExport MagickSizeType ReadBlobMSBLongLong (Image *)
 
MagickExport signed int ReadBlobLSBSignedLong (Image *)
 
MagickExport signed int ReadBlobMSBSignedLong (Image *)
 
MagickExport signed int ReadBlobSignedLong (Image *)
 
MagickExport signed short ReadBlobLSBSignedShort (Image *)
 
MagickExport signed short ReadBlobMSBSignedShort (Image *)
 
MagickExport signed short ReadBlobSignedShort (Image *)
 
MagickExport ssize_t ReadBlob (Image *, const size_t, void *)
 
MagickExport ssize_t WriteBlob (Image *, const size_t, const void *)
 
MagickExport ssize_t WriteBlobByte (Image *, const unsigned char)
 
MagickExport ssize_t WriteBlobFloat (Image *, const float)
 
MagickExport ssize_t WriteBlobLong (Image *, const unsigned int)
 
MagickExport ssize_t WriteBlobLongLong (Image *, const MagickSizeType)
 
MagickExport ssize_t WriteBlobShort (Image *, const unsigned short)
 
MagickExport ssize_t WriteBlobSignedLong (Image *, const signed int)
 
MagickExport ssize_t WriteBlobLSBLong (Image *, const unsigned int)
 
MagickExport ssize_t WriteBlobLSBShort (Image *, const unsigned short)
 
MagickExport ssize_t WriteBlobLSBSignedLong (Image *, const signed int)
 
MagickExport ssize_t WriteBlobLSBSignedShort (Image *, const signed short)
 
MagickExport ssize_t WriteBlobMSBLong (Image *, const unsigned int)
 
MagickExport ssize_t WriteBlobMSBShort (Image *, const unsigned short)
 
MagickExport ssize_t WriteBlobMSBSignedShort (Image *, const signed short)
 
MagickExport ssize_t WriteBlobString (Image *, const char *)
 
MagickExport unsigned int ReadBlobLong (Image *)
 
MagickExport unsigned int ReadBlobLSBLong (Image *)
 
MagickExport unsigned int ReadBlobMSBLong (Image *)
 
MagickExport unsigned short ReadBlobShort (Image *)
 
MagickExport unsigned short ReadBlobLSBShort (Image *)
 
MagickExport unsigned short ReadBlobMSBShort (Image *)
 
MagickExport void AttachBlob (BlobInfo *, const void *, const size_t)
 
MagickExport void AttachCustomStream (BlobInfo *, CustomStreamInfo *)
 
MagickExport void * DetachBlob (BlobInfo *)
 
MagickExport void DisassociateBlob (Image *)
 
MagickExport void GetBlobInfo (BlobInfo *)
 
MagickExport void * MapBlob (int, const MapMode, const MagickOffsetType, const size_t)
 
MagickExport void MSBOrderLong (unsigned char *, const size_t)
 
MagickExport void MSBOrderShort (unsigned char *, const size_t)
 

Macro Definition Documentation

#define MagickMinBlobExtent   32767L

Definition at line 29 of file blob-private.h.

Enumeration Type Documentation

enum BlobMode
Enumerator
UndefinedBlobMode 
ReadBlobMode 
ReadBinaryBlobMode 
WriteBlobMode 
WriteBinaryBlobMode 
AppendBlobMode 
AppendBinaryBlobMode 

Definition at line 35 of file blob-private.h.

enum StreamType
Enumerator
UndefinedStream 
FileStream 
StandardStream 
PipeStream 
ZipStream 
BZipStream 
FifoStream 
BlobStream 
CustomStream 

Definition at line 46 of file blob-private.h.

Function Documentation

MagickExport void AttachBlob ( BlobInfo ,
const void *  ,
const size_t   
)

Referenced by OpenBlob().

MagickExport void AttachCustomStream ( BlobInfo ,
CustomStreamInfo  
)
MagickExport void DisassociateBlob ( Image )

Referenced by DisassociateImageStream().

MagickExport MagickBooleanType DiscardBlobBytes ( Image ,
const MagickSizeType   
)
MagickExport int EOFBlob ( const Image )
MagickExport int ErrorBlob ( const Image )
MagickExport void GetBlobInfo ( BlobInfo )

Referenced by CloneBlobInfo().

MagickExport struct stat* GetBlobProperties ( const Image )
MagickExport void MSBOrderLong ( unsigned char *  ,
const size_t   
)
MagickExport void MSBOrderShort ( unsigned char *  ,
const size_t   
)

Definition at line 3103 of file blob.c.

MagickExport ssize_t ReadBlob ( Image ,
const size_t  ,
void *   
)

Referenced by ReadBlobStream(), and SetImageInfo().

MagickExport double ReadBlobDouble ( Image )

Definition at line 3968 of file blob.c.

References ReadBlobLongLong().

MagickExport float ReadBlobFloat ( Image )

Definition at line 4007 of file blob.c.

References ReadBlobLong().

MagickExport unsigned int ReadBlobLong ( Image )
MagickExport MagickSizeType ReadBlobLongLong ( Image )

Referenced by ReadBlobDouble().

MagickExport unsigned int ReadBlobLSBLong ( Image )

Referenced by ReadBlobLSBSignedLong().

MagickExport unsigned short ReadBlobLSBShort ( Image )

Referenced by ReadBlobLSBSignedShort().

MagickExport signed int ReadBlobLSBSignedLong ( Image )
MagickExport signed short ReadBlobLSBSignedShort ( Image )
MagickExport unsigned int ReadBlobMSBLong ( Image )

Definition at line 4398 of file blob.c.

References MagickCoreSignature, ReadBlobStream(), and _Image::signature.

Referenced by ReadBlobMSBSignedLong().

MagickExport MagickSizeType ReadBlobMSBLongLong ( Image )

Definition at line 4448 of file blob.c.

References MagickCoreSignature, MagickULLConstant, ReadBlobStream(), and _Image::signature.

MagickExport unsigned short ReadBlobMSBShort ( Image )

Definition at line 4502 of file blob.c.

References MagickCoreSignature, ReadBlobStream(), and _Image::signature.

Referenced by ReadBlobMSBSignedShort().

MagickExport signed int ReadBlobMSBSignedLong ( Image )
MagickExport signed short ReadBlobMSBSignedShort ( Image )
MagickExport unsigned short ReadBlobShort ( Image )

Referenced by ReadBlobSignedShort().

MagickExport signed int ReadBlobSignedLong ( Image )

Definition at line 4626 of file blob.c.

References ReadBlobLong().

MagickExport signed short ReadBlobSignedShort ( Image )

Definition at line 4664 of file blob.c.

References ReadBlobShort().

MagickExport char* ReadBlobString ( Image ,
char *   
)

Definition at line 4772 of file blob.c.

References MagickCoreSignature, MagickPathExtent, ReadBlobByte(), and _Image::signature.

MagickExport MagickOffsetType SeekBlob ( Image ,
const MagickOffsetType  ,
const int   
)

Referenced by SetBlobExtent(), and SetImageInfo().

MagickExport MagickBooleanType SetBlobExtent ( Image ,
const MagickSizeType   
)

Referenced by WriteBlobStream().

MagickExport ssize_t WriteBlob ( Image ,
const size_t  ,
const void *   
)
MagickExport ssize_t WriteBlobByte ( Image ,
const unsigned char   
)
MagickExport ssize_t WriteBlobFloat ( Image ,
const float   
)
MagickExport ssize_t WriteBlobLong ( Image ,
const unsigned int   
)

Referenced by WriteBlobFloat().

MagickExport ssize_t WriteBlobLongLong ( Image ,
const MagickSizeType   
)
MagickExport ssize_t WriteBlobLSBLong ( Image ,
const unsigned int   
)
MagickExport ssize_t WriteBlobLSBShort ( Image ,
const unsigned short   
)
MagickExport ssize_t WriteBlobLSBSignedLong ( Image ,
const signed int   
)
MagickExport ssize_t WriteBlobLSBSignedShort ( Image ,
const signed short   
)
MagickExport ssize_t WriteBlobMSBLong ( Image ,
const unsigned int   
)
MagickExport ssize_t WriteBlobMSBShort ( Image ,
const unsigned short   
)
MagickExport ssize_t WriteBlobMSBSignedShort ( Image ,
const signed short   
)
MagickExport ssize_t WriteBlobShort ( Image ,
const unsigned short   
)
MagickExport ssize_t WriteBlobSignedLong ( Image ,
const signed int   
)
MagickExport ssize_t WriteBlobString ( Image ,
const char *   
)

Definition at line 6363 of file blob.c.

References MagickCoreSignature, _Image::signature, and WriteBlobStream().