Edit

kc3-lang/libxml2/libxml.h

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2003-10-10 19:36:36
    Hash : 2b0f8799
    Message : fixed a nasty bug with interning some text strings prepare for beta5 of * SAX2.c: fixed a nasty bug with interning some text strings * configure.in: prepare for beta5 of 2.6.0 * libxml.h nanoftp.c nanohttp.c xmlIO.c include/libxml/xmlerror.h: better error handling for I/O and converted FTP and HTTP * parser.c: fixed another bug Daniel

  • libxml.h
  • /*
     * libxml.h: internal header only used during the compilation of libxml
     *
     * See COPYRIGHT for the status of this software
     *
     * Author: breese@users.sourceforge.net
     */
    
    #ifndef __XML_LIBXML_H__
    #define __XML_LIBXML_H__
    
    #ifndef NO_LARGEFILE_SOURCE
    #ifndef _LARGEFILE_SOURCE
    #define _LARGEFILE_SOURCE
    #endif
    #ifndef _FILE_OFFSET_BITS
    #define _FILE_OFFSET_BITS 64
    #endif
    #endif
    
    #if defined(macintosh)
    #include "config-mac.h"
    #else
    #include "config.h"
    #include <libxml/xmlversion.h>
    #endif
    
    #ifndef WITH_TRIO
    #include <stdio.h>
    #else
    /**
     * TRIO_REPLACE_STDIO:
     *
     * This macro is defined if teh trio string formatting functions are to
     * be used instead of the default stdio ones.
     */
    #define TRIO_REPLACE_STDIO
    #include "trio.h"
    #endif
    
    /*
     * Internal variable indicating if a callback has been registered for
     * node creation/destruction. It avoids spending a lot of time in locking
     * function while checking if the callback exists.
     */
    extern int __xmlRegisterCallbacks;
    void __xmlIOErr(int domain, int code, const char *extra);
    #endif /* ! __XML_LIBXML_H__ */