2 Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
5 You may not use this file except in compliance with the License. You may
6 obtain a copy of the License at
8 https://imagemagick.org/script/license.php
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.
16 MagickCore private xml-tree methods.
18 #ifndef MAGICKCORE_XML_TREE_PRIVATE_H
19 #define MAGICKCORE_XML_TREE_PRIVATE_H
21 #include "MagickCore/exception.h"
22 #include "MagickCore/splay-tree.h"
24 #if defined(__cplusplus) || defined(c_plusplus)
28 extern MagickPrivate char
29 *CanonicalXMLContent(const char *,const MagickBooleanType),
30 *FileToXML(const char *,const size_t);
32 extern MagickPrivate const char
33 **GetXMLTreeProcessingInstructions(XMLTreeInfo *,const char *);
35 extern MagickPrivate MagickBooleanType
36 GetXMLTreeAttributes(const XMLTreeInfo *,SplayTreeInfo *);
38 extern MagickPrivate XMLTreeInfo
39 *AddPathToXMLTree(XMLTreeInfo *,const char *,const size_t),
40 *GetXMLTreeOrdered(XMLTreeInfo *),
41 *GetXMLTreePath(XMLTreeInfo *,const char *),
42 *InsertTagIntoXMLTree(XMLTreeInfo *,XMLTreeInfo *,const size_t),
43 *ParseTagFromXMLTree(XMLTreeInfo *),
44 *PruneTagFromXMLTree(XMLTreeInfo *),
45 *SetXMLTreeAttribute(XMLTreeInfo *,const char *,const char *);
47 #if defined(__cplusplus) || defined(c_plusplus)