PHP 8.2.30
Preview: pattern.h Size: 2.06 KB
//opt/cloudlinux/venv/lib/python3.11/site-packages/lxml/includes/libxslt/pattern.h

/*
 * Summary: interface for the pattern matching used in template matches.
 * Description: the implementation of the lookup of the right template
 *              for a given node must be really fast in order to keep
 *              decent performances.
 *
 * Copy: See Copyright for the status of this software.
 *
 * Author: Daniel Veillard
 */

#ifndef __XML_XSLT_PATTERN_H__
#define __XML_XSLT_PATTERN_H__

#include "xsltInternals.h"
#include "xsltexports.h"

#ifdef __cplusplus
extern "C" {
#endif

/**
 * xsltCompMatch:
 *
 * Data structure used for the implementation of patterns.
 * It is kept private (in pattern.c).
 */
typedef struct _xsltCompMatch xsltCompMatch;
typedef xsltCompMatch *xsltCompMatchPtr;

/*
 * Pattern related interfaces.
 */

XSLTPUBFUN xsltCompMatchPtr XSLTCALL
		xsltCompilePattern	(const xmlChar *pattern,
					 xmlDocPtr doc,
					 xmlNodePtr node,
					 xsltStylesheetPtr style,
					 xsltTransformContextPtr runtime);
XSLTPUBFUN void XSLTCALL
		xsltFreeCompMatchList	(xsltCompMatchPtr comp);
XSLTPUBFUN int XSLTCALL
		xsltTestCompMatchList	(xsltTransformContextPtr ctxt,
					 xmlNodePtr node,
					 xsltCompMatchPtr comp);
XSLTPUBFUN void XSLTCALL
		xsltCompMatchClearCache	(xsltTransformContextPtr ctxt,
					 xsltCompMatchPtr comp);
XSLTPUBFUN void XSLTCALL
		xsltNormalizeCompSteps	(void *payload,
					 void *data,
					 const xmlChar *name);

/*
 * Template related interfaces.
 */
XSLTPUBFUN int XSLTCALL
		xsltAddTemplate		(xsltStylesheetPtr style,
					 xsltTemplatePtr cur,
					 const xmlChar *mode,
					 const xmlChar *modeURI);
XSLTPUBFUN xsltTemplatePtr XSLTCALL
		xsltGetTemplate		(xsltTransformContextPtr ctxt,
					 xmlNodePtr node,
					 xsltStylesheetPtr style);
XSLTPUBFUN void XSLTCALL
		xsltFreeTemplateHashes	(xsltStylesheetPtr style);
XSLTPUBFUN void XSLTCALL
		xsltCleanupTemplates	(xsltStylesheetPtr style);

#if 0
int		xsltMatchPattern	(xsltTransformContextPtr ctxt,
					 xmlNodePtr node,
					 const xmlChar *pattern,
					 xmlDocPtr ctxtdoc,
					 xmlNodePtr ctxtnode);
#endif
#ifdef __cplusplus
}
#endif

#endif /* __XML_XSLT_PATTERN_H__ */

Directory Contents

Dirs: 1 × Files: 22

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
930 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
2.64 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
6.74 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
1.60 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
1.93 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
1.80 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
1.13 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
1.63 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
1.97 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
2.06 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
896 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
2.59 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
2.21 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
6.16 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
3.10 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
1.92 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
3.63 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
3.36 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
56.26 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
1.51 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
8.10 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
0 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).