cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
Cristy | d842011 | 2021-01-01 14:52:00 -0500 | [diff] [blame] | 2 | Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 3 | dedicated to making software imaging solutions freely available. |
| 4 | |
Cristy | 57b308b | 2019-01-19 17:53:40 -0500 | [diff] [blame] | 5 | You may not use this file except in compliance with the License. You may |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 6 | obtain a copy of the License at |
| 7 | |
Cristy | 9ddfcca | 2018-09-09 19:46:34 -0400 | [diff] [blame] | 8 | https://imagemagick.org/script/license.php |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 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 | */ |
Cristy | 83bceaa | 2016-06-03 20:39:35 -0400 | [diff] [blame] | 18 | #ifndef MAGICKCORE_CONFIGURE_H |
| 19 | #define MAGICKCORE_CONFIGURE_H |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 20 | |
dirk | abed7e2 | 2016-01-31 17:10:21 +0100 | [diff] [blame] | 21 | #include "MagickCore/linked-list.h" |
cristy | 6398ec7 | 2013-11-28 02:00:27 +0000 | [diff] [blame] | 22 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 23 | #if defined(__cplusplus) || defined(c_plusplus) |
| 24 | extern "C" { |
| 25 | #endif |
| 26 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 27 | typedef struct _ConfigureInfo |
| 28 | { |
| 29 | char |
| 30 | *path, |
| 31 | *name, |
| 32 | *value; |
Dirk Lemstra | b5fd640 | 2019-01-13 17:01:32 +0100 | [diff] [blame] | 33 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 34 | MagickBooleanType |
cristy | 54a531d | 2009-10-21 17:58:01 +0000 | [diff] [blame] | 35 | exempt, |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 36 | stealth; |
Dirk Lemstra | b5fd640 | 2019-01-13 17:01:32 +0100 | [diff] [blame] | 37 | |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 38 | size_t |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 39 | signature; |
| 40 | } ConfigureInfo; |
| 41 | |
| 42 | extern MagickExport char |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 43 | **GetConfigureList(const char *,size_t *,ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 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 *), |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 51 | **GetConfigureInfoList(const char *,size_t *,ExceptionInfo *); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 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 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 61 | |
| 62 | #if defined(__cplusplus) || defined(c_plusplus) |
| 63 | } |
| 64 | #endif |
| 65 | |
| 66 | #endif |