cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
cristy | 16af1cb | 2009-12-11 21:38:29 +0000 | [diff] [blame] | 2 | Copyright 1999-2010 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 | |
| 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) |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
| 25 | #include "magick/hashmap.h" |
| 26 | |
| 27 | typedef struct _ConfigureInfo |
| 28 | { |
| 29 | char |
| 30 | *path, |
| 31 | *name, |
| 32 | *value; |
| 33 | |
| 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; |
| 37 | |
| 38 | struct _ConfigureInfo |
| 39 | *previous, |
| 40 | *next; /* deprecated, use GetConfigureInfoList() */ |
| 41 | |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame^] | 42 | size_t |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 43 | signature; |
| 44 | } ConfigureInfo; |
| 45 | |
| 46 | extern MagickExport char |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame^] | 47 | **GetConfigureList(const char *,size_t *,ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 48 | *GetConfigureOption(const char *); |
| 49 | |
| 50 | extern MagickExport const char |
| 51 | *GetConfigureValue(const ConfigureInfo *); |
| 52 | |
| 53 | extern MagickExport const ConfigureInfo |
| 54 | *GetConfigureInfo(const char *,ExceptionInfo *), |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame^] | 55 | **GetConfigureInfoList(const char *,size_t *,ExceptionInfo *); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 56 | |
| 57 | extern MagickExport LinkedListInfo |
| 58 | *DestroyConfigureOptions(LinkedListInfo *), |
| 59 | *GetConfigurePaths(const char *,ExceptionInfo *), |
| 60 | *GetConfigureOptions(const char *,ExceptionInfo *); |
| 61 | |
| 62 | extern MagickExport MagickBooleanType |
cristy | f34a145 | 2009-10-24 22:29:27 +0000 | [diff] [blame] | 63 | ConfigureComponentGenesis(void), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 64 | ListConfigureInfo(FILE *,ExceptionInfo *); |
| 65 | |
| 66 | extern MagickExport void |
cristy | f34a145 | 2009-10-24 22:29:27 +0000 | [diff] [blame] | 67 | ConfigureComponentTerminus(void); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 68 | |
| 69 | #if defined(__cplusplus) || defined(c_plusplus) |
| 70 | } |
| 71 | #endif |
| 72 | |
| 73 | #endif |