MagickCore  7.0.3
configure.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2019 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 
36  stealth;
37 
38  size_t
41 
42 extern MagickExport char
43  **GetConfigureList(const char *,size_t *,ExceptionInfo *),
44  *GetConfigureOption(const char *);
45 
46 extern MagickExport const char
48 
49 extern MagickExport const ConfigureInfo
50  *GetConfigureInfo(const char *,ExceptionInfo *),
51  **GetConfigureInfoList(const char *,size_t *,ExceptionInfo *);
52 
55  *GetConfigurePaths(const char *,ExceptionInfo *),
56  *GetConfigureOptions(const char *,ExceptionInfo *);
57 
60 
61 
62 #if defined(__cplusplus) || defined(c_plusplus)
63 }
64 #endif
65 
66 #endif
char * name
Definition: configure.h:30
MagickExport char * GetConfigureOption(const char *option)
Definition: configure.c:589
char * value
Definition: configure.h:30
MagickExport const ConfigureInfo * GetConfigureInfo(const char *name, ExceptionInfo *exception)
Definition: configure.c:346
MagickExport MagickBooleanType ListConfigureInfo(FILE *file, ExceptionInfo *exception)
Definition: configure.c:1042
MagickExport LinkedListInfo * GetConfigureOptions(const char *filename, ExceptionInfo *exception)
Definition: configure.c:639
MagickBooleanType
Definition: magick-type.h:158
char * path
Definition: configure.h:30
MagickExport LinkedListInfo * GetConfigurePaths(const char *filename, ExceptionInfo *exception)
Definition: configure.c:731
MagickExport const char * GetConfigureValue(const ConfigureInfo *configure_info)
Definition: configure.c:973
size_t signature
Definition: configure.h:39
MagickBooleanType exempt
Definition: configure.h:35
MagickBooleanType stealth
Definition: configure.h:35
struct _ConfigureInfo ConfigureInfo
MagickExport char ** GetConfigureList(const char *pattern, size_t *number_options, ExceptionInfo *exception)
Definition: configure.c:524
#define MagickExport
MagickExport const ConfigureInfo ** GetConfigureInfoList(const char *pattern, size_t *number_options, ExceptionInfo *exception)
Definition: configure.c:430
MagickExport LinkedListInfo * DestroyConfigureOptions(LinkedListInfo *options)
Definition: configure.c:311