• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2   Copyright 1999-2021 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.  You may
6   obtain a copy of the License at
7 
8     https://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 #include "MagickCore/linked-list.h"
22 
23 #if defined(__cplusplus) || defined(c_plusplus)
24 extern "C" {
25 #endif
26 
27 typedef struct _ConfigureInfo
28 {
29   char
30     *path,
31     *name,
32     *value;
33 
34   MagickBooleanType
35     exempt,
36     stealth;
37 
38   size_t
39     signature;
40 } ConfigureInfo;
41 
42 extern MagickExport char
43   **GetConfigureList(const char *,size_t *,ExceptionInfo *),
44   *GetConfigureOption(const char *);
45 
46 extern MagickExport const char
47   *GetConfigureValue(const ConfigureInfo *);
48 
49 extern MagickExport const ConfigureInfo
50   *GetConfigureInfo(const char *,ExceptionInfo *),
51   **GetConfigureInfoList(const char *,size_t *,ExceptionInfo *);
52 
53 extern MagickExport LinkedListInfo
54   *DestroyConfigureOptions(LinkedListInfo *),
55   *GetConfigurePaths(const char *,ExceptionInfo *),
56   *GetConfigureOptions(const char *,ExceptionInfo *);
57 
58 extern MagickExport MagickBooleanType
59   ListConfigureInfo(FILE *,ExceptionInfo *);
60 
61 
62 #if defined(__cplusplus) || defined(c_plusplus)
63 }
64 #endif
65 
66 #endif
67