2001-04-21 16:57:29 +00: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 12:34:58 +00: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 10:25:13 +00:00
# if defined(macintosh)
2001-12-05 12:03:33 +00:00
# include "config-mac.h"
2001-04-21 16:57:29 +00:00
# else
# include "config.h"
# include <libxml/xmlversion.h>
2001-06-28 12:54:16 +00:00
# endif
2001-04-21 16:57:29 +00:00
2001-09-10 20:16:32 +00:00
# ifndef WITH_TRIO
2001-04-21 16:57:29 +00:00
# include <stdio.h>
# else
2001-07-18 19:30:27 +00: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 16:57:29 +00:00
# define TRIO_REPLACE_STDIO
# include "trio.h"
# endif
2003-04-21 21:36:41 +00: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 11:25:13 +00:00
/*
* internal error reporting routines , shared but not partof the API .
*/
2003-10-10 19:36:36 +00:00
void __xmlIOErr ( int domain , int code , const char * extra ) ;
2003-10-27 11:25:13 +00:00
void __xmlLoaderErr ( void * ctx , const char * msg , const char * filename ) ;
2001-04-21 16:57:29 +00:00
# endif /* ! __XML_LIBXML_H__ */