| OLD | NEW |
| 1 /* | 1 /* |
| 2 * libxml.h: internal header only used during the compilation of libxml | 2 * libxml.h: internal header only used during the compilation of libxml |
| 3 * | 3 * |
| 4 * See COPYRIGHT for the status of this software | 4 * See COPYRIGHT for the status of this software |
| 5 * | 5 * |
| 6 * Author: breese@users.sourceforge.net | 6 * Author: breese@users.sourceforge.net |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #ifndef __XML_LIBXML_H__ | 9 #ifndef __XML_LIBXML_H__ |
| 10 #define __XML_LIBXML_H__ | 10 #define __XML_LIBXML_H__ |
| 11 | 11 |
| 12 #include <libxml/xmlstring.h> |
| 13 |
| 12 #ifndef NO_LARGEFILE_SOURCE | 14 #ifndef NO_LARGEFILE_SOURCE |
| 13 #ifndef _LARGEFILE_SOURCE | 15 #ifndef _LARGEFILE_SOURCE |
| 14 #define _LARGEFILE_SOURCE | 16 #define _LARGEFILE_SOURCE |
| 15 #endif | 17 #endif |
| 16 #ifndef _FILE_OFFSET_BITS | 18 #ifndef _FILE_OFFSET_BITS |
| 17 #define _FILE_OFFSET_BITS 64 | 19 #define _FILE_OFFSET_BITS 64 |
| 18 #endif | 20 #endif |
| 19 #endif | 21 #endif |
| 20 | 22 |
| 21 #if defined(macintosh) | 23 #if defined(macintosh) |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 /* | 63 /* |
| 62 * Internal variable indicating if a callback has been registered for | 64 * Internal variable indicating if a callback has been registered for |
| 63 * node creation/destruction. It avoids spending a lot of time in locking | 65 * node creation/destruction. It avoids spending a lot of time in locking |
| 64 * function while checking if the callback exists. | 66 * function while checking if the callback exists. |
| 65 */ | 67 */ |
| 66 extern int __xmlRegisterCallbacks; | 68 extern int __xmlRegisterCallbacks; |
| 67 /* | 69 /* |
| 68 * internal error reporting routines, shared but not partof the API. | 70 * internal error reporting routines, shared but not partof the API. |
| 69 */ | 71 */ |
| 70 void __xmlIOErr(int domain, int code, const char *extra); | 72 void __xmlIOErr(int domain, int code, const char *extra); |
| 71 void __xmlLoaderErr(void *ctx, const char *msg, const char *filename); | 73 void __xmlLoaderErr(void *ctx, const char *msg, const char *filename) LIBXML_ATT
R_FORMAT(2,0); |
| 72 #ifdef LIBXML_HTML_ENABLED | 74 #ifdef LIBXML_HTML_ENABLED |
| 73 /* | 75 /* |
| 74 * internal function of HTML parser needed for xmlParseInNodeContext | 76 * internal function of HTML parser needed for xmlParseInNodeContext |
| 75 * but not part of the API | 77 * but not part of the API |
| 76 */ | 78 */ |
| 77 void __htmlParseContent(void *ctx); | 79 void __htmlParseContent(void *ctx); |
| 78 #endif | 80 #endif |
| 79 | 81 |
| 80 /* | 82 /* |
| 81 * internal global initialization critical section routines. | 83 * internal global initialization critical section routines. |
| 82 */ | 84 */ |
| 83 void __xmlGlobalInitMutexLock(void); | 85 void __xmlGlobalInitMutexLock(void); |
| 84 void __xmlGlobalInitMutexUnlock(void); | 86 void __xmlGlobalInitMutexUnlock(void); |
| 85 void __xmlGlobalInitMutexDestroy(void); | 87 void __xmlGlobalInitMutexDestroy(void); |
| 86 | 88 |
| 87 int __xmlInitializeDict(void); | 89 int __xmlInitializeDict(void); |
| 88 | 90 |
| 89 #if defined(HAVE_RAND) && defined(HAVE_SRAND) && defined(HAVE_TIME) | 91 #if defined(HAVE_RAND) && defined(HAVE_SRAND) && defined(HAVE_TIME) |
| 90 /* | 92 /* |
| 91 * internal thread safe random function | 93 * internal thread safe random function |
| 92 */ | 94 */ |
| 93 int __xmlRandom(void); | 95 int __xmlRandom(void); |
| 94 #endif | 96 #endif |
| 95 | 97 |
| 98 XMLPUBFUN xmlChar * XMLCALL xmlEscapeFormatString(xmlChar **msg); |
| 96 int xmlNop(void); | 99 int xmlNop(void); |
| 97 | 100 |
| 98 #ifdef IN_LIBXML | 101 #ifdef IN_LIBXML |
| 99 #ifdef __GNUC__ | 102 #ifdef __GNUC__ |
| 100 #ifdef PIC | 103 #ifdef PIC |
| 101 #ifdef linux | 104 #ifdef linux |
| 102 #if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3) | 105 #if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3) |
| 103 #include "elfgcchack.h" | 106 #include "elfgcchack.h" |
| 104 #endif | 107 #endif |
| 105 #endif | 108 #endif |
| 106 #endif | 109 #endif |
| 107 #endif | 110 #endif |
| 108 #endif | 111 #endif |
| 109 #if !defined(PIC) && !defined(NOLIBTOOL) | 112 #if !defined(PIC) && !defined(NOLIBTOOL) |
| 110 # define LIBXML_STATIC | 113 # define LIBXML_STATIC |
| 111 #endif | 114 #endif |
| 112 #endif /* ! __XML_LIBXML_H__ */ | 115 #endif /* ! __XML_LIBXML_H__ */ |
| OLD | NEW |