cristy | 433d118 | 2011-09-04 13:38:52 +0000 | [diff] [blame] | 1 | /* |
Cristy | d842011 | 2021-01-01 14:52:00 -0500 | [diff] [blame] | 2 | Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization |
cristy | 433d118 | 2011-09-04 13:38:52 +0000 | [diff] [blame] | 3 | dedicated to making software imaging solutions freely available. |
| 4 | |
Cristy | 57b308b | 2019-01-19 17:53:40 -0500 | [diff] [blame] | 5 | You may not use this file except in compliance with the License. You may |
cristy | 433d118 | 2011-09-04 13:38:52 +0000 | [diff] [blame] | 6 | obtain a copy of the License at |
| 7 | |
Cristy | 0899b5f | 2019-04-13 09:05:54 -0400 | [diff] [blame] | 8 | https://imagemagick.org/script/license.php |
cristy | 433d118 | 2011-09-04 13:38:52 +0000 | [diff] [blame] | 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 private xml-tree methods. |
| 17 | */ |
Cristy | 83bceaa | 2016-06-03 20:39:35 -0400 | [diff] [blame] | 18 | #ifndef MAGICKCORE_XML_TREE_PRIVATE_H |
| 19 | #define MAGICKCORE_XML_TREE_PRIVATE_H |
cristy | 433d118 | 2011-09-04 13:38:52 +0000 | [diff] [blame] | 20 | |
cristy | 6398ec7 | 2013-11-28 02:00:27 +0000 | [diff] [blame] | 21 | #include "MagickCore/splay-tree.h" |
Elliott Hughes | 5d41fba | 2021-04-12 16:36:42 -0700 | [diff] [blame] | 22 | #include "MagickCore/xml-tree.h" |
cristy | 6398ec7 | 2013-11-28 02:00:27 +0000 | [diff] [blame] | 23 | |
cristy | 433d118 | 2011-09-04 13:38:52 +0000 | [diff] [blame] | 24 | #if defined(__cplusplus) || defined(c_plusplus) |
| 25 | extern "C" { |
| 26 | #endif |
| 27 | |
cristy | 433d118 | 2011-09-04 13:38:52 +0000 | [diff] [blame] | 28 | extern MagickPrivate char |
cristy | 3291f51 | 2014-03-16 22:16:22 +0000 | [diff] [blame] | 29 | *CanonicalXMLContent(const char *,const MagickBooleanType), |
| 30 | *FileToXML(const char *,const size_t); |
cristy | 433d118 | 2011-09-04 13:38:52 +0000 | [diff] [blame] | 31 | |
| 32 | extern MagickPrivate const char |
cristy | 433d118 | 2011-09-04 13:38:52 +0000 | [diff] [blame] | 33 | **GetXMLTreeProcessingInstructions(XMLTreeInfo *,const char *); |
| 34 | |
| 35 | extern MagickPrivate MagickBooleanType |
| 36 | GetXMLTreeAttributes(const XMLTreeInfo *,SplayTreeInfo *); |
| 37 | |
| 38 | extern MagickPrivate XMLTreeInfo |
| 39 | *AddPathToXMLTree(XMLTreeInfo *,const char *,const size_t), |
cristy | 433d118 | 2011-09-04 13:38:52 +0000 | [diff] [blame] | 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 *); |
| 46 | |
| 47 | #if defined(__cplusplus) || defined(c_plusplus) |
| 48 | } |
| 49 | #endif |
| 50 | |
| 51 | #endif |