blob: 962051b6b27959bc2972001ac106b5d0e8c6deba [file] [log] [blame]
cristy433d1182011-09-04 13:38:52 +00001/*
Cristyd8420112021-01-01 14:52:00 -05002 Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization
cristy433d1182011-09-04 13:38:52 +00003 dedicated to making software imaging solutions freely available.
4
Cristy57b308b2019-01-19 17:53:40 -05005 You may not use this file except in compliance with the License. You may
cristy433d1182011-09-04 13:38:52 +00006 obtain a copy of the License at
7
Cristy0899b5f2019-04-13 09:05:54 -04008 https://imagemagick.org/script/license.php
cristy433d1182011-09-04 13:38:52 +00009
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 private xml-tree methods.
17*/
Cristy83bceaa2016-06-03 20:39:35 -040018#ifndef MAGICKCORE_XML_TREE_PRIVATE_H
19#define MAGICKCORE_XML_TREE_PRIVATE_H
cristy433d1182011-09-04 13:38:52 +000020
cristy6398ec72013-11-28 02:00:27 +000021#include "MagickCore/splay-tree.h"
Elliott Hughes5d41fba2021-04-12 16:36:42 -070022#include "MagickCore/xml-tree.h"
cristy6398ec72013-11-28 02:00:27 +000023
cristy433d1182011-09-04 13:38:52 +000024#if defined(__cplusplus) || defined(c_plusplus)
25extern "C" {
26#endif
27
cristy433d1182011-09-04 13:38:52 +000028extern MagickPrivate char
cristy3291f512014-03-16 22:16:22 +000029 *CanonicalXMLContent(const char *,const MagickBooleanType),
30 *FileToXML(const char *,const size_t);
cristy433d1182011-09-04 13:38:52 +000031
32extern MagickPrivate const char
cristy433d1182011-09-04 13:38:52 +000033 **GetXMLTreeProcessingInstructions(XMLTreeInfo *,const char *);
34
35extern MagickPrivate MagickBooleanType
36 GetXMLTreeAttributes(const XMLTreeInfo *,SplayTreeInfo *);
37
38extern MagickPrivate XMLTreeInfo
39 *AddPathToXMLTree(XMLTreeInfo *,const char *,const size_t),
cristy433d1182011-09-04 13:38:52 +000040 *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 *);
46
47#if defined(__cplusplus) || defined(c_plusplus)
48}
49#endif
50
51#endif