Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /usr/include/libxml2/libxml/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/include/libxml2/libxml/pattern.h
/*
 * Summary: pattern expression handling
 * Description: allows to compile and test pattern expressions for nodes
 *              either in a tree or based on a parser state.
 *
 * Copy: See Copyright for the status of this software.
 *
 * Author: Daniel Veillard
 */

#ifndef __XML_PATTERN_H__
#define __XML_PATTERN_H__

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

#ifdef LIBXML_PATTERN_ENABLED

#ifdef __cplusplus
extern "C" {
#endif

/**
 * xmlPattern:
 *
 * A compiled (XPath based) pattern to select nodes
 */
typedef struct _xmlPattern xmlPattern;
typedef xmlPattern *xmlPatternPtr;

/**
 * xmlPatternFlags:
 *
 * This is the set of options affecting the behaviour of pattern
 * matching with this module
 *
 */
typedef enum {
    XML_PATTERN_DEFAULT		= 0,	/* simple pattern match */
    XML_PATTERN_XPATH		= 1<<0,	/* standard XPath pattern */
    XML_PATTERN_XSSEL		= 1<<1,	/* XPath subset for schema selector */
    XML_PATTERN_XSFIELD		= 1<<2	/* XPath subset for schema field */
} xmlPatternFlags;

XMLPUBFUN void XMLCALL
			xmlFreePattern		(xmlPatternPtr comp);

XMLPUBFUN void XMLCALL
			xmlFreePatternList	(xmlPatternPtr comp);

XMLPUBFUN xmlPatternPtr XMLCALL
			xmlPatterncompile	(const xmlChar *pattern,
						 xmlDict *dict,
						 int flags,
						 const xmlChar **namespaces);
XMLPUBFUN int XMLCALL
			xmlPatternMatch		(xmlPatternPtr comp,
						 xmlNodePtr node);

/* streaming interfaces */
typedef struct _xmlStreamCtxt xmlStreamCtxt;
typedef xmlStreamCtxt *xmlStreamCtxtPtr;

XMLPUBFUN int XMLCALL
			xmlPatternStreamable	(xmlPatternPtr comp);
XMLPUBFUN int XMLCALL
			xmlPatternMaxDepth	(xmlPatternPtr comp);
XMLPUBFUN int XMLCALL
			xmlPatternMinDepth	(xmlPatternPtr comp);
XMLPUBFUN int XMLCALL
			xmlPatternFromRoot	(xmlPatternPtr comp);
XMLPUBFUN xmlStreamCtxtPtr XMLCALL
			xmlPatternGetStreamCtxt	(xmlPatternPtr comp);
XMLPUBFUN void XMLCALL
			xmlFreeStreamCtxt	(xmlStreamCtxtPtr stream);
XMLPUBFUN int XMLCALL
			xmlStreamPushNode	(xmlStreamCtxtPtr stream,
						 const xmlChar *name,
						 const xmlChar *ns,
						 int nodeType);
XMLPUBFUN int XMLCALL
			xmlStreamPush		(xmlStreamCtxtPtr stream,
						 const xmlChar *name,
						 const xmlChar *ns);
XMLPUBFUN int XMLCALL
			xmlStreamPushAttr	(xmlStreamCtxtPtr stream,
						 const xmlChar *name,
						 const xmlChar *ns);
XMLPUBFUN int XMLCALL
			xmlStreamPop		(xmlStreamCtxtPtr stream);
XMLPUBFUN int XMLCALL
			xmlStreamWantsAnyNode	(xmlStreamCtxtPtr stream);
#ifdef __cplusplus
}
#endif

#endif /* LIBXML_PATTERN_ENABLED */

#endif /* __XML_PATTERN_H__ */
Name
Size
Permissions
Options
DOCBparser.h
3.083 KB
-rw-r--r--
HTMLparser.h
9.189 KB
-rw-r--r--
HTMLtree.h
3.561 KB
-rw-r--r--
SAX.h
4.239 KB
-rw-r--r--
SAX2.h
4.833 KB
-rw-r--r--
c14n.h
3.036 KB
-rw-r--r--
catalog.h
4.79 KB
-rw-r--r--
chvalid.h
5.038 KB
-rw-r--r--
debugXML.h
5.031 KB
-rw-r--r--
dict.h
1.909 KB
-rw-r--r--
encoding.h
8.106 KB
-rw-r--r--
entities.h
4.782 KB
-rw-r--r--
globals.h
14.35 KB
-rw-r--r--
hash.h
6.34 KB
-rw-r--r--
list.h
3.287 KB
-rw-r--r--
nanoftp.h
3.67 KB
-rw-r--r--
nanohttp.h
1.958 KB
-rw-r--r--
parser.h
38.786 KB
-rw-r--r--
parserInternals.h
17.01 KB
-rw-r--r--
pattern.h
2.525 KB
-rw-r--r--
relaxng.h
5.855 KB
-rw-r--r--
schemasInternals.h
25.628 KB
-rw-r--r--
schematron.h
4.269 KB
-rw-r--r--
threads.h
1.912 KB
-rw-r--r--
tree.h
38.107 KB
-rw-r--r--
uri.h
2.602 KB
-rw-r--r--
valid.h
13.303 KB
-rw-r--r--
xinclude.h
2.897 KB
-rw-r--r--
xlink.h
4.922 KB
-rw-r--r--
xmlIO.h
10.362 KB
-rw-r--r--
xmlautomata.h
3.863 KB
-rw-r--r--
xmlerror.h
35.945 KB
-rw-r--r--
xmlexports.h
3.828 KB
-rw-r--r--
xmlmemory.h
5.806 KB
-rw-r--r--
xmlmodule.h
1.143 KB
-rw-r--r--
xmlreader.h
12.312 KB
-rw-r--r--
xmlregexp.h
5.33 KB
-rw-r--r--
xmlsave.h
2.282 KB
-rw-r--r--
xmlschemas.h
6.903 KB
-rw-r--r--
xmlschemastypes.h
4.728 KB
-rw-r--r--
xmlstring.h
5.382 KB
-rw-r--r--
xmlunicode.h
9.759 KB
-rw-r--r--
xmlversion.h
7.953 KB
-rw-r--r--
xmlwriter.h
20.767 KB
-rw-r--r--
xpath.h
16.014 KB
-rw-r--r--
xpathInternals.h
18.899 KB
-rw-r--r--
xpointer.h
3.28 KB
-rw-r--r--