VirtualBox

source: vbox/trunk/src/libs/libxml2-2.6.31/libxml.h@ 51892

最後變更 在這個檔案從51892是 39924,由 vboxsync 提交於 13 年 前

libxml-2.6.31 VBox modifications and remove libxml-2.6.30

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.4 KB
 
1/*
2 * libxml.h: internal header only used during the compilation of libxml
3 *
4 * See COPYRIGHT for the status of this software
5 *
6 * Author: [email protected]
7 */
8
9#ifndef __XML_LIBXML_H__
10#define __XML_LIBXML_H__
11
12#ifndef NO_LARGEFILE_SOURCE
13#ifndef _LARGEFILE_SOURCE
14#define _LARGEFILE_SOURCE
15#endif
16#ifndef _LARGEFILE64_SOURCE
17#define _LARGEFILE64_SOURCE
18#endif
19#ifndef _FILE_OFFSET_BITS
20#define _FILE_OFFSET_BITS 64
21#endif
22#endif
23
24#if defined(macintosh)
25#include "config-mac.h"
26#elif defined(_WIN32)
27#include <win32config.h>
28#include <libxml/xmlversion.h>
29#elif defined(_WIN32_WCE)
30/*
31 * Windows CE compatibility definitions and functions
32 * This is needed to compile libxml2 for Windows CE.
33 * At least I tested it with WinCE 5.0 for Emulator and WinCE 4.2/SH4 target
34 */
35#include <win32config.h>
36#include <libxml/xmlversion.h>
37#elif defined(VBOX)
38#include <vboxconfig.h>
39#include <libxml/xmlversion.h>
40#else
41#include "config.h"
42#include <libxml/xmlversion.h>
43#endif
44
45#if defined(__Lynx__)
46#include <stdio.h> /* pull definition of size_t */
47#include <varargs.h>
48int snprintf(char *, size_t, const char *, ...);
49int vfprintf(FILE *, const char *, va_list);
50#endif
51
52#ifndef WITH_TRIO
53#include <stdio.h>
54#else
55/**
56 * TRIO_REPLACE_STDIO:
57 *
58 * This macro is defined if teh trio string formatting functions are to
59 * be used instead of the default stdio ones.
60 */
61#define TRIO_REPLACE_STDIO
62#include "trio.h"
63#endif
64
65/*
66 * Internal variable indicating if a callback has been registered for
67 * node creation/destruction. It avoids spending a lot of time in locking
68 * function while checking if the callback exists.
69 */
70extern int __xmlRegisterCallbacks;
71/*
72 * internal error reporting routines, shared but not partof the API.
73 */
74void __xmlIOErr(int domain, int code, const char *extra);
75void __xmlLoaderErr(void *ctx, const char *msg, const char *filename);
76#ifdef LIBXML_HTML_ENABLED
77/*
78 * internal function of HTML parser needed for xmlParseInNodeContext
79 * but not part of the API
80 */
81void __htmlParseContent(void *ctx);
82#endif
83
84/*
85 * internal global initialization critical section routines.
86 */
87void __xmlGlobalInitMutexLock(void);
88void __xmlGlobalInitMutexUnlock(void);
89void __xmlGlobalInitMutexDestroy(void);
90
91#ifdef IN_LIBXML
92#ifdef __GNUC__
93#ifdef PIC
94#ifdef linux
95#if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3)
96#include "elfgcchack.h"
97#endif
98#endif
99#endif
100#endif
101#endif
102#endif /* ! __XML_LIBXML_H__ */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette