PHP 8.2.30
Preview: xmlregexp.h Size: 2.40 KB
/proc/thread-self/root/proc/thread-self/root/opt/cpanel/ea-libxml2/include/libxml2/libxml/xmlregexp.h

/**
 * @file
 * 
 * @brief Regular expressions
 * 
 * A regular expression engine used for DTD and XML Schema
 * validation.
 *
 * @copyright See Copyright for the status of this software.
 *
 * @author Daniel Veillard
 */

#ifndef __XML_REGEXP_H__
#define __XML_REGEXP_H__

#include <stdio.h>
#include <libxml/xmlversion.h>
#include <libxml/xmlstring.h>

#ifdef LIBXML_REGEXP_ENABLED

#ifdef __cplusplus
extern "C" {
#endif

/**
 * A libxml regular expression
 */
typedef struct _xmlRegexp xmlRegexp;
typedef xmlRegexp *xmlRegexpPtr;

/**
 * A libxml progressive regular expression evaluation context
 */
typedef struct _xmlRegExecCtxt xmlRegExecCtxt;
typedef xmlRegExecCtxt *xmlRegExecCtxtPtr;

/*
 * The POSIX like API
 */
XMLPUBFUN xmlRegexp *
		    xmlRegexpCompile	(const xmlChar *regexp);
XMLPUBFUN void			 xmlRegFreeRegexp(xmlRegexp *regexp);
XMLPUBFUN int
		    xmlRegexpExec	(xmlRegexp *comp,
					 const xmlChar *value);
XML_DEPRECATED
XMLPUBFUN void
		    xmlRegexpPrint	(FILE *output,
					 xmlRegexp *regexp);
XMLPUBFUN int
		    xmlRegexpIsDeterminist(xmlRegexp *comp);

/**
 * Callback function when doing a transition in the automata
 *
 * @param exec  the regular expression context
 * @param token  the current token string
 * @param transdata  transition data
 * @param inputdata  input data
 */
typedef void (*xmlRegExecCallbacks) (xmlRegExecCtxt *exec,
	                             const xmlChar *token,
				     void *transdata,
				     void *inputdata);

/*
 * The progressive API
 */
XML_DEPRECATED
XMLPUBFUN xmlRegExecCtxt *
		    xmlRegNewExecCtxt	(xmlRegexp *comp,
					 xmlRegExecCallbacks callback,
					 void *data);
XML_DEPRECATED
XMLPUBFUN void
		    xmlRegFreeExecCtxt	(xmlRegExecCtxt *exec);
XML_DEPRECATED
XMLPUBFUN int
		    xmlRegExecPushString(xmlRegExecCtxt *exec,
					 const xmlChar *value,
					 void *data);
XML_DEPRECATED
XMLPUBFUN int
		    xmlRegExecPushString2(xmlRegExecCtxt *exec,
					 const xmlChar *value,
					 const xmlChar *value2,
					 void *data);

XML_DEPRECATED
XMLPUBFUN int
		    xmlRegExecNextValues(xmlRegExecCtxt *exec,
					 int *nbval,
					 int *nbneg,
					 xmlChar **values,
					 int *terminal);
XML_DEPRECATED
XMLPUBFUN int
		    xmlRegExecErrInfo	(xmlRegExecCtxt *exec,
					 const xmlChar **string,
					 int *nbval,
					 int *nbneg,
					 xmlChar **values,
					 int *terminal);

#ifdef __cplusplus
}
#endif

#endif /* LIBXML_REGEXP_ENABLED */

#endif /*__XML_REGEXP_H__ */

Directory Contents

Dirs: 0 × Files: 46

Name Size Perms Modified Actions
2.61 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
4.91 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
4.71 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
1.62 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
1.74 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
9.63 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
4.28 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
591 B lrw-r--r-- 2025-11-18 18:25:27
Edit Download
6.80 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
10.36 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
2.64 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
3.07 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
323 B lrw-r--r-- 2025-11-18 18:25:27
Edit Download
2.09 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
58.89 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
13.52 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
2.54 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
5.91 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
395 B lrw-r--r-- 2025-11-18 18:25:27
Edit Download
4.14 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
22.71 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
4.16 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
1.53 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
39.30 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
2.66 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
11.61 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
2.81 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
5.04 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
3.80 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
38.41 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
2.36 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
11.32 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
4.93 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
1.13 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
12.24 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
2.40 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
3.39 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
6.77 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
4.44 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
5.13 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
281 B lrw-r--r-- 2025-11-18 18:25:27
Edit Download
3.90 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
19.99 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
14.41 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
17.36 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
930 B lrw-r--r-- 2025-11-18 18:25:27
Edit Download

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