(root)/
gettext-0.22.4/
gnulib-local/
lib/
libxml/
enc.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 encoding 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_ENC_H__
      42  #define __XML_ENC_H__
      43  
      44  #include <libxml/tree.h>
      45  
      46  #ifdef __cplusplus
      47  extern "C" {
      48  #endif
      49  
      50  int xmlCharEncFirstLineInt(xmlCharEncodingHandler *handler, xmlBufferPtr out,
      51                             xmlBufferPtr in, int len);
      52  int xmlCharEncFirstLineInput(xmlParserInputBufferPtr input, int len);
      53  int xmlCharEncInput(xmlParserInputBufferPtr input, int flush);
      54  int xmlCharEncOutput(xmlOutputBufferPtr output, int init);
      55  
      56  #ifdef __cplusplus
      57  }
      58  #endif
      59  #endif /* __XML_ENC_H__ */
      60  
      61