pocxxeci 0.30.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pocxxeci might be problematic. Click here for more details.
- package/LICENSE +19 -0
- package/Makefile +18 -0
- package/README.md +52 -0
- package/binding.gyp +81 -0
- package/index.d.ts +273 -0
- package/index.js +45 -0
- package/lib/bindings.js +1 -0
- package/lib/document.js +122 -0
- package/lib/element.js +82 -0
- package/lib/sax_parser.js +38 -0
- package/package.json +70 -0
- package/src/html_document.cc +7 -0
- package/src/html_document.h +18 -0
- package/src/libxmljs.cc +252 -0
- package/src/libxmljs.h +53 -0
- package/src/xml_attribute.cc +173 -0
- package/src/xml_attribute.h +40 -0
- package/src/xml_comment.cc +117 -0
- package/src/xml_comment.h +30 -0
- package/src/xml_document.cc +810 -0
- package/src/xml_document.h +67 -0
- package/src/xml_element.cc +565 -0
- package/src/xml_element.h +61 -0
- package/src/xml_namespace.cc +158 -0
- package/src/xml_namespace.h +39 -0
- package/src/xml_node.cc +761 -0
- package/src/xml_node.h +73 -0
- package/src/xml_pi.cc +161 -0
- package/src/xml_pi.h +34 -0
- package/src/xml_sax_parser.cc +424 -0
- package/src/xml_sax_parser.h +73 -0
- package/src/xml_syntax_error.cc +66 -0
- package/src/xml_syntax_error.h +25 -0
- package/src/xml_text.cc +320 -0
- package/src/xml_text.h +48 -0
- package/src/xml_textwriter.cc +315 -0
- package/src/xml_textwriter.h +62 -0
- package/src/xml_xpath_context.cc +70 -0
- package/src/xml_xpath_context.h +23 -0
- package/vendor/libxml/Copyright +23 -0
- package/vendor/libxml/DOCBparser.c +305 -0
- package/vendor/libxml/HTMLparser.c +7287 -0
- package/vendor/libxml/HTMLtree.c +1200 -0
- package/vendor/libxml/Makefile +2983 -0
- package/vendor/libxml/SAX.c +180 -0
- package/vendor/libxml/SAX2.c +3036 -0
- package/vendor/libxml/buf.c +1351 -0
- package/vendor/libxml/buf.h +72 -0
- package/vendor/libxml/c14n.c +2234 -0
- package/vendor/libxml/catalog.c +3828 -0
- package/vendor/libxml/chvalid.c +336 -0
- package/vendor/libxml/config.h +294 -0
- package/vendor/libxml/config.h.gch +0 -0
- package/vendor/libxml/debugXML.c +3423 -0
- package/vendor/libxml/dict.c +1298 -0
- package/vendor/libxml/elfgcchack.h +17818 -0
- package/vendor/libxml/enc.h +32 -0
- package/vendor/libxml/encoding.c +3975 -0
- package/vendor/libxml/entities.c +1163 -0
- package/vendor/libxml/error.c +998 -0
- package/vendor/libxml/globals.c +1126 -0
- package/vendor/libxml/hash.c +1146 -0
- package/vendor/libxml/include/libxml/DOCBparser.h +96 -0
- package/vendor/libxml/include/libxml/HTMLparser.h +306 -0
- package/vendor/libxml/include/libxml/HTMLtree.h +147 -0
- package/vendor/libxml/include/libxml/Makefile +725 -0
- package/vendor/libxml/include/libxml/Makefile.am +54 -0
- package/vendor/libxml/include/libxml/Makefile.in +725 -0
- package/vendor/libxml/include/libxml/SAX.h +173 -0
- package/vendor/libxml/include/libxml/SAX2.h +178 -0
- package/vendor/libxml/include/libxml/c14n.h +128 -0
- package/vendor/libxml/include/libxml/catalog.h +182 -0
- package/vendor/libxml/include/libxml/chvalid.h +230 -0
- package/vendor/libxml/include/libxml/debugXML.h +217 -0
- package/vendor/libxml/include/libxml/dict.h +79 -0
- package/vendor/libxml/include/libxml/encoding.h +245 -0
- package/vendor/libxml/include/libxml/entities.h +151 -0
- package/vendor/libxml/include/libxml/globals.h +508 -0
- package/vendor/libxml/include/libxml/hash.h +236 -0
- package/vendor/libxml/include/libxml/list.h +137 -0
- package/vendor/libxml/include/libxml/nanoftp.h +163 -0
- package/vendor/libxml/include/libxml/nanohttp.h +81 -0
- package/vendor/libxml/include/libxml/parser.h +1243 -0
- package/vendor/libxml/include/libxml/parserInternals.h +644 -0
- package/vendor/libxml/include/libxml/pattern.h +100 -0
- package/vendor/libxml/include/libxml/relaxng.h +217 -0
- package/vendor/libxml/include/libxml/schemasInternals.h +958 -0
- package/vendor/libxml/include/libxml/schematron.h +142 -0
- package/vendor/libxml/include/libxml/threads.h +89 -0
- package/vendor/libxml/include/libxml/tree.h +1311 -0
- package/vendor/libxml/include/libxml/uri.h +94 -0
- package/vendor/libxml/include/libxml/valid.h +458 -0
- package/vendor/libxml/include/libxml/xinclude.h +129 -0
- package/vendor/libxml/include/libxml/xlink.h +189 -0
- package/vendor/libxml/include/libxml/xmlIO.h +368 -0
- package/vendor/libxml/include/libxml/xmlautomata.h +146 -0
- package/vendor/libxml/include/libxml/xmlerror.h +945 -0
- package/vendor/libxml/include/libxml/xmlexports.h +77 -0
- package/vendor/libxml/include/libxml/xmlmemory.h +224 -0
- package/vendor/libxml/include/libxml/xmlmodule.h +57 -0
- package/vendor/libxml/include/libxml/xmlreader.h +428 -0
- package/vendor/libxml/include/libxml/xmlregexp.h +222 -0
- package/vendor/libxml/include/libxml/xmlsave.h +88 -0
- package/vendor/libxml/include/libxml/xmlschemas.h +246 -0
- package/vendor/libxml/include/libxml/xmlschemastypes.h +151 -0
- package/vendor/libxml/include/libxml/xmlstring.h +140 -0
- package/vendor/libxml/include/libxml/xmlunicode.h +202 -0
- package/vendor/libxml/include/libxml/xmlversion.h +484 -0
- package/vendor/libxml/include/libxml/xmlwin32version.h +239 -0
- package/vendor/libxml/include/libxml/xmlwriter.h +488 -0
- package/vendor/libxml/include/libxml/xpath.h +564 -0
- package/vendor/libxml/include/libxml/xpathInternals.h +632 -0
- package/vendor/libxml/include/libxml/xpointer.h +114 -0
- package/vendor/libxml/include/win32config.h +122 -0
- package/vendor/libxml/include/wsockcompat.h +54 -0
- package/vendor/libxml/legacy.c +1343 -0
- package/vendor/libxml/libxml.h +134 -0
- package/vendor/libxml/list.c +779 -0
- package/vendor/libxml/nanoftp.c +2118 -0
- package/vendor/libxml/nanohttp.c +1899 -0
- package/vendor/libxml/parser.c +15553 -0
- package/vendor/libxml/parserInternals.c +2164 -0
- package/vendor/libxml/pattern.c +2621 -0
- package/vendor/libxml/relaxng.c +11101 -0
- package/vendor/libxml/rngparser.c +1595 -0
- package/vendor/libxml/runsuite.c +1157 -0
- package/vendor/libxml/save.h +36 -0
- package/vendor/libxml/schematron.c +1787 -0
- package/vendor/libxml/threads.c +1049 -0
- package/vendor/libxml/timsort.h +601 -0
- package/vendor/libxml/tree.c +10183 -0
- package/vendor/libxml/trio.c +6895 -0
- package/vendor/libxml/trio.h +230 -0
- package/vendor/libxml/triodef.h +228 -0
- package/vendor/libxml/trionan.c +914 -0
- package/vendor/libxml/trionan.h +84 -0
- package/vendor/libxml/triop.h +150 -0
- package/vendor/libxml/triostr.c +2112 -0
- package/vendor/libxml/triostr.h +144 -0
- package/vendor/libxml/uri.c +2561 -0
- package/vendor/libxml/valid.c +7138 -0
- package/vendor/libxml/xinclude.c +2657 -0
- package/vendor/libxml/xlink.c +183 -0
- package/vendor/libxml/xmlIO.c +4135 -0
- package/vendor/libxml/xmlcatalog.c +624 -0
- package/vendor/libxml/xmllint.c +3796 -0
- package/vendor/libxml/xmlmemory.c +1163 -0
- package/vendor/libxml/xmlmodule.c +468 -0
- package/vendor/libxml/xmlreader.c +6033 -0
- package/vendor/libxml/xmlregexp.c +8271 -0
- package/vendor/libxml/xmlsave.c +2735 -0
- package/vendor/libxml/xmlschemas.c +29173 -0
- package/vendor/libxml/xmlschemastypes.c +6276 -0
- package/vendor/libxml/xmlstring.c +1050 -0
- package/vendor/libxml/xmlunicode.c +3179 -0
- package/vendor/libxml/xmlwriter.c +4738 -0
- package/vendor/libxml/xpath.c +14734 -0
- package/vendor/libxml/xpointer.c +2969 -0
- package/vendor/libxml/xzlib.c +815 -0
- package/vendor/libxml/xzlib.h +19 -0
@@ -0,0 +1,134 @@
|
|
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: breese@users.sourceforge.net
|
7
|
+
*/
|
8
|
+
|
9
|
+
#ifndef __XML_LIBXML_H__
|
10
|
+
#define __XML_LIBXML_H__
|
11
|
+
|
12
|
+
#include <libxml/xmlstring.h>
|
13
|
+
|
14
|
+
#ifndef NO_LARGEFILE_SOURCE
|
15
|
+
#ifndef _LARGEFILE_SOURCE
|
16
|
+
#define _LARGEFILE_SOURCE
|
17
|
+
#endif
|
18
|
+
#ifndef _FILE_OFFSET_BITS
|
19
|
+
#define _FILE_OFFSET_BITS 64
|
20
|
+
#endif
|
21
|
+
#endif
|
22
|
+
|
23
|
+
#if defined(macintosh)
|
24
|
+
#include "config-mac.h"
|
25
|
+
#elif defined(_WIN32_WCE)
|
26
|
+
/*
|
27
|
+
* Windows CE compatibility definitions and functions
|
28
|
+
* This is needed to compile libxml2 for Windows CE.
|
29
|
+
* At least I tested it with WinCE 5.0 for Emulator and WinCE 4.2/SH4 target
|
30
|
+
*/
|
31
|
+
#include <win32config.h>
|
32
|
+
#include <libxml/xmlversion.h>
|
33
|
+
#else
|
34
|
+
/*
|
35
|
+
* Currently supported platforms use either autoconf or
|
36
|
+
* copy to config.h own "preset" configuration file.
|
37
|
+
* As result ifdef HAVE_CONFIG_H is omitted here.
|
38
|
+
*/
|
39
|
+
#include "config.h"
|
40
|
+
#include <libxml/xmlversion.h>
|
41
|
+
#endif
|
42
|
+
|
43
|
+
#if defined(__Lynx__)
|
44
|
+
#include <stdio.h> /* pull definition of size_t */
|
45
|
+
#include <varargs.h>
|
46
|
+
int snprintf(char *, size_t, const char *, ...);
|
47
|
+
int vfprintf(FILE *, const char *, va_list);
|
48
|
+
#endif
|
49
|
+
|
50
|
+
#ifndef WITH_TRIO
|
51
|
+
#include <stdio.h>
|
52
|
+
#else
|
53
|
+
/**
|
54
|
+
* TRIO_REPLACE_STDIO:
|
55
|
+
*
|
56
|
+
* This macro is defined if the trio string formatting functions are to
|
57
|
+
* be used instead of the default stdio ones.
|
58
|
+
*/
|
59
|
+
#define TRIO_REPLACE_STDIO
|
60
|
+
#include "trio.h"
|
61
|
+
#endif
|
62
|
+
|
63
|
+
#if defined(__clang__) || \
|
64
|
+
(defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 406))
|
65
|
+
#define XML_IGNORE_PEDANTIC_WARNINGS \
|
66
|
+
_Pragma("GCC diagnostic push") \
|
67
|
+
_Pragma("GCC diagnostic ignored \"-Wpedantic\"")
|
68
|
+
#define XML_POP_WARNINGS \
|
69
|
+
_Pragma("GCC diagnostic pop")
|
70
|
+
#else
|
71
|
+
#define XML_IGNORE_PEDANTIC_WARNINGS
|
72
|
+
#define XML_POP_WARNINGS
|
73
|
+
#endif
|
74
|
+
|
75
|
+
#if defined(__clang__) || \
|
76
|
+
(defined(__GNUC__) && (__GNUC__ >= 8))
|
77
|
+
#define ATTRIBUTE_NO_SANITIZE(arg) __attribute__((no_sanitize(arg)))
|
78
|
+
#else
|
79
|
+
#define ATTRIBUTE_NO_SANITIZE(arg)
|
80
|
+
#endif
|
81
|
+
|
82
|
+
/*
|
83
|
+
* Internal variable indicating if a callback has been registered for
|
84
|
+
* node creation/destruction. It avoids spending a lot of time in locking
|
85
|
+
* function while checking if the callback exists.
|
86
|
+
*/
|
87
|
+
extern int __xmlRegisterCallbacks;
|
88
|
+
/*
|
89
|
+
* internal error reporting routines, shared but not part of the API.
|
90
|
+
*/
|
91
|
+
void __xmlIOErr(int domain, int code, const char *extra);
|
92
|
+
void __xmlLoaderErr(void *ctx, const char *msg, const char *filename) LIBXML_ATTR_FORMAT(2,0);
|
93
|
+
#ifdef LIBXML_HTML_ENABLED
|
94
|
+
/*
|
95
|
+
* internal function of HTML parser needed for xmlParseInNodeContext
|
96
|
+
* but not part of the API
|
97
|
+
*/
|
98
|
+
void __htmlParseContent(void *ctx);
|
99
|
+
#endif
|
100
|
+
|
101
|
+
/*
|
102
|
+
* internal global initialization critical section routines.
|
103
|
+
*/
|
104
|
+
void __xmlGlobalInitMutexLock(void);
|
105
|
+
void __xmlGlobalInitMutexUnlock(void);
|
106
|
+
void __xmlGlobalInitMutexDestroy(void);
|
107
|
+
|
108
|
+
int __xmlInitializeDict(void);
|
109
|
+
|
110
|
+
#if defined(HAVE_RAND) && defined(HAVE_SRAND) && defined(HAVE_TIME)
|
111
|
+
/*
|
112
|
+
* internal thread safe random function
|
113
|
+
*/
|
114
|
+
int __xmlRandom(void);
|
115
|
+
#endif
|
116
|
+
|
117
|
+
XMLPUBFUN xmlChar * XMLCALL xmlEscapeFormatString(xmlChar **msg);
|
118
|
+
int xmlInputReadCallbackNop(void *context, char *buffer, int len);
|
119
|
+
|
120
|
+
#ifdef IN_LIBXML
|
121
|
+
#ifdef __GNUC__
|
122
|
+
#ifdef PIC
|
123
|
+
#ifdef __linux__
|
124
|
+
#if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3)
|
125
|
+
#include "elfgcchack.h"
|
126
|
+
#endif
|
127
|
+
#endif
|
128
|
+
#endif
|
129
|
+
#endif
|
130
|
+
#endif
|
131
|
+
#if !defined(PIC) && !defined(NOLIBTOOL) && !defined(LIBXML_STATIC)
|
132
|
+
# define LIBXML_STATIC
|
133
|
+
#endif
|
134
|
+
#endif /* ! __XML_LIBXML_H__ */
|