blob: 3ab20a9132df0cbbe9e4456ac70b3873f06ca362 [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001/*
Cristyf6ff9ea2016-12-05 09:53:35 -05002 Copyright 1999-2017 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
Cristyf19d4142017-04-24 11:34:30 -04008 https://www.imagemagick.org/script/license.php
cristy3ed852e2009-09-05 21:47:34 +00009
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*/
Cristy83bceaa2016-06-03 20:39:35 -040018#ifndef MAGICKCORE_CONFIGURE_H
19#define MAGICKCORE_CONFIGURE_H
cristy3ed852e2009-09-05 21:47:34 +000020
dirkabed7e22016-01-31 17:10:21 +010021#include "MagickCore/linked-list.h"
cristy6398ec72013-11-28 02:00:27 +000022
cristy3ed852e2009-09-05 21:47:34 +000023#if defined(__cplusplus) || defined(c_plusplus)
24extern "C" {
25#endif
26
cristy3ed852e2009-09-05 21:47:34 +000027typedef 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
cristybb503372010-05-27 20:51:26 +000038 size_t
cristy3ed852e2009-09-05 21:47:34 +000039 signature;
40} ConfigureInfo;
41
42extern MagickExport char
cristybb503372010-05-27 20:51:26 +000043 **GetConfigureList(const char *,size_t *,ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000044 *GetConfigureOption(const char *);
45
46extern MagickExport const char
47 *GetConfigureValue(const ConfigureInfo *);
48
49extern MagickExport const ConfigureInfo
50 *GetConfigureInfo(const char *,ExceptionInfo *),
cristybb503372010-05-27 20:51:26 +000051 **GetConfigureInfoList(const char *,size_t *,ExceptionInfo *);
cristy3ed852e2009-09-05 21:47:34 +000052
53extern MagickExport LinkedListInfo
54 *DestroyConfigureOptions(LinkedListInfo *),
55 *GetConfigurePaths(const char *,ExceptionInfo *),
56 *GetConfigureOptions(const char *,ExceptionInfo *);
57
58extern MagickExport MagickBooleanType
59 ListConfigureInfo(FILE *,ExceptionInfo *);
60
cristy3ed852e2009-09-05 21:47:34 +000061
62#if defined(__cplusplus) || defined(c_plusplus)
63}
64#endif
65
66#endif