VirtualBox

source: vbox/trunk/src/libs/libxml2-2.13.2/include/libxml/parserInternals.h

Last change on this file was 105420, checked in by vboxsync, 10 months ago

libxml2-2.12.6: Applied and adjusted our libxml2 changes to 2.12.6. bugref:10730

  • Property svn:eol-style set to native
File size: 16.4 KB
Line 
1/*
2 * Summary: internals routines and limits exported by the parser.
3 * Description: this module exports a number of internal parsing routines
4 * they are not really all intended for applications but
5 * can prove useful doing low level processing.
6 *
7 * Copy: See Copyright for the status of this software.
8 *
9 * Author: Daniel Veillard
10 */
11
12#ifndef __XML_PARSER_INTERNALS_H__
13#define __XML_PARSER_INTERNALS_H__
14
15#include <libxml/xmlversion.h>
16#include <libxml/parser.h>
17#include <libxml/HTMLparser.h>
18#include <libxml/chvalid.h>
19#include <libxml/SAX2.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/**
26 * xmlParserMaxDepth:
27 *
28 * DEPRECATED: has no effect
29 *
30 * arbitrary depth limit for the XML documents that we allow to
31 * process. This is not a limitation of the parser but a safety
32 * boundary feature, use XML_PARSE_HUGE option to override it.
33 */
34XML_DEPRECATED
35XMLPUBVAR const unsigned int xmlParserMaxDepth;
36
37/**
38 * XML_MAX_TEXT_LENGTH:
39 *
40 * Maximum size allowed for a single text node when building a tree.
41 * This is not a limitation of the parser but a safety boundary feature,
42 * use XML_PARSE_HUGE option to override it.
43 * Introduced in 2.9.0
44 */
45#define XML_MAX_TEXT_LENGTH 10000000
46
47/**
48 * XML_MAX_HUGE_LENGTH:
49 *
50 * Maximum size allowed when XML_PARSE_HUGE is set.
51 */
52#define XML_MAX_HUGE_LENGTH 1000000000
53
54/**
55 * XML_MAX_NAME_LENGTH:
56 *
57 * Maximum size allowed for a markup identifier.
58 * This is not a limitation of the parser but a safety boundary feature,
59 * use XML_PARSE_HUGE option to override it.
60 * Note that with the use of parsing dictionaries overriding the limit
61 * may result in more runtime memory usage in face of "unfriendly' content
62 * Introduced in 2.9.0
63 */
64#define XML_MAX_NAME_LENGTH 50000
65
66/**
67 * XML_MAX_DICTIONARY_LIMIT:
68 *
69 * Maximum size allowed by the parser for a dictionary by default
70 * This is not a limitation of the parser but a safety boundary feature,
71 * use XML_PARSE_HUGE option to override it.
72 * Introduced in 2.9.0
73 */
74#define XML_MAX_DICTIONARY_LIMIT 10000000
75
76/**
77 * XML_MAX_LOOKUP_LIMIT:
78 *
79 * Maximum size allowed by the parser for ahead lookup
80 * This is an upper boundary enforced by the parser to avoid bad
81 * behaviour on "unfriendly' content
82 * Introduced in 2.9.0
83 */
84#define XML_MAX_LOOKUP_LIMIT 10000000
85
86/**
87 * XML_MAX_NAMELEN:
88 *
89 * Identifiers can be longer, but this will be more costly
90 * at runtime.
91 */
92#define XML_MAX_NAMELEN 100
93
94/**
95 * INPUT_CHUNK:
96 *
97 * The parser tries to always have that amount of input ready.
98 * One of the point is providing context when reporting errors.
99 */
100#define INPUT_CHUNK 250
101
102/************************************************************************
103 * *
104 * UNICODE version of the macros. *
105 * *
106 ************************************************************************/
107/**
108 * IS_BYTE_CHAR:
109 * @c: an byte value (int)
110 *
111 * Macro to check the following production in the XML spec:
112 *
113 * [2] Char ::= #x9 | #xA | #xD | [#x20...]
114 * any byte character in the accepted range
115 */
116#define IS_BYTE_CHAR(c) xmlIsChar_ch(c)
117
118/**
119 * IS_CHAR:
120 * @c: an UNICODE value (int)
121 *
122 * Macro to check the following production in the XML spec:
123 *
124 * [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD]
125 * | [#x10000-#x10FFFF]
126 * any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
127 */
128#define IS_CHAR(c) xmlIsCharQ(c)
129
130/**
131 * IS_CHAR_CH:
132 * @c: an xmlChar (usually an unsigned char)
133 *
134 * Behaves like IS_CHAR on single-byte value
135 */
136#define IS_CHAR_CH(c) xmlIsChar_ch(c)
137
138/**
139 * IS_BLANK:
140 * @c: an UNICODE value (int)
141 *
142 * Macro to check the following production in the XML spec:
143 *
144 * [3] S ::= (#x20 | #x9 | #xD | #xA)+
145 */
146#define IS_BLANK(c) xmlIsBlankQ(c)
147
148/**
149 * IS_BLANK_CH:
150 * @c: an xmlChar value (normally unsigned char)
151 *
152 * Behaviour same as IS_BLANK
153 */
154#define IS_BLANK_CH(c) xmlIsBlank_ch(c)
155
156/**
157 * IS_BASECHAR:
158 * @c: an UNICODE value (int)
159 *
160 * Macro to check the following production in the XML spec:
161 *
162 * [85] BaseChar ::= ... long list see REC ...
163 */
164#define IS_BASECHAR(c) xmlIsBaseCharQ(c)
165
166/**
167 * IS_DIGIT:
168 * @c: an UNICODE value (int)
169 *
170 * Macro to check the following production in the XML spec:
171 *
172 * [88] Digit ::= ... long list see REC ...
173 */
174#define IS_DIGIT(c) xmlIsDigitQ(c)
175
176/**
177 * IS_DIGIT_CH:
178 * @c: an xmlChar value (usually an unsigned char)
179 *
180 * Behaves like IS_DIGIT but with a single byte argument
181 */
182#define IS_DIGIT_CH(c) xmlIsDigit_ch(c)
183
184/**
185 * IS_COMBINING:
186 * @c: an UNICODE value (int)
187 *
188 * Macro to check the following production in the XML spec:
189 *
190 * [87] CombiningChar ::= ... long list see REC ...
191 */
192#define IS_COMBINING(c) xmlIsCombiningQ(c)
193
194/**
195 * IS_COMBINING_CH:
196 * @c: an xmlChar (usually an unsigned char)
197 *
198 * Always false (all combining chars > 0xff)
199 */
200#define IS_COMBINING_CH(c) 0
201
202/**
203 * IS_EXTENDER:
204 * @c: an UNICODE value (int)
205 *
206 * Macro to check the following production in the XML spec:
207 *
208 *
209 * [89] Extender ::= #x00B7 | #x02D0 | #x02D1 | #x0387 | #x0640 |
210 * #x0E46 | #x0EC6 | #x3005 | [#x3031-#x3035] |
211 * [#x309D-#x309E] | [#x30FC-#x30FE]
212 */
213#define IS_EXTENDER(c) xmlIsExtenderQ(c)
214
215/**
216 * IS_EXTENDER_CH:
217 * @c: an xmlChar value (usually an unsigned char)
218 *
219 * Behaves like IS_EXTENDER but with a single-byte argument
220 */
221#define IS_EXTENDER_CH(c) xmlIsExtender_ch(c)
222
223/**
224 * IS_IDEOGRAPHIC:
225 * @c: an UNICODE value (int)
226 *
227 * Macro to check the following production in the XML spec:
228 *
229 *
230 * [86] Ideographic ::= [#x4E00-#x9FA5] | #x3007 | [#x3021-#x3029]
231 */
232#define IS_IDEOGRAPHIC(c) xmlIsIdeographicQ(c)
233
234/**
235 * IS_LETTER:
236 * @c: an UNICODE value (int)
237 *
238 * Macro to check the following production in the XML spec:
239 *
240 *
241 * [84] Letter ::= BaseChar | Ideographic
242 */
243#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))
244
245/**
246 * IS_LETTER_CH:
247 * @c: an xmlChar value (normally unsigned char)
248 *
249 * Macro behaves like IS_LETTER, but only check base chars
250 *
251 */
252#define IS_LETTER_CH(c) xmlIsBaseChar_ch(c)
253
254/**
255 * IS_ASCII_LETTER:
256 * @c: an xmlChar value
257 *
258 * Macro to check [a-zA-Z]
259 *
260 */
261#define IS_ASCII_LETTER(c) (((0x41 <= (c)) && ((c) <= 0x5a)) || \
262 ((0x61 <= (c)) && ((c) <= 0x7a)))
263
264/**
265 * IS_ASCII_DIGIT:
266 * @c: an xmlChar value
267 *
268 * Macro to check [0-9]
269 *
270 */
271#define IS_ASCII_DIGIT(c) ((0x30 <= (c)) && ((c) <= 0x39))
272
273/**
274 * IS_PUBIDCHAR:
275 * @c: an UNICODE value (int)
276 *
277 * Macro to check the following production in the XML spec:
278 *
279 *
280 * [13] PubidChar ::= #x20 | #xD | #xA | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]
281 */
282#define IS_PUBIDCHAR(c) xmlIsPubidCharQ(c)
283
284/**
285 * IS_PUBIDCHAR_CH:
286 * @c: an xmlChar value (normally unsigned char)
287 *
288 * Same as IS_PUBIDCHAR but for single-byte value
289 */
290#define IS_PUBIDCHAR_CH(c) xmlIsPubidChar_ch(c)
291
292/**
293 * Global variables used for predefined strings.
294 */
295XMLPUBVAR const xmlChar xmlStringText[];
296XMLPUBVAR const xmlChar xmlStringTextNoenc[];
297XMLPUBVAR const xmlChar xmlStringComment[];
298
299/*
300 * Function to finish the work of the macros where needed.
301 */
302XMLPUBFUN int xmlIsLetter (int c);
303
304/**
305 * Parser context.
306 */
307XMLPUBFUN xmlParserCtxtPtr
308 xmlCreateFileParserCtxt (const char *filename);
309XMLPUBFUN xmlParserCtxtPtr
310 xmlCreateURLParserCtxt (const char *filename,
311 int options);
312XMLPUBFUN xmlParserCtxtPtr
313 xmlCreateMemoryParserCtxt(const char *buffer,
314 int size);
315XMLPUBFUN xmlParserCtxtPtr
316 xmlCreateEntityParserCtxt(const xmlChar *URL,
317 const xmlChar *ID,
318 const xmlChar *base);
319XMLPUBFUN void
320 xmlCtxtErrMemory (xmlParserCtxtPtr ctxt);
321XMLPUBFUN int
322 xmlSwitchEncoding (xmlParserCtxtPtr ctxt,
323 xmlCharEncoding enc);
324XMLPUBFUN int
325 xmlSwitchEncodingName (xmlParserCtxtPtr ctxt,
326 const char *encoding);
327XMLPUBFUN int
328 xmlSwitchToEncoding (xmlParserCtxtPtr ctxt,
329 xmlCharEncodingHandlerPtr handler);
330XML_DEPRECATED
331XMLPUBFUN int
332 xmlSwitchInputEncoding (xmlParserCtxtPtr ctxt,
333 xmlParserInputPtr input,
334 xmlCharEncodingHandlerPtr handler);
335
336/**
337 * Input Streams.
338 */
339XMLPUBFUN xmlParserInputPtr
340 xmlNewStringInputStream (xmlParserCtxtPtr ctxt,
341 const xmlChar *buffer);
342XML_DEPRECATED
343XMLPUBFUN xmlParserInputPtr
344 xmlNewEntityInputStream (xmlParserCtxtPtr ctxt,
345 xmlEntityPtr entity);
346XMLPUBFUN int
347 xmlPushInput (xmlParserCtxtPtr ctxt,
348 xmlParserInputPtr input);
349XMLPUBFUN xmlChar
350 xmlPopInput (xmlParserCtxtPtr ctxt);
351XMLPUBFUN void
352 xmlFreeInputStream (xmlParserInputPtr input);
353XMLPUBFUN xmlParserInputPtr
354 xmlNewInputFromFile (xmlParserCtxtPtr ctxt,
355 const char *filename);
356XMLPUBFUN xmlParserInputPtr
357 xmlNewInputStream (xmlParserCtxtPtr ctxt);
358
359/**
360 * Namespaces.
361 */
362XMLPUBFUN xmlChar *
363 xmlSplitQName (xmlParserCtxtPtr ctxt,
364 const xmlChar *name,
365 xmlChar **prefix);
366
367/**
368 * Generic production rules.
369 */
370XML_DEPRECATED
371XMLPUBFUN const xmlChar *
372 xmlParseName (xmlParserCtxtPtr ctxt);
373XML_DEPRECATED
374XMLPUBFUN xmlChar *
375 xmlParseNmtoken (xmlParserCtxtPtr ctxt);
376XML_DEPRECATED
377XMLPUBFUN xmlChar *
378 xmlParseEntityValue (xmlParserCtxtPtr ctxt,
379 xmlChar **orig);
380XML_DEPRECATED
381XMLPUBFUN xmlChar *
382 xmlParseAttValue (xmlParserCtxtPtr ctxt);
383XML_DEPRECATED
384XMLPUBFUN xmlChar *
385 xmlParseSystemLiteral (xmlParserCtxtPtr ctxt);
386XML_DEPRECATED
387XMLPUBFUN xmlChar *
388 xmlParsePubidLiteral (xmlParserCtxtPtr ctxt);
389XML_DEPRECATED
390XMLPUBFUN void
391 xmlParseCharData (xmlParserCtxtPtr ctxt,
392 int cdata);
393XML_DEPRECATED
394XMLPUBFUN xmlChar *
395 xmlParseExternalID (xmlParserCtxtPtr ctxt,
396 xmlChar **publicID,
397 int strict);
398XML_DEPRECATED
399XMLPUBFUN void
400 xmlParseComment (xmlParserCtxtPtr ctxt);
401XML_DEPRECATED
402XMLPUBFUN const xmlChar *
403 xmlParsePITarget (xmlParserCtxtPtr ctxt);
404XML_DEPRECATED
405XMLPUBFUN void
406 xmlParsePI (xmlParserCtxtPtr ctxt);
407XML_DEPRECATED
408XMLPUBFUN void
409 xmlParseNotationDecl (xmlParserCtxtPtr ctxt);
410XML_DEPRECATED
411XMLPUBFUN void
412 xmlParseEntityDecl (xmlParserCtxtPtr ctxt);
413XML_DEPRECATED
414XMLPUBFUN int
415 xmlParseDefaultDecl (xmlParserCtxtPtr ctxt,
416 xmlChar **value);
417XML_DEPRECATED
418XMLPUBFUN xmlEnumerationPtr
419 xmlParseNotationType (xmlParserCtxtPtr ctxt);
420XML_DEPRECATED
421XMLPUBFUN xmlEnumerationPtr
422 xmlParseEnumerationType (xmlParserCtxtPtr ctxt);
423XML_DEPRECATED
424XMLPUBFUN int
425 xmlParseEnumeratedType (xmlParserCtxtPtr ctxt,
426 xmlEnumerationPtr *tree);
427XML_DEPRECATED
428XMLPUBFUN int
429 xmlParseAttributeType (xmlParserCtxtPtr ctxt,
430 xmlEnumerationPtr *tree);
431XML_DEPRECATED
432XMLPUBFUN void
433 xmlParseAttributeListDecl(xmlParserCtxtPtr ctxt);
434XML_DEPRECATED
435XMLPUBFUN xmlElementContentPtr
436 xmlParseElementMixedContentDecl
437 (xmlParserCtxtPtr ctxt,
438 int inputchk);
439XML_DEPRECATED
440XMLPUBFUN xmlElementContentPtr
441 xmlParseElementChildrenContentDecl
442 (xmlParserCtxtPtr ctxt,
443 int inputchk);
444XML_DEPRECATED
445XMLPUBFUN int
446 xmlParseElementContentDecl(xmlParserCtxtPtr ctxt,
447 const xmlChar *name,
448 xmlElementContentPtr *result);
449XML_DEPRECATED
450XMLPUBFUN int
451 xmlParseElementDecl (xmlParserCtxtPtr ctxt);
452XML_DEPRECATED
453XMLPUBFUN void
454 xmlParseMarkupDecl (xmlParserCtxtPtr ctxt);
455XML_DEPRECATED
456XMLPUBFUN int
457 xmlParseCharRef (xmlParserCtxtPtr ctxt);
458XML_DEPRECATED
459XMLPUBFUN xmlEntityPtr
460 xmlParseEntityRef (xmlParserCtxtPtr ctxt);
461XML_DEPRECATED
462XMLPUBFUN void
463 xmlParseReference (xmlParserCtxtPtr ctxt);
464XML_DEPRECATED
465XMLPUBFUN void
466 xmlParsePEReference (xmlParserCtxtPtr ctxt);
467XML_DEPRECATED
468XMLPUBFUN void
469 xmlParseDocTypeDecl (xmlParserCtxtPtr ctxt);
470#ifdef LIBXML_SAX1_ENABLED
471XML_DEPRECATED
472XMLPUBFUN const xmlChar *
473 xmlParseAttribute (xmlParserCtxtPtr ctxt,
474 xmlChar **value);
475XML_DEPRECATED
476XMLPUBFUN const xmlChar *
477 xmlParseStartTag (xmlParserCtxtPtr ctxt);
478XML_DEPRECATED
479XMLPUBFUN void
480 xmlParseEndTag (xmlParserCtxtPtr ctxt);
481#endif /* LIBXML_SAX1_ENABLED */
482XML_DEPRECATED
483XMLPUBFUN void
484 xmlParseCDSect (xmlParserCtxtPtr ctxt);
485XMLPUBFUN void
486 xmlParseContent (xmlParserCtxtPtr ctxt);
487XML_DEPRECATED
488XMLPUBFUN void
489 xmlParseElement (xmlParserCtxtPtr ctxt);
490XML_DEPRECATED
491XMLPUBFUN xmlChar *
492 xmlParseVersionNum (xmlParserCtxtPtr ctxt);
493XML_DEPRECATED
494XMLPUBFUN xmlChar *
495 xmlParseVersionInfo (xmlParserCtxtPtr ctxt);
496XML_DEPRECATED
497XMLPUBFUN xmlChar *
498 xmlParseEncName (xmlParserCtxtPtr ctxt);
499XML_DEPRECATED
500XMLPUBFUN const xmlChar *
501 xmlParseEncodingDecl (xmlParserCtxtPtr ctxt);
502XML_DEPRECATED
503XMLPUBFUN int
504 xmlParseSDDecl (xmlParserCtxtPtr ctxt);
505XML_DEPRECATED
506XMLPUBFUN void
507 xmlParseXMLDecl (xmlParserCtxtPtr ctxt);
508XML_DEPRECATED
509XMLPUBFUN void
510 xmlParseTextDecl (xmlParserCtxtPtr ctxt);
511XML_DEPRECATED
512XMLPUBFUN void
513 xmlParseMisc (xmlParserCtxtPtr ctxt);
514XMLPUBFUN void
515 xmlParseExternalSubset (xmlParserCtxtPtr ctxt,
516 const xmlChar *ExternalID,
517 const xmlChar *SystemID);
518/**
519 * XML_SUBSTITUTE_NONE:
520 *
521 * If no entities need to be substituted.
522 */
523#define XML_SUBSTITUTE_NONE 0
524/**
525 * XML_SUBSTITUTE_REF:
526 *
527 * Whether general entities need to be substituted.
528 */
529#define XML_SUBSTITUTE_REF 1
530/**
531 * XML_SUBSTITUTE_PEREF:
532 *
533 * Whether parameter entities need to be substituted.
534 */
535#define XML_SUBSTITUTE_PEREF 2
536/**
537 * XML_SUBSTITUTE_BOTH:
538 *
539 * Both general and parameter entities need to be substituted.
540 */
541#define XML_SUBSTITUTE_BOTH 3
542
543XML_DEPRECATED
544XMLPUBFUN xmlChar *
545 xmlStringDecodeEntities (xmlParserCtxtPtr ctxt,
546 const xmlChar *str,
547 int what,
548 xmlChar end,
549 xmlChar end2,
550 xmlChar end3);
551XML_DEPRECATED
552XMLPUBFUN xmlChar *
553 xmlStringLenDecodeEntities (xmlParserCtxtPtr ctxt,
554 const xmlChar *str,
555 int len,
556 int what,
557 xmlChar end,
558 xmlChar end2,
559 xmlChar end3);
560
561/*
562 * Generated by MACROS on top of parser.c c.f. PUSH_AND_POP.
563 */
564XML_DEPRECATED
565XMLPUBFUN int nodePush (xmlParserCtxtPtr ctxt,
566 xmlNodePtr value);
567XML_DEPRECATED
568XMLPUBFUN xmlNodePtr nodePop (xmlParserCtxtPtr ctxt);
569XMLPUBFUN int inputPush (xmlParserCtxtPtr ctxt,
570 xmlParserInputPtr value);
571XMLPUBFUN xmlParserInputPtr inputPop (xmlParserCtxtPtr ctxt);
572XML_DEPRECATED
573XMLPUBFUN const xmlChar * namePop (xmlParserCtxtPtr ctxt);
574XML_DEPRECATED
575XMLPUBFUN int namePush (xmlParserCtxtPtr ctxt,
576 const xmlChar *value);
577
578/*
579 * other commodities shared between parser.c and parserInternals.
580 */
581XML_DEPRECATED
582XMLPUBFUN int xmlSkipBlankChars (xmlParserCtxtPtr ctxt);
583XML_DEPRECATED
584XMLPUBFUN int xmlStringCurrentChar (xmlParserCtxtPtr ctxt,
585 const xmlChar *cur,
586 int *len);
587XML_DEPRECATED
588XMLPUBFUN void xmlParserHandlePEReference(xmlParserCtxtPtr ctxt);
589XML_DEPRECATED
590XMLPUBFUN int xmlCheckLanguageID (const xmlChar *lang);
591
592/*
593 * Really core function shared with HTML parser.
594 */
595XML_DEPRECATED
596XMLPUBFUN int xmlCurrentChar (xmlParserCtxtPtr ctxt,
597 int *len);
598XMLPUBFUN int xmlCopyCharMultiByte (xmlChar *out,
599 int val);
600XMLPUBFUN int xmlCopyChar (int len,
601 xmlChar *out,
602 int val);
603XML_DEPRECATED
604XMLPUBFUN void xmlNextChar (xmlParserCtxtPtr ctxt);
605XML_DEPRECATED
606XMLPUBFUN void xmlParserInputShrink (xmlParserInputPtr in);
607
608/*
609 * Specific function to keep track of entities references
610 * and used by the XSLT debugger.
611 */
612#ifdef LIBXML_LEGACY_ENABLED
613/**
614 * xmlEntityReferenceFunc:
615 * @ent: the entity
616 * @firstNode: the fist node in the chunk
617 * @lastNode: the last nod in the chunk
618 *
619 * Callback function used when one needs to be able to track back the
620 * provenance of a chunk of nodes inherited from an entity replacement.
621 */
622typedef void (*xmlEntityReferenceFunc) (xmlEntityPtr ent,
623 xmlNodePtr firstNode,
624 xmlNodePtr lastNode);
625
626XML_DEPRECATED
627XMLPUBFUN void xmlSetEntityReferenceFunc (xmlEntityReferenceFunc func);
628
629XML_DEPRECATED
630XMLPUBFUN xmlChar *
631 xmlParseQuotedString (xmlParserCtxtPtr ctxt);
632XML_DEPRECATED
633XMLPUBFUN void
634 xmlParseNamespace (xmlParserCtxtPtr ctxt);
635XML_DEPRECATED
636XMLPUBFUN xmlChar *
637 xmlNamespaceParseNSDef (xmlParserCtxtPtr ctxt);
638XML_DEPRECATED
639XMLPUBFUN xmlChar *
640 xmlScanName (xmlParserCtxtPtr ctxt);
641XML_DEPRECATED
642XMLPUBFUN xmlChar *
643 xmlNamespaceParseNCName (xmlParserCtxtPtr ctxt);
644XML_DEPRECATED
645XMLPUBFUN void xmlParserHandleReference(xmlParserCtxtPtr ctxt);
646XML_DEPRECATED
647XMLPUBFUN xmlChar *
648 xmlNamespaceParseQName (xmlParserCtxtPtr ctxt,
649 xmlChar **prefix);
650/**
651 * Entities
652 */
653XML_DEPRECATED
654XMLPUBFUN xmlChar *
655 xmlDecodeEntities (xmlParserCtxtPtr ctxt,
656 int len,
657 int what,
658 xmlChar end,
659 xmlChar end2,
660 xmlChar end3);
661XML_DEPRECATED
662XMLPUBFUN void
663 xmlHandleEntity (xmlParserCtxtPtr ctxt,
664 xmlEntityPtr entity);
665
666#endif /* LIBXML_LEGACY_ENABLED */
667
668#ifdef __cplusplus
669}
670#endif
671#endif /* __XML_PARSER_INTERNALS_H__ */
Note: See TracBrowser for help on using the repository browser.

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