[libxml2]Add libxml2 library

This commit is contained in:
zhoujiale
2026-07-26 16:57:28 +08:00
committed by zhoujiale
parent 0a44ec8a06
commit e841ac915d
3790 changed files with 668244 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#ifndef XML_REGEXP_H_PRIVATE__
#define XML_REGEXP_H_PRIVATE__
#include <libxml/xmlautomata.h>
#ifdef LIBXML_REGEXP_ENABLED
/*
* -2 and -3 are used by xmlValidateElementType for other things.
*/
#define XML_REGEXP_OK 0
#define XML_REGEXP_NOT_FOUND (-1)
#define XML_REGEXP_INTERNAL_ERROR (-4)
#define XML_REGEXP_OUT_OF_MEMORY (-5)
#define XML_REGEXP_INTERNAL_LIMIT (-6)
#define XML_REGEXP_INVALID_UTF8 (-7)
XML_HIDDEN void
xmlAutomataSetFlags(xmlAutomata *am, int flags);
XML_HIDDEN void
xmlRegExecClearErrors(xmlRegExecCtxt* exec);
#endif /* LIBXML_REGEXP_ENABLED */
#endif /* XML_REGEXP_H_PRIVATE__ */