1 | #ifndef XML_ENTITIES_H_PRIVATE__
|
---|
2 | #define XML_ENTITIES_H_PRIVATE__
|
---|
3 |
|
---|
4 | #include <libxml/tree.h>
|
---|
5 | #include <libxml/xmlstring.h>
|
---|
6 |
|
---|
7 | /*
|
---|
8 | * Entity flags
|
---|
9 | *
|
---|
10 | * XML_ENT_PARSED: The entity was parsed and `children` points to the
|
---|
11 | * content.
|
---|
12 | *
|
---|
13 | * XML_ENT_CHECKED: The entity was checked for loops and amplification.
|
---|
14 | * expandedSize was set.
|
---|
15 | *
|
---|
16 | * XML_ENT_VALIDATED: The entity contains a valid attribute value.
|
---|
17 | * Only used when entities aren't substituted.
|
---|
18 | */
|
---|
19 | #define XML_ENT_PARSED (1u << 0)
|
---|
20 | #define XML_ENT_CHECKED (1u << 1)
|
---|
21 | #define XML_ENT_VALIDATED (1u << 2)
|
---|
22 | #define XML_ENT_EXPANDING (1u << 3)
|
---|
23 |
|
---|
24 | XML_HIDDEN xmlChar *
|
---|
25 | xmlEncodeAttributeEntities(xmlDocPtr doc, const xmlChar *input);
|
---|
26 |
|
---|
27 | #endif /* XML_ENTITIES_H_PRIVATE__ */
|
---|