1 /*
2   Copyright (C) 2003 - 2012 GraphicsMagick Group
3   Copyright (C) 2002 ImageMagick Studio
4   Copyright 1991-1999 E. I. du Pont de Nemours and Company
5 
6   This program is covered by multiple licenses, which are described in
7   Copyright.txt. You should have received a copy of Copyright.txt with this
8   package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
9 
10   GraphicsMagick Application Programming Interface declarations.
11 
12   Please notice that the header inclusion is designed such that the compiler
13   include path should include the parent directory of 'magick' and should not
14   include the directly where api.h resides.  If the include path includes the
15   directory where api.h resides, then there may be conflicts with other
16   headers.
17 
18 */
19 
20 #if !defined(_MAGICK_API_H)
21 #define _MAGICK_API_H
22 
23 #if defined(__cplusplus) || defined(c_plusplus)
24 extern "C" {
25 #endif
26 
27 #include "magick/magick_config.h"
28 #if defined(__cplusplus) || defined(c_plusplus)
29 #  undef inline
30 #endif
31 
32 #include <stdio.h>
33 #include <stdarg.h>
34 #include <stdlib.h>
35 #include <sys/types.h> /* POSIX 1990 header and declares size_t and ssize_t */
36 
37 /*
38   Note that the WIN32 and WIN64 definitions are provided by the build
39   configuration rather than the compiler.  Definitions available from
40   the Windows compiler are _WIN32 and _WIN64.
41 */
42 #if defined(WIN32) || defined(WIN64)
43 #  define MSWINDOWS
44 #endif /* defined(WIN32) || defined(WIN64) */
45 
46 #if defined(MAGICK_IMPLEMENTATION)
47 #  if defined(MSWINDOWS)
48   /* Use Visual C++ C inline method extension to improve performance */
49 #    if !defined(inline) && !defined(__cplusplus) && !defined(c_plusplus)
50 #      define inline __inline
51 #    endif
52 #  endif
53 #endif
54 
55 #if defined(PREFIX_MAGICK_SYMBOLS)
56 #  include "magick/symbols.h"
57 #endif /* defined(PREFIX_MAGICK_SYMBOLS) */
58 
59 #include "magick/common.h"
60 #include "magick/magick_types.h"
61 #include "magick/analyze.h"
62 #include "magick/attribute.h"
63 #include "magick/average.h"
64 #include "magick/blob.h"
65 #include "magick/cdl.h"
66 #include "magick/channel.h"
67 #include "magick/color.h"
68 #include "magick/color_lookup.h"
69 #include "magick/colormap.h"
70 #include "magick/command.h"
71 #include "magick/compare.h"
72 #include "magick/composite.h"
73 #include "magick/compress.h"
74 #include "magick/confirm_access.h"
75 #include "magick/constitute.h"
76 #include "magick/decorate.h"
77 #include "magick/delegate.h"
78 #include "magick/deprecate.h"
79 #include "magick/describe.h"
80 #include "magick/draw.h"
81 #include "magick/effect.h"
82 #include "magick/enhance.h"
83 #include "magick/error.h"
84 #include "magick/enum_strings.h"
85 #include "magick/fx.h"
86 #include "magick/gem.h"
87 #include "magick/gradient.h"
88 #include "magick/hclut.h"
89 #include "magick/image.h"
90 #include "magick/list.h"
91 #include "magick/log.h"
92 #include "magick/magic.h"
93 #include "magick/magick.h"
94 #include "magick/memory.h"
95 #include "magick/module.h"
96 #include "magick/monitor.h"
97 #include "magick/montage.h"
98 #include "magick/operator.h"
99 #include "magick/paint.h"
100 #include "magick/pixel_cache.h"
101 #include "magick/pixel_iterator.h"
102 #include "magick/plasma.h"
103 #include "magick/profile.h"
104 #include "magick/quantize.h"
105   /*#include "magick/random.h"*/
106 #include "magick/registry.h"
107 #include "magick/render.h"
108 #include "magick/resize.h"
109 #include "magick/resource.h"
110 #include "magick/shear.h"
111 #include "magick/signature.h"
112 #include "magick/statistics.h"
113 #include "magick/texture.h"
114 #include "magick/timer.h"
115 #include "magick/transform.h"
116 #include "magick/type.h"
117 #include "magick/utility.h"
118 #include "magick/version.h"
119 
120 #if defined(__cplusplus) || defined(c_plusplus)
121 }
122 #endif /* defined(__cplusplus) || defined(c_plusplus) */
123 
124 #endif /* _MAGICK_API_H */
125 
126 /*
127  * Local Variables:
128  * mode: c
129  * c-basic-offset: 2
130  * fill-column: 78
131  * End:
132  */
133