2001-04-21 20:57:29 +04:00
/*
* 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__
2003-04-18 16:34:58 +04:00
# ifndef NO_LARGEFILE_SOURCE
# ifndef _LARGEFILE_SOURCE
# define _LARGEFILE_SOURCE
# endif
# ifndef _FILE_OFFSET_BITS
# define _FILE_OFFSET_BITS 64
# endif
# endif
2003-08-28 14:25:13 +04:00
# if defined(macintosh)
2001-12-05 15:03:33 +03:00
# include "config-mac.h"
2001-04-21 20:57:29 +04:00
# else
# include "config.h"
# include <libxml/xmlversion.h>
2001-06-28 16:54:16 +04:00
# endif
2001-04-21 20:57:29 +04:00
2001-09-11 00:16:32 +04:00
# ifndef WITH_TRIO
2001-04-21 20:57:29 +04:00
# include <stdio.h>
# else
2001-07-18 23:30:27 +04:00
/**
* TRIO_REPLACE_STDIO :
*
* This macro is defined if teh trio string formatting functions are to
* be used instead of the default stdio ones .
*/
2001-04-21 20:57:29 +04:00
# define TRIO_REPLACE_STDIO
# include "trio.h"
# endif
2003-04-22 01:36:41 +04:00
/*
* 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 ;
2003-10-27 14:25:13 +03:00
/*
* internal error reporting routines , shared but not partof the API .
*/
2003-10-10 23:36:36 +04:00
void __xmlIOErr ( int domain , int code , const char * extra ) ;
2003-10-27 14:25:13 +03:00
void __xmlLoaderErr ( void * ctx , const char * msg , const char * filename ) ;
2004-06-27 16:08:10 +04:00
# ifdef IN_LIBXML
# ifdef __GNUC__
2004-07-09 16:05:25 +04:00
# ifdef PIC
2004-06-27 16:08:10 +04:00
# ifdef linux
2005-03-10 12:22:07 +03:00
# if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3)
2004-06-27 16:08:10 +04:00
# include "elfgcchack.h"
# endif
# endif
# endif
2004-07-09 16:05:25 +04:00
# endif
2005-03-10 12:22:07 +03:00
# endif
2001-04-21 20:57:29 +04:00
# endif /* ! __XML_LIBXML_H__ */