(root)/
gettext-0.22.4/
gnulib-local/
lib/
libxml/
save.h
       1  /* libxml2 - Library for parsing XML documents
       2   * Copyright (C) 2006-2019 Free Software Foundation, Inc.
       3   *
       4   * This file is not part of the GNU gettext program, but is used with
       5   * GNU gettext.
       6   *
       7   * The original copyright notice is as follows:
       8   */
       9  
      10  /*
      11   * Copyright (C) 1998-2012 Daniel Veillard.  All Rights Reserved.
      12   *
      13   * Permission is hereby granted, free of charge, to any person obtaining a copy
      14   * of this software and associated documentation files (the "Software"), to deal
      15   * in the Software without restriction, including without limitation the rights
      16   * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
      17   * copies of the Software, and to permit persons to whom the Software is fur-
      18   * nished to do so, subject to the following conditions:
      19   *
      20   * The above copyright notice and this permission notice shall be included in
      21   * all copies or substantial portions of the Software.
      22   *
      23   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
      24   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
      25   * NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
      26   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
      27   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
      28   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
      29   * THE SOFTWARE.
      30   *
      31   * Author: Daniel Veillard
      32   */
      33  
      34  /*
      35   * Summary: Internal Interfaces for saving in libxml2
      36   * Description: this module describes a few interfaces which were
      37   *              addded along with the API changes in 2.9.0
      38   *              those are private routines at this point
      39   */
      40  
      41  #ifndef __XML_SAVE_H__
      42  #define __XML_SAVE_H__
      43  
      44  #include <libxml/tree.h>
      45  
      46  #ifdef __cplusplus
      47  extern "C" {
      48  #endif
      49  
      50  #ifdef LIBXML_OUTPUT_ENABLED
      51  void xmlBufAttrSerializeTxtContent(xmlBufPtr buf, xmlDocPtr doc,
      52                                     xmlAttrPtr attr, const xmlChar * string);
      53  void xmlBufDumpNotationTable(xmlBufPtr buf, xmlNotationTablePtr table);
      54  void xmlBufDumpElementDecl(xmlBufPtr buf, xmlElementPtr elem);
      55  void xmlBufDumpAttributeDecl(xmlBufPtr buf, xmlAttributePtr attr);
      56  void xmlBufDumpEntityDecl(xmlBufPtr buf, xmlEntityPtr ent);
      57  #endif
      58  xmlChar *xmlEncodeAttributeEntities(xmlDocPtr doc, const xmlChar *input);
      59  
      60  #ifdef __cplusplus
      61  }
      62  #endif
      63  #endif /* __XML_SAVE_H__ */
      64