$63 GRAYBYTE WORDPRESS FILE MANAGER $58

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/include/libxml2/libxml/

HOME
Current File : /usr/include/libxml2/libxml//entities.h
/*
 * Summary: interface for the XML entities handling
 * Description: this module provides some of the entity API needed
 *              for the parser and applications.
 *
 * Copy: See Copyright for the status of this software.
 *
 * Author: Daniel Veillard
 */

#ifndef __XML_ENTITIES_H__
#define __XML_ENTITIES_H__

#include <libxml/xmlversion.h>
#include <libxml/tree.h>

#ifdef __cplusplus
extern "C" {
#endif

/*
 * The different valid entity types.
 */
typedef enum {
    XML_INTERNAL_GENERAL_ENTITY = 1,
    XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2,
    XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3,
    XML_INTERNAL_PARAMETER_ENTITY = 4,
    XML_EXTERNAL_PARAMETER_ENTITY = 5,
    XML_INTERNAL_PREDEFINED_ENTITY = 6
} xmlEntityType;

typedef enum {
  XML_ENTITY_NOT_BEING_CHECKED,
  XML_ENTITY_BEING_CHECKED              /* entity check is in progress */
} xmlEntityRecursionGuard;

/*
 * An unit of storage for an entity, contains the string, the value
 * and the linkind data needed for the linking in the hash table.
 */

struct _xmlEntity {
    void           *_private;	        /* application data */
    xmlElementType          type;       /* XML_ENTITY_DECL, must be second ! */
    const xmlChar          *name;	/* Entity name */
    struct _xmlNode    *children;	/* First child link */
    struct _xmlNode        *last;	/* Last child link */
    struct _xmlDtd       *parent;	/* -> DTD */
    struct _xmlNode        *next;	/* next sibling link  */
    struct _xmlNode        *prev;	/* previous sibling link  */
    struct _xmlDoc          *doc;       /* the containing document */

    xmlChar                *orig;	/* content without ref substitution */
    xmlChar             *content;	/* content or ndata if unparsed */
    int                   length;	/* the content length */
    xmlEntityType          etype;	/* The entity type */
    const xmlChar    *ExternalID;	/* External identifier for PUBLIC */
    const xmlChar      *SystemID;	/* URI for a SYSTEM or PUBLIC Entity */

    struct _xmlEntity     *nexte;	/* unused */
    const xmlChar           *URI;	/* the full URI as computed */
    int                    owner;	/* does the entity own the childrens */
    int			 checked;	/* was the entity content checked */
					/* this is also used to count entities
					 * references done from that entity
					 * and if it contains '<' */
     xmlEntityRecursionGuard guard;
};

/*
 * All entities are stored in an hash table.
 * There is 2 separate hash tables for global and parameter entities.
 */

typedef struct _xmlHashTable xmlEntitiesTable;
typedef xmlEntitiesTable *xmlEntitiesTablePtr;

/*
 * External functions:
 */

#ifdef LIBXML_LEGACY_ENABLED
XMLPUBFUN void XMLCALL
		xmlInitializePredefinedEntities	(void);
#endif /* LIBXML_LEGACY_ENABLED */

XMLPUBFUN xmlEntityPtr XMLCALL
			xmlNewEntity		(xmlDocPtr doc,
						 const xmlChar *name,
						 int type,
						 const xmlChar *ExternalID,
						 const xmlChar *SystemID,
						 const xmlChar *content);
XMLPUBFUN xmlEntityPtr XMLCALL
			xmlAddDocEntity		(xmlDocPtr doc,
						 const xmlChar *name,
						 int type,
						 const xmlChar *ExternalID,
						 const xmlChar *SystemID,
						 const xmlChar *content);
XMLPUBFUN xmlEntityPtr XMLCALL
			xmlAddDtdEntity		(xmlDocPtr doc,
						 const xmlChar *name,
						 int type,
						 const xmlChar *ExternalID,
						 const xmlChar *SystemID,
						 const xmlChar *content);
XMLPUBFUN xmlEntityPtr XMLCALL
			xmlGetPredefinedEntity	(const xmlChar *name);
XMLPUBFUN xmlEntityPtr XMLCALL
			xmlGetDocEntity		(const xmlDoc *doc,
						 const xmlChar *name);
XMLPUBFUN xmlEntityPtr XMLCALL
			xmlGetDtdEntity		(xmlDocPtr doc,
						 const xmlChar *name);
XMLPUBFUN xmlEntityPtr XMLCALL
			xmlGetParameterEntity	(xmlDocPtr doc,
						 const xmlChar *name);
#ifdef LIBXML_LEGACY_ENABLED
XMLPUBFUN const xmlChar * XMLCALL
			xmlEncodeEntities	(xmlDocPtr doc,
						 const xmlChar *input);
#endif /* LIBXML_LEGACY_ENABLED */
XMLPUBFUN xmlChar * XMLCALL
			xmlEncodeEntitiesReentrant(xmlDocPtr doc,
						 const xmlChar *input);
XMLPUBFUN xmlChar * XMLCALL
			xmlEncodeSpecialChars	(const xmlDoc *doc,
						 const xmlChar *input);
XMLPUBFUN xmlEntitiesTablePtr XMLCALL
			xmlCreateEntitiesTable	(void);
#ifdef LIBXML_TREE_ENABLED
XMLPUBFUN xmlEntitiesTablePtr XMLCALL
			xmlCopyEntitiesTable	(xmlEntitiesTablePtr table);
#endif /* LIBXML_TREE_ENABLED */
XMLPUBFUN void XMLCALL
			xmlFreeEntitiesTable	(xmlEntitiesTablePtr table);
#ifdef LIBXML_OUTPUT_ENABLED
XMLPUBFUN void XMLCALL
			xmlDumpEntitiesTable	(xmlBufferPtr buf,
						 xmlEntitiesTablePtr table);
XMLPUBFUN void XMLCALL
			xmlDumpEntityDecl	(xmlBufferPtr buf,
						 xmlEntityPtr ent);
#endif /* LIBXML_OUTPUT_ENABLED */
#ifdef LIBXML_LEGACY_ENABLED
XMLPUBFUN void XMLCALL
			xmlCleanupPredefinedEntities(void);
#endif /* LIBXML_LEGACY_ENABLED */


#ifdef __cplusplus
}
#endif

# endif /* __XML_ENTITIES_H__ */

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
1 Jan 1970 8.00 AM
root / root
0
DOCBparser.h
3.083 KB
7 Jun 2016 5.04 PM
root / root
0644
HTMLparser.h
9.189 KB
23 Jul 2017 12.10 PM
root / root
0644
HTMLtree.h
3.561 KB
7 Jun 2016 5.04 PM
root / root
0644
SAX.h
4.239 KB
7 Jun 2016 5.04 PM
root / root
0644
SAX2.h
4.833 KB
7 Jun 2016 5.04 PM
root / root
0644
c14n.h
3.036 KB
7 Jun 2016 5.04 PM
root / root
0644
catalog.h
4.79 KB
7 Jun 2016 5.04 PM
root / root
0644
chvalid.h
5.038 KB
30 Jul 2009 10.24 PM
root / root
0644
debugXML.h
5.031 KB
7 Jun 2016 5.04 PM
root / root
0644
dict.h
1.909 KB
7 Jun 2016 5.04 PM
root / root
0644
encoding.h
8.106 KB
7 Jun 2016 5.04 PM
root / root
0644
entities.h
4.782 KB
6 Aug 2025 8.59 PM
root / root
0644
globals.h
14.35 KB
7 Jun 2016 5.04 PM
root / root
0644
hash.h
6.34 KB
7 Jun 2016 5.04 PM
root / root
0644
list.h
3.287 KB
7 Jun 2016 5.04 PM
root / root
0644
nanoftp.h
3.67 KB
26 Oct 2017 2.54 PM
root / root
0644
nanohttp.h
1.958 KB
7 Jun 2016 5.04 PM
root / root
0644
parser.h
38.786 KB
23 Jul 2017 12.10 PM
root / root
0644
parserInternals.h
17.01 KB
7 Jun 2016 5.04 PM
root / root
0644
pattern.h
2.525 KB
30 Jul 2009 10.24 PM
root / root
0644
relaxng.h
5.855 KB
7 Jun 2016 5.04 PM
root / root
0644
schemasInternals.h
25.628 KB
23 Jul 2017 12.10 PM
root / root
0644
schematron.h
4.269 KB
7 Jun 2016 5.04 PM
root / root
0644
threads.h
1.912 KB
26 Oct 2017 2.54 PM
root / root
0644
tree.h
38.107 KB
6 Aug 2025 8.59 PM
root / root
0644
uri.h
2.602 KB
7 Jun 2016 12.44 PM
root / root
0644
valid.h
13.303 KB
7 Jun 2016 5.04 PM
root / root
0644
xinclude.h
2.897 KB
7 Jun 2016 12.44 PM
root / root
0644
xlink.h
4.922 KB
7 Jun 2016 5.04 PM
root / root
0644
xmlIO.h
10.362 KB
23 Jul 2017 12.10 PM
root / root
0644
xmlautomata.h
3.863 KB
7 Jun 2016 5.04 PM
root / root
0644
xmlerror.h
35.945 KB
23 Jul 2017 12.10 PM
root / root
0644
xmlexports.h
3.828 KB
7 Jun 2016 5.04 PM
root / root
0644
xmlmemory.h
5.806 KB
7 Jun 2016 12.44 PM
root / root
0644
xmlmodule.h
1.143 KB
7 Jun 2016 5.04 PM
root / root
0644
xmlreader.h
12.312 KB
23 Jul 2017 12.10 PM
root / root
0644
xmlregexp.h
5.33 KB
7 Jun 2016 12.44 PM
root / root
0644
xmlsave.h
2.282 KB
7 Jun 2016 5.04 PM
root / root
0644
xmlschemas.h
6.903 KB
7 Jun 2016 5.04 PM
root / root
0644
xmlschemastypes.h
4.728 KB
7 Jun 2016 5.04 PM
root / root
0644
xmlstring.h
5.382 KB
7 Jun 2016 5.04 PM
root / root
0644
xmlunicode.h
9.759 KB
30 Jul 2009 10.24 PM
root / root
0644
xmlversion.h
7.953 KB
6 Aug 2025 8.59 PM
root / root
0644
xmlwriter.h
20.767 KB
7 Jun 2016 5.04 PM
root / root
0644
xpath.h
16.014 KB
7 Jun 2016 5.04 PM
root / root
0644
xpathInternals.h
18.899 KB
7 Jun 2016 5.04 PM
root / root
0644
xpointer.h
3.28 KB
7 Jun 2016 5.04 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF