]> granicus.if.org Git - imagemagick/blob - MagickCore/blob-private.h
Fixed detection of Ghostscript location.
[imagemagick] / MagickCore / blob-private.h
1 /*
2   Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization
3   dedicated to making software imaging solutions freely available.
4   
5   You may not use this file except in compliance with the License.
6   obtain a copy of the License at
7   
8     http://www.imagemagick.org/script/license.php
9   
10   Unless required by applicable law or agreed to in writing, software
11   distributed under the License is distributed on an "AS IS" BASIS,
12   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   See the License for the specific language governing permissions and
14   limitations under the License.
15
16   MagickCore Binary Large OBjects private methods.
17 */
18 #ifndef _MAGICKCORE_BLOB_PRIVATE_H
19 #define _MAGICKCORE_BLOB_PRIVATE_H
20
21 #include "MagickCore/nt-feature.h"
22 #include "MagickCore/nt-base-private.h"
23
24 #if defined(__cplusplus) || defined(c_plusplus)
25 extern "C" {
26 #endif
27
28 #define MagickMinBlobExtent  32767L
29 #if defined(MAGICKCORE_HAVE_FSEEKO)
30 # define fseek  fseeko
31 # define ftell  ftello
32 #endif
33
34 typedef enum
35 {
36   UndefinedStream,
37   StandardStream,
38   FileStream,
39   PipeStream,
40   ZipStream,
41   BZipStream,
42   FifoStream,
43   BlobStream
44 } StreamType;
45
46 extern MagickPrivate MagickBooleanType
47   GetBlobError(const Image *),
48   IsBlobExempt(const Image *),
49   IsBlobSeekable(const Image *),
50   IsBlobTemporary(const Image *),
51   SetBlobExtent(Image *,const MagickSizeType);
52
53 extern MagickPrivate const struct stat
54   *GetBlobProperties(const Image *);
55
56 extern MagickPrivate StreamHandler
57   GetBlobStreamHandler(const Image *);
58
59 extern MagickPrivate void
60   GetBlobInfo(BlobInfo *),
61   SetBlobExempt(Image *,const MagickBooleanType);
62
63 #if defined(__cplusplus) || defined(c_plusplus)
64 }
65 #endif
66
67 #endif