configure.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. Copyright 1999 ImageMagick Studio LLC, a non-profit organization
  3. dedicated to making software imaging solutions freely available.
  4. You may not use this file except in compliance with the License. You may
  5. obtain a copy of the License at
  6. https://imagemagick.org/script/license.php
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. MagickCore configure methods.
  13. */
  14. #ifndef MAGICKCORE_CONFIGURE_H
  15. #define MAGICKCORE_CONFIGURE_H
  16. #include "magick/hashmap.h"
  17. #if defined(__cplusplus) || defined(c_plusplus)
  18. extern "C" {
  19. #endif
  20. typedef struct _ConfigureInfo
  21. {
  22. char
  23. *path,
  24. *name,
  25. *value;
  26. MagickBooleanType
  27. exempt,
  28. stealth;
  29. struct _ConfigureInfo
  30. *previous,
  31. *next; /* deprecated, use GetConfigureInfoList() */
  32. size_t
  33. signature;
  34. } ConfigureInfo;
  35. extern MagickExport char
  36. **GetConfigureList(const char *,size_t *,ExceptionInfo *),
  37. *GetConfigureOption(const char *);
  38. extern MagickExport const char
  39. *GetConfigureValue(const ConfigureInfo *);
  40. extern MagickExport const ConfigureInfo
  41. *GetConfigureInfo(const char *,ExceptionInfo *),
  42. **GetConfigureInfoList(const char *,size_t *,ExceptionInfo *);
  43. extern MagickExport LinkedListInfo
  44. *DestroyConfigureOptions(LinkedListInfo *),
  45. *GetConfigurePaths(const char *,ExceptionInfo *),
  46. *GetConfigureOptions(const char *,ExceptionInfo *);
  47. extern MagickExport MagickBooleanType
  48. ConfigureComponentGenesis(void),
  49. ListConfigureInfo(FILE *,ExceptionInfo *);
  50. extern MagickExport void
  51. ConfigureComponentTerminus(void);
  52. #if defined(__cplusplus) || defined(c_plusplus)
  53. }
  54. #endif
  55. #endif