]> granicus.if.org Git - imagemagick/blob - magick/configure.h
(no commit message)
[imagemagick] / magick / configure.h
1 /*
2   Copyright 1999-2009 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 configure methods.
17 */
18 #ifndef _MAGICKCORE_CONFIGURE_H
19 #define _MAGICKCORE_CONFIGURE_H
20
21 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24
25 #include "magick/hashmap.h"
26
27 typedef struct _ConfigureInfo
28 {
29   char
30     *path,
31     *name,
32     *value;
33                                                                                 
34   MagickBooleanType
35     stealth;
36                                                                                 
37   struct _ConfigureInfo
38     *previous,
39     *next;  /* deprecated, use GetConfigureInfoList() */
40
41   unsigned long
42     signature;
43 } ConfigureInfo;
44
45 extern MagickExport char
46   **GetConfigureList(const char *,unsigned long *,ExceptionInfo *),
47   *GetConfigureOption(const char *);
48
49 extern MagickExport const char
50   *GetConfigureValue(const ConfigureInfo *);
51
52 extern MagickExport const ConfigureInfo
53   *GetConfigureInfo(const char *,ExceptionInfo *),
54   **GetConfigureInfoList(const char *,unsigned long *,ExceptionInfo *);
55
56 extern MagickExport LinkedListInfo
57   *DestroyConfigureOptions(LinkedListInfo *),
58   *GetConfigurePaths(const char *,ExceptionInfo *),
59   *GetConfigureOptions(const char *,ExceptionInfo *);
60
61 extern MagickExport MagickBooleanType
62   ListConfigureInfo(FILE *,ExceptionInfo *);
63
64 extern MagickExport void
65   DestroyConfigureList(void);
66
67 #if defined(__cplusplus) || defined(c_plusplus)
68 }
69 #endif
70
71 #endif