00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __XML_LIBXML_H__
00010 #define __XML_LIBXML_H__
00011
00012 #ifndef NO_LARGEFILE_SOURCE
00013 #ifndef _LARGEFILE_SOURCE
00014 #define _LARGEFILE_SOURCE
00015 #endif
00016 #ifndef _FILE_OFFSET_BITS
00017 #define _FILE_OFFSET_BITS 64
00018 #endif
00019 #endif
00020
00021 #if defined(macintosh)
00022 #include "config-mac.h"
00023 #else
00024 #include "win32config.h"
00025 #include <libxml/xmlversion.h>
00026 #endif
00027
00028 #if defined(__Lynx__)
00029 #include <stdio.h>
00030 #include <varargs.h>
00031 int snprintf(char *, size_t, const char *, ...);
00032 int vfprintf(FILE *, const char *, va_list);
00033 #endif
00034
00035 #ifndef WITH_TRIO
00036 #include <stdio.h>
00037 #else
00038
00044 #define TRIO_REPLACE_STDIO
00045 #include "trio.h"
00046 #endif
00047
00048
00049
00050
00051
00052
00053 extern int __xmlRegisterCallbacks;
00054
00055
00056
00057 void __xmlIOErr(int domain, int code, const char *extra);
00058 void __xmlLoaderErr(void *ctx, const char *msg, const char *filename);
00059 #ifdef LIBXML_HTML_ENABLED
00060
00061
00062
00063
00064 void __htmlParseContent(void *ctx);
00065 #endif
00066
00067
00068 #ifdef IN_LIBXML
00069 #ifdef __GNUC__
00070 #ifdef PIC
00071 #ifdef linux
00072 #if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3)
00073 #include "elfgcchack.h"
00074 #endif
00075 #endif
00076 #endif
00077 #endif
00078 #endif
00079 #endif