@helm2/poc_jenki_rce 0.0.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of @helm2/poc_jenki_rce might be problematic. Click here for more details.

Files changed (160) hide show
  1. package/LICENSE +19 -0
  2. package/Makefile +18 -0
  3. package/README.md +52 -0
  4. package/binding.gyp +81 -0
  5. package/index.d.ts +273 -0
  6. package/index.js +45 -0
  7. package/lib/bindings.js +1 -0
  8. package/lib/document.js +118 -0
  9. package/lib/element.js +82 -0
  10. package/lib/sax_parser.js +38 -0
  11. package/package.json +70 -0
  12. package/src/html_document.cc +7 -0
  13. package/src/html_document.h +18 -0
  14. package/src/libxmljs.cc +252 -0
  15. package/src/libxmljs.h +53 -0
  16. package/src/xml_attribute.cc +173 -0
  17. package/src/xml_attribute.h +40 -0
  18. package/src/xml_comment.cc +117 -0
  19. package/src/xml_comment.h +30 -0
  20. package/src/xml_document.cc +810 -0
  21. package/src/xml_document.h +67 -0
  22. package/src/xml_element.cc +565 -0
  23. package/src/xml_element.h +61 -0
  24. package/src/xml_namespace.cc +158 -0
  25. package/src/xml_namespace.h +39 -0
  26. package/src/xml_node.cc +761 -0
  27. package/src/xml_node.h +73 -0
  28. package/src/xml_pi.cc +161 -0
  29. package/src/xml_pi.h +34 -0
  30. package/src/xml_sax_parser.cc +424 -0
  31. package/src/xml_sax_parser.h +73 -0
  32. package/src/xml_syntax_error.cc +66 -0
  33. package/src/xml_syntax_error.h +25 -0
  34. package/src/xml_text.cc +320 -0
  35. package/src/xml_text.h +48 -0
  36. package/src/xml_textwriter.cc +315 -0
  37. package/src/xml_textwriter.h +62 -0
  38. package/src/xml_xpath_context.cc +70 -0
  39. package/src/xml_xpath_context.h +23 -0
  40. package/vendor/libxml/Copyright +23 -0
  41. package/vendor/libxml/DOCBparser.c +305 -0
  42. package/vendor/libxml/HTMLparser.c +7287 -0
  43. package/vendor/libxml/HTMLtree.c +1200 -0
  44. package/vendor/libxml/Makefile +2983 -0
  45. package/vendor/libxml/SAX.c +180 -0
  46. package/vendor/libxml/SAX2.c +3036 -0
  47. package/vendor/libxml/buf.c +1351 -0
  48. package/vendor/libxml/buf.h +72 -0
  49. package/vendor/libxml/c14n.c +2234 -0
  50. package/vendor/libxml/catalog.c +3828 -0
  51. package/vendor/libxml/chvalid.c +336 -0
  52. package/vendor/libxml/config.h +294 -0
  53. package/vendor/libxml/config.h.gch +0 -0
  54. package/vendor/libxml/debugXML.c +3423 -0
  55. package/vendor/libxml/dict.c +1298 -0
  56. package/vendor/libxml/elfgcchack.h +17818 -0
  57. package/vendor/libxml/enc.h +32 -0
  58. package/vendor/libxml/encoding.c +3975 -0
  59. package/vendor/libxml/entities.c +1163 -0
  60. package/vendor/libxml/error.c +998 -0
  61. package/vendor/libxml/globals.c +1126 -0
  62. package/vendor/libxml/hash.c +1146 -0
  63. package/vendor/libxml/include/libxml/DOCBparser.h +96 -0
  64. package/vendor/libxml/include/libxml/HTMLparser.h +306 -0
  65. package/vendor/libxml/include/libxml/HTMLtree.h +147 -0
  66. package/vendor/libxml/include/libxml/Makefile +725 -0
  67. package/vendor/libxml/include/libxml/Makefile.am +54 -0
  68. package/vendor/libxml/include/libxml/Makefile.in +725 -0
  69. package/vendor/libxml/include/libxml/SAX.h +173 -0
  70. package/vendor/libxml/include/libxml/SAX2.h +178 -0
  71. package/vendor/libxml/include/libxml/c14n.h +128 -0
  72. package/vendor/libxml/include/libxml/catalog.h +182 -0
  73. package/vendor/libxml/include/libxml/chvalid.h +230 -0
  74. package/vendor/libxml/include/libxml/debugXML.h +217 -0
  75. package/vendor/libxml/include/libxml/dict.h +79 -0
  76. package/vendor/libxml/include/libxml/encoding.h +245 -0
  77. package/vendor/libxml/include/libxml/entities.h +151 -0
  78. package/vendor/libxml/include/libxml/globals.h +508 -0
  79. package/vendor/libxml/include/libxml/hash.h +236 -0
  80. package/vendor/libxml/include/libxml/list.h +137 -0
  81. package/vendor/libxml/include/libxml/nanoftp.h +163 -0
  82. package/vendor/libxml/include/libxml/nanohttp.h +81 -0
  83. package/vendor/libxml/include/libxml/parser.h +1243 -0
  84. package/vendor/libxml/include/libxml/parserInternals.h +644 -0
  85. package/vendor/libxml/include/libxml/pattern.h +100 -0
  86. package/vendor/libxml/include/libxml/relaxng.h +217 -0
  87. package/vendor/libxml/include/libxml/schemasInternals.h +958 -0
  88. package/vendor/libxml/include/libxml/schematron.h +142 -0
  89. package/vendor/libxml/include/libxml/threads.h +89 -0
  90. package/vendor/libxml/include/libxml/tree.h +1311 -0
  91. package/vendor/libxml/include/libxml/uri.h +94 -0
  92. package/vendor/libxml/include/libxml/valid.h +458 -0
  93. package/vendor/libxml/include/libxml/xinclude.h +129 -0
  94. package/vendor/libxml/include/libxml/xlink.h +189 -0
  95. package/vendor/libxml/include/libxml/xmlIO.h +368 -0
  96. package/vendor/libxml/include/libxml/xmlautomata.h +146 -0
  97. package/vendor/libxml/include/libxml/xmlerror.h +945 -0
  98. package/vendor/libxml/include/libxml/xmlexports.h +77 -0
  99. package/vendor/libxml/include/libxml/xmlmemory.h +224 -0
  100. package/vendor/libxml/include/libxml/xmlmodule.h +57 -0
  101. package/vendor/libxml/include/libxml/xmlreader.h +428 -0
  102. package/vendor/libxml/include/libxml/xmlregexp.h +222 -0
  103. package/vendor/libxml/include/libxml/xmlsave.h +88 -0
  104. package/vendor/libxml/include/libxml/xmlschemas.h +246 -0
  105. package/vendor/libxml/include/libxml/xmlschemastypes.h +151 -0
  106. package/vendor/libxml/include/libxml/xmlstring.h +140 -0
  107. package/vendor/libxml/include/libxml/xmlunicode.h +202 -0
  108. package/vendor/libxml/include/libxml/xmlversion.h +484 -0
  109. package/vendor/libxml/include/libxml/xmlwin32version.h +239 -0
  110. package/vendor/libxml/include/libxml/xmlwriter.h +488 -0
  111. package/vendor/libxml/include/libxml/xpath.h +564 -0
  112. package/vendor/libxml/include/libxml/xpathInternals.h +632 -0
  113. package/vendor/libxml/include/libxml/xpointer.h +114 -0
  114. package/vendor/libxml/include/win32config.h +122 -0
  115. package/vendor/libxml/include/wsockcompat.h +54 -0
  116. package/vendor/libxml/legacy.c +1343 -0
  117. package/vendor/libxml/libxml.h +134 -0
  118. package/vendor/libxml/list.c +779 -0
  119. package/vendor/libxml/nanoftp.c +2118 -0
  120. package/vendor/libxml/nanohttp.c +1899 -0
  121. package/vendor/libxml/parser.c +15553 -0
  122. package/vendor/libxml/parserInternals.c +2164 -0
  123. package/vendor/libxml/pattern.c +2621 -0
  124. package/vendor/libxml/relaxng.c +11101 -0
  125. package/vendor/libxml/rngparser.c +1595 -0
  126. package/vendor/libxml/runsuite.c +1157 -0
  127. package/vendor/libxml/save.h +36 -0
  128. package/vendor/libxml/schematron.c +1787 -0
  129. package/vendor/libxml/threads.c +1049 -0
  130. package/vendor/libxml/timsort.h +601 -0
  131. package/vendor/libxml/tree.c +10183 -0
  132. package/vendor/libxml/trio.c +6895 -0
  133. package/vendor/libxml/trio.h +230 -0
  134. package/vendor/libxml/triodef.h +228 -0
  135. package/vendor/libxml/trionan.c +914 -0
  136. package/vendor/libxml/trionan.h +84 -0
  137. package/vendor/libxml/triop.h +150 -0
  138. package/vendor/libxml/triostr.c +2112 -0
  139. package/vendor/libxml/triostr.h +144 -0
  140. package/vendor/libxml/uri.c +2561 -0
  141. package/vendor/libxml/valid.c +7138 -0
  142. package/vendor/libxml/xinclude.c +2657 -0
  143. package/vendor/libxml/xlink.c +183 -0
  144. package/vendor/libxml/xmlIO.c +4135 -0
  145. package/vendor/libxml/xmlcatalog.c +624 -0
  146. package/vendor/libxml/xmllint.c +3796 -0
  147. package/vendor/libxml/xmlmemory.c +1163 -0
  148. package/vendor/libxml/xmlmodule.c +468 -0
  149. package/vendor/libxml/xmlreader.c +6033 -0
  150. package/vendor/libxml/xmlregexp.c +8271 -0
  151. package/vendor/libxml/xmlsave.c +2735 -0
  152. package/vendor/libxml/xmlschemas.c +29173 -0
  153. package/vendor/libxml/xmlschemastypes.c +6276 -0
  154. package/vendor/libxml/xmlstring.c +1050 -0
  155. package/vendor/libxml/xmlunicode.c +3179 -0
  156. package/vendor/libxml/xmlwriter.c +4738 -0
  157. package/vendor/libxml/xpath.c +14734 -0
  158. package/vendor/libxml/xpointer.c +2969 -0
  159. package/vendor/libxml/xzlib.c +815 -0
  160. package/vendor/libxml/xzlib.h +19 -0
@@ -0,0 +1,336 @@
1
+ /*
2
+ * chvalid.c: this module implements the character range
3
+ * validation APIs
4
+ *
5
+ * This file is automatically generated from the cvs source
6
+ * definition files using the genChRanges.py Python script
7
+ *
8
+ * Generation date: Mon Mar 27 11:09:48 2006
9
+ * Sources: chvalid.def
10
+ * William Brack <wbrack@mmm.com.hk>
11
+ */
12
+
13
+ #define IN_LIBXML
14
+ #include "libxml.h"
15
+ #include <libxml/chvalid.h>
16
+
17
+ /*
18
+ * The initial tables ({func_name}_tab) are used to validate whether a
19
+ * single-byte character is within the specified group. Each table
20
+ * contains 256 bytes, with each byte representing one of the 256
21
+ * possible characters. If the table byte is set, the character is
22
+ * allowed.
23
+ *
24
+ */
25
+ const unsigned char xmlIsPubidChar_tab[256] = {
26
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
27
+ 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
28
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x01,
29
+ 0x01, 0x01, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
30
+ 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
31
+ 0x00, 0x01, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
32
+ 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
33
+ 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01,
34
+ 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
35
+ 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
36
+ 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
37
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
38
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
39
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
40
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
41
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
42
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
43
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
44
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
45
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
46
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
47
+ 0x00, 0x00, 0x00, 0x00 };
48
+
49
+ static const xmlChSRange xmlIsBaseChar_srng[] = { {0x100, 0x131},
50
+ {0x134, 0x13e}, {0x141, 0x148}, {0x14a, 0x17e}, {0x180, 0x1c3},
51
+ {0x1cd, 0x1f0}, {0x1f4, 0x1f5}, {0x1fa, 0x217}, {0x250, 0x2a8},
52
+ {0x2bb, 0x2c1}, {0x386, 0x386}, {0x388, 0x38a}, {0x38c, 0x38c},
53
+ {0x38e, 0x3a1}, {0x3a3, 0x3ce}, {0x3d0, 0x3d6}, {0x3da, 0x3da},
54
+ {0x3dc, 0x3dc}, {0x3de, 0x3de}, {0x3e0, 0x3e0}, {0x3e2, 0x3f3},
55
+ {0x401, 0x40c}, {0x40e, 0x44f}, {0x451, 0x45c}, {0x45e, 0x481},
56
+ {0x490, 0x4c4}, {0x4c7, 0x4c8}, {0x4cb, 0x4cc}, {0x4d0, 0x4eb},
57
+ {0x4ee, 0x4f5}, {0x4f8, 0x4f9}, {0x531, 0x556}, {0x559, 0x559},
58
+ {0x561, 0x586}, {0x5d0, 0x5ea}, {0x5f0, 0x5f2}, {0x621, 0x63a},
59
+ {0x641, 0x64a}, {0x671, 0x6b7}, {0x6ba, 0x6be}, {0x6c0, 0x6ce},
60
+ {0x6d0, 0x6d3}, {0x6d5, 0x6d5}, {0x6e5, 0x6e6}, {0x905, 0x939},
61
+ {0x93d, 0x93d}, {0x958, 0x961}, {0x985, 0x98c}, {0x98f, 0x990},
62
+ {0x993, 0x9a8}, {0x9aa, 0x9b0}, {0x9b2, 0x9b2}, {0x9b6, 0x9b9},
63
+ {0x9dc, 0x9dd}, {0x9df, 0x9e1}, {0x9f0, 0x9f1}, {0xa05, 0xa0a},
64
+ {0xa0f, 0xa10}, {0xa13, 0xa28}, {0xa2a, 0xa30}, {0xa32, 0xa33},
65
+ {0xa35, 0xa36}, {0xa38, 0xa39}, {0xa59, 0xa5c}, {0xa5e, 0xa5e},
66
+ {0xa72, 0xa74}, {0xa85, 0xa8b}, {0xa8d, 0xa8d}, {0xa8f, 0xa91},
67
+ {0xa93, 0xaa8}, {0xaaa, 0xab0}, {0xab2, 0xab3}, {0xab5, 0xab9},
68
+ {0xabd, 0xabd}, {0xae0, 0xae0}, {0xb05, 0xb0c}, {0xb0f, 0xb10},
69
+ {0xb13, 0xb28}, {0xb2a, 0xb30}, {0xb32, 0xb33}, {0xb36, 0xb39},
70
+ {0xb3d, 0xb3d}, {0xb5c, 0xb5d}, {0xb5f, 0xb61}, {0xb85, 0xb8a},
71
+ {0xb8e, 0xb90}, {0xb92, 0xb95}, {0xb99, 0xb9a}, {0xb9c, 0xb9c},
72
+ {0xb9e, 0xb9f}, {0xba3, 0xba4}, {0xba8, 0xbaa}, {0xbae, 0xbb5},
73
+ {0xbb7, 0xbb9}, {0xc05, 0xc0c}, {0xc0e, 0xc10}, {0xc12, 0xc28},
74
+ {0xc2a, 0xc33}, {0xc35, 0xc39}, {0xc60, 0xc61}, {0xc85, 0xc8c},
75
+ {0xc8e, 0xc90}, {0xc92, 0xca8}, {0xcaa, 0xcb3}, {0xcb5, 0xcb9},
76
+ {0xcde, 0xcde}, {0xce0, 0xce1}, {0xd05, 0xd0c}, {0xd0e, 0xd10},
77
+ {0xd12, 0xd28}, {0xd2a, 0xd39}, {0xd60, 0xd61}, {0xe01, 0xe2e},
78
+ {0xe30, 0xe30}, {0xe32, 0xe33}, {0xe40, 0xe45}, {0xe81, 0xe82},
79
+ {0xe84, 0xe84}, {0xe87, 0xe88}, {0xe8a, 0xe8a}, {0xe8d, 0xe8d},
80
+ {0xe94, 0xe97}, {0xe99, 0xe9f}, {0xea1, 0xea3}, {0xea5, 0xea5},
81
+ {0xea7, 0xea7}, {0xeaa, 0xeab}, {0xead, 0xeae}, {0xeb0, 0xeb0},
82
+ {0xeb2, 0xeb3}, {0xebd, 0xebd}, {0xec0, 0xec4}, {0xf40, 0xf47},
83
+ {0xf49, 0xf69}, {0x10a0, 0x10c5}, {0x10d0, 0x10f6}, {0x1100, 0x1100},
84
+ {0x1102, 0x1103}, {0x1105, 0x1107}, {0x1109, 0x1109}, {0x110b, 0x110c},
85
+ {0x110e, 0x1112}, {0x113c, 0x113c}, {0x113e, 0x113e}, {0x1140, 0x1140},
86
+ {0x114c, 0x114c}, {0x114e, 0x114e}, {0x1150, 0x1150}, {0x1154, 0x1155},
87
+ {0x1159, 0x1159}, {0x115f, 0x1161}, {0x1163, 0x1163}, {0x1165, 0x1165},
88
+ {0x1167, 0x1167}, {0x1169, 0x1169}, {0x116d, 0x116e}, {0x1172, 0x1173},
89
+ {0x1175, 0x1175}, {0x119e, 0x119e}, {0x11a8, 0x11a8}, {0x11ab, 0x11ab},
90
+ {0x11ae, 0x11af}, {0x11b7, 0x11b8}, {0x11ba, 0x11ba}, {0x11bc, 0x11c2},
91
+ {0x11eb, 0x11eb}, {0x11f0, 0x11f0}, {0x11f9, 0x11f9}, {0x1e00, 0x1e9b},
92
+ {0x1ea0, 0x1ef9}, {0x1f00, 0x1f15}, {0x1f18, 0x1f1d}, {0x1f20, 0x1f45},
93
+ {0x1f48, 0x1f4d}, {0x1f50, 0x1f57}, {0x1f59, 0x1f59}, {0x1f5b, 0x1f5b},
94
+ {0x1f5d, 0x1f5d}, {0x1f5f, 0x1f7d}, {0x1f80, 0x1fb4}, {0x1fb6, 0x1fbc},
95
+ {0x1fbe, 0x1fbe}, {0x1fc2, 0x1fc4}, {0x1fc6, 0x1fcc}, {0x1fd0, 0x1fd3},
96
+ {0x1fd6, 0x1fdb}, {0x1fe0, 0x1fec}, {0x1ff2, 0x1ff4}, {0x1ff6, 0x1ffc},
97
+ {0x2126, 0x2126}, {0x212a, 0x212b}, {0x212e, 0x212e}, {0x2180, 0x2182},
98
+ {0x3041, 0x3094}, {0x30a1, 0x30fa}, {0x3105, 0x312c}, {0xac00, 0xd7a3}};
99
+ const xmlChRangeGroup xmlIsBaseCharGroup =
100
+ {197, 0, xmlIsBaseChar_srng, (xmlChLRangePtr)0};
101
+
102
+ static const xmlChSRange xmlIsChar_srng[] = { {0x100, 0xd7ff},
103
+ {0xe000, 0xfffd}};
104
+ static const xmlChLRange xmlIsChar_lrng[] = { {0x10000, 0x10ffff}};
105
+ const xmlChRangeGroup xmlIsCharGroup =
106
+ {2, 1, xmlIsChar_srng, xmlIsChar_lrng};
107
+
108
+ static const xmlChSRange xmlIsCombining_srng[] = { {0x300, 0x345},
109
+ {0x360, 0x361}, {0x483, 0x486}, {0x591, 0x5a1}, {0x5a3, 0x5b9},
110
+ {0x5bb, 0x5bd}, {0x5bf, 0x5bf}, {0x5c1, 0x5c2}, {0x5c4, 0x5c4},
111
+ {0x64b, 0x652}, {0x670, 0x670}, {0x6d6, 0x6dc}, {0x6dd, 0x6df},
112
+ {0x6e0, 0x6e4}, {0x6e7, 0x6e8}, {0x6ea, 0x6ed}, {0x901, 0x903},
113
+ {0x93c, 0x93c}, {0x93e, 0x94c}, {0x94d, 0x94d}, {0x951, 0x954},
114
+ {0x962, 0x963}, {0x981, 0x983}, {0x9bc, 0x9bc}, {0x9be, 0x9be},
115
+ {0x9bf, 0x9bf}, {0x9c0, 0x9c4}, {0x9c7, 0x9c8}, {0x9cb, 0x9cd},
116
+ {0x9d7, 0x9d7}, {0x9e2, 0x9e3}, {0xa02, 0xa02}, {0xa3c, 0xa3c},
117
+ {0xa3e, 0xa3e}, {0xa3f, 0xa3f}, {0xa40, 0xa42}, {0xa47, 0xa48},
118
+ {0xa4b, 0xa4d}, {0xa70, 0xa71}, {0xa81, 0xa83}, {0xabc, 0xabc},
119
+ {0xabe, 0xac5}, {0xac7, 0xac9}, {0xacb, 0xacd}, {0xb01, 0xb03},
120
+ {0xb3c, 0xb3c}, {0xb3e, 0xb43}, {0xb47, 0xb48}, {0xb4b, 0xb4d},
121
+ {0xb56, 0xb57}, {0xb82, 0xb83}, {0xbbe, 0xbc2}, {0xbc6, 0xbc8},
122
+ {0xbca, 0xbcd}, {0xbd7, 0xbd7}, {0xc01, 0xc03}, {0xc3e, 0xc44},
123
+ {0xc46, 0xc48}, {0xc4a, 0xc4d}, {0xc55, 0xc56}, {0xc82, 0xc83},
124
+ {0xcbe, 0xcc4}, {0xcc6, 0xcc8}, {0xcca, 0xccd}, {0xcd5, 0xcd6},
125
+ {0xd02, 0xd03}, {0xd3e, 0xd43}, {0xd46, 0xd48}, {0xd4a, 0xd4d},
126
+ {0xd57, 0xd57}, {0xe31, 0xe31}, {0xe34, 0xe3a}, {0xe47, 0xe4e},
127
+ {0xeb1, 0xeb1}, {0xeb4, 0xeb9}, {0xebb, 0xebc}, {0xec8, 0xecd},
128
+ {0xf18, 0xf19}, {0xf35, 0xf35}, {0xf37, 0xf37}, {0xf39, 0xf39},
129
+ {0xf3e, 0xf3e}, {0xf3f, 0xf3f}, {0xf71, 0xf84}, {0xf86, 0xf8b},
130
+ {0xf90, 0xf95}, {0xf97, 0xf97}, {0xf99, 0xfad}, {0xfb1, 0xfb7},
131
+ {0xfb9, 0xfb9}, {0x20d0, 0x20dc}, {0x20e1, 0x20e1}, {0x302a, 0x302f},
132
+ {0x3099, 0x3099}, {0x309a, 0x309a}};
133
+ const xmlChRangeGroup xmlIsCombiningGroup =
134
+ {95, 0, xmlIsCombining_srng, (xmlChLRangePtr)0};
135
+
136
+ static const xmlChSRange xmlIsDigit_srng[] = { {0x660, 0x669},
137
+ {0x6f0, 0x6f9}, {0x966, 0x96f}, {0x9e6, 0x9ef}, {0xa66, 0xa6f},
138
+ {0xae6, 0xaef}, {0xb66, 0xb6f}, {0xbe7, 0xbef}, {0xc66, 0xc6f},
139
+ {0xce6, 0xcef}, {0xd66, 0xd6f}, {0xe50, 0xe59}, {0xed0, 0xed9},
140
+ {0xf20, 0xf29}};
141
+ const xmlChRangeGroup xmlIsDigitGroup =
142
+ {14, 0, xmlIsDigit_srng, (xmlChLRangePtr)0};
143
+
144
+ static const xmlChSRange xmlIsExtender_srng[] = { {0x2d0, 0x2d0},
145
+ {0x2d1, 0x2d1}, {0x387, 0x387}, {0x640, 0x640}, {0xe46, 0xe46},
146
+ {0xec6, 0xec6}, {0x3005, 0x3005}, {0x3031, 0x3035}, {0x309d, 0x309e},
147
+ {0x30fc, 0x30fe}};
148
+ const xmlChRangeGroup xmlIsExtenderGroup =
149
+ {10, 0, xmlIsExtender_srng, (xmlChLRangePtr)0};
150
+
151
+ static const xmlChSRange xmlIsIdeographic_srng[] = { {0x3007, 0x3007},
152
+ {0x3021, 0x3029}, {0x4e00, 0x9fa5}};
153
+ const xmlChRangeGroup xmlIsIdeographicGroup =
154
+ {3, 0, xmlIsIdeographic_srng, (xmlChLRangePtr)0};
155
+
156
+
157
+ /**
158
+ * xmlCharInRange:
159
+ * @val: character to be validated
160
+ * @rptr: pointer to range to be used to validate
161
+ *
162
+ * Does a binary search of the range table to determine if char
163
+ * is valid
164
+ *
165
+ * Returns: true if character valid, false otherwise
166
+ */
167
+ int
168
+ xmlCharInRange (unsigned int val, const xmlChRangeGroup *rptr) {
169
+ int low, high, mid;
170
+ const xmlChSRange *sptr;
171
+ const xmlChLRange *lptr;
172
+
173
+ if (rptr == NULL) return(0);
174
+ if (val < 0x10000) { /* is val in 'short' or 'long' array? */
175
+ if (rptr->nbShortRange == 0)
176
+ return 0;
177
+ low = 0;
178
+ high = rptr->nbShortRange - 1;
179
+ sptr = rptr->shortRange;
180
+ while (low <= high) {
181
+ mid = (low + high) / 2;
182
+ if ((unsigned short) val < sptr[mid].low) {
183
+ high = mid - 1;
184
+ } else {
185
+ if ((unsigned short) val > sptr[mid].high) {
186
+ low = mid + 1;
187
+ } else {
188
+ return 1;
189
+ }
190
+ }
191
+ }
192
+ } else {
193
+ if (rptr->nbLongRange == 0) {
194
+ return 0;
195
+ }
196
+ low = 0;
197
+ high = rptr->nbLongRange - 1;
198
+ lptr = rptr->longRange;
199
+ while (low <= high) {
200
+ mid = (low + high) / 2;
201
+ if (val < lptr[mid].low) {
202
+ high = mid - 1;
203
+ } else {
204
+ if (val > lptr[mid].high) {
205
+ low = mid + 1;
206
+ } else {
207
+ return 1;
208
+ }
209
+ }
210
+ }
211
+ }
212
+ return 0;
213
+ }
214
+
215
+
216
+ /**
217
+ * xmlIsBaseChar:
218
+ * @ch: character to validate
219
+ *
220
+ * This function is DEPRECATED.
221
+ * Use xmlIsBaseChar_ch or xmlIsBaseCharQ instead
222
+ *
223
+ * Returns true if argument valid, false otherwise
224
+ */
225
+ int
226
+ xmlIsBaseChar(unsigned int ch) {
227
+ return(xmlIsBaseCharQ(ch));
228
+ }
229
+
230
+
231
+ /**
232
+ * xmlIsBlank:
233
+ * @ch: character to validate
234
+ *
235
+ * This function is DEPRECATED.
236
+ * Use xmlIsBlank_ch or xmlIsBlankQ instead
237
+ *
238
+ * Returns true if argument valid, false otherwise
239
+ */
240
+ int
241
+ xmlIsBlank(unsigned int ch) {
242
+ return(xmlIsBlankQ(ch));
243
+ }
244
+
245
+
246
+ /**
247
+ * xmlIsChar:
248
+ * @ch: character to validate
249
+ *
250
+ * This function is DEPRECATED.
251
+ * Use xmlIsChar_ch or xmlIsCharQ instead
252
+ *
253
+ * Returns true if argument valid, false otherwise
254
+ */
255
+ int
256
+ xmlIsChar(unsigned int ch) {
257
+ return(xmlIsCharQ(ch));
258
+ }
259
+
260
+
261
+ /**
262
+ * xmlIsCombining:
263
+ * @ch: character to validate
264
+ *
265
+ * This function is DEPRECATED.
266
+ * Use xmlIsCombiningQ instead
267
+ *
268
+ * Returns true if argument valid, false otherwise
269
+ */
270
+ int
271
+ xmlIsCombining(unsigned int ch) {
272
+ return(xmlIsCombiningQ(ch));
273
+ }
274
+
275
+
276
+ /**
277
+ * xmlIsDigit:
278
+ * @ch: character to validate
279
+ *
280
+ * This function is DEPRECATED.
281
+ * Use xmlIsDigit_ch or xmlIsDigitQ instead
282
+ *
283
+ * Returns true if argument valid, false otherwise
284
+ */
285
+ int
286
+ xmlIsDigit(unsigned int ch) {
287
+ return(xmlIsDigitQ(ch));
288
+ }
289
+
290
+
291
+ /**
292
+ * xmlIsExtender:
293
+ * @ch: character to validate
294
+ *
295
+ * This function is DEPRECATED.
296
+ * Use xmlIsExtender_ch or xmlIsExtenderQ instead
297
+ *
298
+ * Returns true if argument valid, false otherwise
299
+ */
300
+ int
301
+ xmlIsExtender(unsigned int ch) {
302
+ return(xmlIsExtenderQ(ch));
303
+ }
304
+
305
+
306
+ /**
307
+ * xmlIsIdeographic:
308
+ * @ch: character to validate
309
+ *
310
+ * This function is DEPRECATED.
311
+ * Use xmlIsIdeographicQ instead
312
+ *
313
+ * Returns true if argument valid, false otherwise
314
+ */
315
+ int
316
+ xmlIsIdeographic(unsigned int ch) {
317
+ return(xmlIsIdeographicQ(ch));
318
+ }
319
+
320
+
321
+ /**
322
+ * xmlIsPubidChar:
323
+ * @ch: character to validate
324
+ *
325
+ * This function is DEPRECATED.
326
+ * Use xmlIsPubidChar_ch or xmlIsPubidCharQ instead
327
+ *
328
+ * Returns true if argument valid, false otherwise
329
+ */
330
+ int
331
+ xmlIsPubidChar(unsigned int ch) {
332
+ return(xmlIsPubidCharQ(ch));
333
+ }
334
+
335
+ #define bottom_chvalid
336
+ #include "elfgcchack.h"
@@ -0,0 +1,294 @@
1
+ /* config.h. Generated from config.h.in by configure. */
2
+ /* config.h.in. Generated from configure.ac by autoheader. */
3
+
4
+ /* Type cast for the gethostbyname() argument */
5
+ #define GETHOSTBYNAME_ARG_CAST /**/
6
+
7
+ /* Define to 1 if you have the <arpa/inet.h> header file. */
8
+ #define HAVE_ARPA_INET_H 1
9
+
10
+ /* Define to 1 if you have the <arpa/nameser.h> header file. */
11
+ #define HAVE_ARPA_NAMESER_H 1
12
+
13
+ /* Whether struct sockaddr::__ss_family exists */
14
+ /* #undef HAVE_BROKEN_SS_FAMILY */
15
+
16
+ /* Define to 1 if you have the <ctype.h> header file. */
17
+ #define HAVE_CTYPE_H 1
18
+
19
+ /* Define to 1 if you have the <dirent.h> header file. */
20
+ #define HAVE_DIRENT_H 1
21
+
22
+ /* Define to 1 if you have the <dlfcn.h> header file. */
23
+ #define HAVE_DLFCN_H 1
24
+
25
+ /* Have dlopen based dso */
26
+ #define HAVE_DLOPEN /**/
27
+
28
+ /* Define to 1 if you have the <dl.h> header file. */
29
+ /* #undef HAVE_DL_H */
30
+
31
+ /* Define to 1 if you have the <errno.h> header file. */
32
+ #define HAVE_ERRNO_H 1
33
+
34
+ /* Define to 1 if you have the <fcntl.h> header file. */
35
+ #define HAVE_FCNTL_H 1
36
+
37
+ /* Define to 1 if you have the <float.h> header file. */
38
+ #define HAVE_FLOAT_H 1
39
+
40
+ /* Define to 1 if you have the `fprintf' function. */
41
+ #define HAVE_FPRINTF 1
42
+
43
+ /* Define to 1 if you have the `ftime' function. */
44
+ #define HAVE_FTIME 1
45
+
46
+ /* Define if getaddrinfo is there */
47
+ #define HAVE_GETADDRINFO /**/
48
+
49
+ /* Define to 1 if you have the `gettimeofday' function. */
50
+ #define HAVE_GETTIMEOFDAY 1
51
+
52
+ /* Define to 1 if you have the <inttypes.h> header file. */
53
+ #define HAVE_INTTYPES_H 1
54
+
55
+ /* Define to 1 if you have the `isascii' function. */
56
+ #define HAVE_ISASCII 1
57
+
58
+ /* Define if isinf is there */
59
+ #define HAVE_ISINF /**/
60
+
61
+ /* Define if isnan is there */
62
+ #define HAVE_ISNAN /**/
63
+
64
+ /* Define if history library is there (-lhistory) */
65
+ /* #undef HAVE_LIBHISTORY */
66
+
67
+ /* Define if pthread library is there (-lpthread) */
68
+ #define HAVE_LIBPTHREAD /**/
69
+
70
+ /* Define if readline library is there (-lreadline) */
71
+ /* #undef HAVE_LIBREADLINE */
72
+
73
+ /* Define to 1 if you have the <limits.h> header file. */
74
+ #define HAVE_LIMITS_H 1
75
+
76
+ /* Define to 1 if you have the `localtime' function. */
77
+ #define HAVE_LOCALTIME 1
78
+
79
+ /* Define to 1 if you have the <lzma.h> header file. */
80
+ /* #undef HAVE_LZMA_H */
81
+
82
+ /* Define to 1 if you have the <malloc.h> header file. */
83
+ /* #define HAVE_MALLOC_H */
84
+
85
+ /* Define to 1 if you have the <math.h> header file. */
86
+ #define HAVE_MATH_H 1
87
+
88
+ /* Define to 1 if you have the <memory.h> header file. */
89
+ #define HAVE_MEMORY_H 1
90
+
91
+ /* Define to 1 if you have the `mmap' function. */
92
+ #define HAVE_MMAP 1
93
+
94
+ /* Define to 1 if you have the `munmap' function. */
95
+ #define HAVE_MUNMAP 1
96
+
97
+ /* mmap() is no good without munmap() */
98
+ #if defined(HAVE_MMAP) && !defined(HAVE_MUNMAP)
99
+ #undef /**/ HAVE_MMAP
100
+ #endif
101
+
102
+ /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
103
+ /* #undef HAVE_NDIR_H */
104
+
105
+ /* Define to 1 if you have the <netdb.h> header file. */
106
+ #define HAVE_NETDB_H 1
107
+
108
+ /* Define to 1 if you have the <netinet/in.h> header file. */
109
+ #define HAVE_NETINET_IN_H 1
110
+
111
+ /* Define to 1 if you have the <poll.h> header file. */
112
+ #define HAVE_POLL_H 1
113
+
114
+ /* Define to 1 if you have the `printf' function. */
115
+ #define HAVE_PRINTF 1
116
+
117
+ /* Define if <pthread.h> is there */
118
+ /* #define HAVE_PTHREAD_H */
119
+
120
+ /* Define to 1 if you have the `putenv' function. */
121
+ #define HAVE_PUTENV 1
122
+
123
+ /* Define to 1 if you have the `rand' function. */
124
+ #define HAVE_RAND 1
125
+
126
+ /* Define to 1 if you have the `rand_r' function. */
127
+ #ifndef _WIN32
128
+ #define HAVE_RAND_R 1
129
+ #endif
130
+
131
+ /* Define to 1 if you have the <resolv.h> header file. */
132
+ #define HAVE_RESOLV_H 1
133
+
134
+ /* Have shl_load based dso */
135
+ /* #undef HAVE_SHLLOAD */
136
+
137
+ /* Define to 1 if you have the `signal' function. */
138
+ #define HAVE_SIGNAL 1
139
+
140
+ /* Define to 1 if you have the <signal.h> header file. */
141
+ #define HAVE_SIGNAL_H 1
142
+
143
+ /* snprintf macro for older MSVS versions */
144
+ #if defined(_WIN32) && _MSC_VER < 1900
145
+ #define snprintf _snprintf
146
+ #endif
147
+
148
+ /* Define to 1 if you have the `snprintf' function. */
149
+ #define HAVE_SNPRINTF 1
150
+
151
+ /* Define to 1 if you have the `sprintf' function. */
152
+ #define HAVE_SPRINTF 1
153
+
154
+ /* Define to 1 if you have the `srand' function. */
155
+ #define HAVE_SRAND 1
156
+
157
+ /* Define to 1 if you have the `sscanf' function. */
158
+ #define HAVE_SSCANF 1
159
+
160
+ /* Define to 1 if you have the `stat' function. */
161
+ #define HAVE_STAT 1
162
+
163
+ /* Define to 1 if you have the <stdarg.h> header file. */
164
+ #define HAVE_STDARG_H 1
165
+
166
+ /* Define to 1 if you have the <stdint.h> header file. */
167
+ #define HAVE_STDINT_H 1
168
+
169
+ /* Define to 1 if you have the <stdlib.h> header file. */
170
+ #define HAVE_STDLIB_H 1
171
+
172
+ /* Define to 1 if you have the `strftime' function. */
173
+ #define HAVE_STRFTIME 1
174
+
175
+ /* Define to 1 if you have the <strings.h> header file. */
176
+ #define HAVE_STRINGS_H 1
177
+
178
+ /* Define to 1 if you have the <string.h> header file. */
179
+ #define HAVE_STRING_H 1
180
+
181
+ /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
182
+ */
183
+ /* #undef HAVE_SYS_DIR_H */
184
+
185
+ /* Define to 1 if you have the <sys/mman.h> header file. */
186
+ #define HAVE_SYS_MMAN_H 1
187
+
188
+ /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
189
+ */
190
+ /* #undef HAVE_SYS_NDIR_H */
191
+
192
+ /* Define to 1 if you have the <sys/select.h> header file. */
193
+ #define HAVE_SYS_SELECT_H 1
194
+
195
+ /* Define to 1 if you have the <sys/socket.h> header file. */
196
+ #define HAVE_SYS_SOCKET_H 1
197
+
198
+ /* Define to 1 if you have the <sys/stat.h> header file. */
199
+ #define HAVE_SYS_STAT_H 1
200
+
201
+ /* Define to 1 if you have the <sys/timeb.h> header file. */
202
+ #define HAVE_SYS_TIMEB_H 1
203
+
204
+ /* Define to 1 if you have the <sys/time.h> header file. */
205
+ #define HAVE_SYS_TIME_H 1
206
+
207
+ /* Define to 1 if you have the <sys/types.h> header file. */
208
+ #define HAVE_SYS_TYPES_H 1
209
+
210
+ /* Define to 1 if you have the `time' function. */
211
+ #define HAVE_TIME 1
212
+
213
+ /* Define to 1 if you have the <time.h> header file. */
214
+ #define HAVE_TIME_H 1
215
+
216
+ /* Define to 1 if you have the <unistd.h> header file. */
217
+ #ifndef _WIN32
218
+ #define HAVE_UNISTD_H 1
219
+ #endif
220
+
221
+ /* Whether va_copy() is available */
222
+ #define HAVE_VA_COPY 1
223
+
224
+ /* Define to 1 if you have the `vfprintf' function. */
225
+ #define HAVE_VFPRINTF 1
226
+
227
+ /* Define to 1 if you have the `vsnprintf' function. */
228
+ #define HAVE_VSNPRINTF 1
229
+
230
+ /* Define to 1 if you have the `vsprintf' function. */
231
+ #define HAVE_VSPRINTF 1
232
+
233
+ /* Define to 1 if you have the <zlib.h> header file. */
234
+ /* #undef HAVE_ZLIB_H */
235
+
236
+ /* Whether __va_copy() is available */
237
+ /* #undef HAVE___VA_COPY */
238
+
239
+ /* Define as const if the declaration of iconv() needs const. */
240
+ #define ICONV_CONST
241
+
242
+ /* Define to the sub-directory where libtool stores uninstalled libraries. */
243
+ #define LT_OBJDIR ".libs/"
244
+
245
+ /* Name of package */
246
+ #define PACKAGE "libxml2"
247
+
248
+ /* Define to the address where bug reports for this package should be sent. */
249
+ #define PACKAGE_BUGREPORT ""
250
+
251
+ /* Define to the full name of this package. */
252
+ #define PACKAGE_NAME ""
253
+
254
+ /* Define to the full name and version of this package. */
255
+ #define PACKAGE_STRING ""
256
+
257
+ /* Define to the one symbol short name of this package. */
258
+ #define PACKAGE_TARNAME ""
259
+
260
+ /* Define to the home page for this package. */
261
+ #define PACKAGE_URL ""
262
+
263
+ /* Define to the version of this package. */
264
+ #define PACKAGE_VERSION ""
265
+
266
+ /* Type cast for the send() function 2nd arg */
267
+ #define SEND_ARG2_CAST /**/
268
+
269
+ /* Define to 1 if you have the ANSI C header files. */
270
+ #define STDC_HEADERS 1
271
+
272
+ /* Support for IPv6 */
273
+ #define SUPPORT_IP6 /**/
274
+
275
+ /* Define if va_list is an array type */
276
+ #define VA_LIST_IS_ARRAY 1
277
+
278
+ /* Version number of package */
279
+ #define VERSION "2.9.9"
280
+
281
+ /* Determine what socket length (socklen_t) data type is */
282
+ #define XML_SOCKLEN_T socklen_t
283
+
284
+ /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
285
+ <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
286
+ #define below would cause a syntax error. */
287
+ /* #undef _UINT32_T */
288
+
289
+ /* ss_family is not defined here, use __ss_family instead */
290
+ /* #undef ss_family */
291
+
292
+ /* Define to the type of an unsigned integer type of width exactly 32 bits if
293
+ such a type exists and the standard includes do not define it. */
294
+ /* #undef uint32_t */
Binary file