xml-tree.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. Magick's toolkit xml-tree methods.
  13. */
  14. #ifndef MAGICKCORE_XML_TREE_H
  15. #define MAGICKCORE_XML_TREE_H
  16. #include "magick/exception.h"
  17. #include "magick/splay-tree.h"
  18. #if defined(__cplusplus) || defined(c_plusplus)
  19. extern "C" {
  20. #endif
  21. typedef struct _XMLTreeInfo
  22. XMLTreeInfo;
  23. extern MagickExport char
  24. *CanonicalXMLContent(const char *,const MagickBooleanType),
  25. *XMLTreeInfoToXML(XMLTreeInfo *);
  26. extern MagickExport const char
  27. *GetXMLTreeAttribute(XMLTreeInfo *,const char *),
  28. *GetXMLTreeContent(XMLTreeInfo *),
  29. **GetXMLTreeProcessingInstructions(XMLTreeInfo *,const char *),
  30. *GetXMLTreeTag(XMLTreeInfo *);
  31. extern MagickExport MagickBooleanType
  32. GetXMLTreeAttributes(const XMLTreeInfo *,SplayTreeInfo *);
  33. extern MagickExport XMLTreeInfo
  34. *AddChildToXMLTree(XMLTreeInfo *,const char *,const size_t),
  35. *AddPathToXMLTree(XMLTreeInfo *,const char *,const size_t),
  36. *DestroyXMLTree(XMLTreeInfo *),
  37. *GetNextXMLTreeTag(XMLTreeInfo *),
  38. *GetXMLTreeChild(XMLTreeInfo *,const char *),
  39. *GetXMLTreeOrdered(XMLTreeInfo *),
  40. *GetXMLTreePath(XMLTreeInfo *,const char *),
  41. *GetXMLTreeSibling(XMLTreeInfo *),
  42. *InsertTagIntoXMLTree(XMLTreeInfo *,XMLTreeInfo *,const size_t),
  43. *NewXMLTree(const char *,ExceptionInfo *),
  44. *NewXMLTreeTag(const char *),
  45. *ParseTagFromXMLTree(XMLTreeInfo *),
  46. *PruneTagFromXMLTree(XMLTreeInfo *),
  47. *SetXMLTreeAttribute(XMLTreeInfo *,const char *,const char *),
  48. *SetXMLTreeContent(XMLTreeInfo *,const char *);
  49. #if defined(__cplusplus) || defined(c_plusplus)
  50. }
  51. #endif
  52. #endif