Home | History | Annotate | Download | only in MagickCore
      1 /*
      2   Copyright 1999-2016 ImageMagick Studio LLC, a non-profit organization
      3   dedicated to making software imaging solutions freely available.
      4 
      5   You may not use this file except in compliance with the License.
      6   obtain a copy of the License at
      7 
      8     http://www.imagemagick.org/MagicksToolkit/script/license.php
      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 */
     18 #ifndef MAGICKCORE_XML_TREE_PRIVATE_H
     19 #define MAGICKCORE_XML_TREE_PRIVATE_H
     20 
     21 #include "MagickCore/exception.h"
     22 #include "MagickCore/splay-tree.h"
     23 
     24 #if defined(__cplusplus) || defined(c_plusplus)
     25 extern "C" {
     26 #endif
     27 
     28 extern MagickPrivate char
     29   *CanonicalXMLContent(const char *,const MagickBooleanType),
     30   *FileToXML(const char *,const size_t);
     31 
     32 extern MagickPrivate const char
     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),
     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
     52