blob: 5b431abf449489e38e1c283d9bdb8b1de4e68573 [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001/*
cristy16af1cb2009-12-11 21:38:29 +00002 Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization
cristy3ed852e2009-09-05 21:47:34 +00003 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)
22extern "C" {
23#endif
24
25#include "magick/hashmap.h"
26
27typedef struct _ConfigureInfo
28{
29 char
30 *path,
31 *name,
32 *value;
33
34 MagickBooleanType
cristy54a531d2009-10-21 17:58:01 +000035 exempt,
cristy3ed852e2009-09-05 21:47:34 +000036 stealth;
37
38 struct _ConfigureInfo
39 *previous,
40 *next; /* deprecated, use GetConfigureInfoList() */
41
cristybb503372010-05-27 20:51:26 +000042 size_t
cristy3ed852e2009-09-05 21:47:34 +000043 signature;
44} ConfigureInfo;
45
46extern MagickExport char
cristybb503372010-05-27 20:51:26 +000047 **GetConfigureList(const char *,size_t *,ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000048 *GetConfigureOption(const char *);
49
50extern MagickExport const char
51 *GetConfigureValue(const ConfigureInfo *);
52
53extern MagickExport const ConfigureInfo
54 *GetConfigureInfo(const char *,ExceptionInfo *),
cristybb503372010-05-27 20:51:26 +000055 **GetConfigureInfoList(const char *,size_t *,ExceptionInfo *);
cristy3ed852e2009-09-05 21:47:34 +000056
57extern MagickExport LinkedListInfo
58 *DestroyConfigureOptions(LinkedListInfo *),
59 *GetConfigurePaths(const char *,ExceptionInfo *),
60 *GetConfigureOptions(const char *,ExceptionInfo *);
61
62extern MagickExport MagickBooleanType
cristyf34a1452009-10-24 22:29:27 +000063 ConfigureComponentGenesis(void),
cristy3ed852e2009-09-05 21:47:34 +000064 ListConfigureInfo(FILE *,ExceptionInfo *);
65
66extern MagickExport void
cristyf34a1452009-10-24 22:29:27 +000067 ConfigureComponentTerminus(void);
cristy3ed852e2009-09-05 21:47:34 +000068
69#if defined(__cplusplus) || defined(c_plusplus)
70}
71#endif
72
73#endif