Download include/libxml2/libxml/xmlautomata.h from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 3.79 kB
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/include/libxml2/libxml/xmlautomata.h
- Command line
-
hf download hf://camenduru/slahmr-test/include/libxml2/libxml/xmlautomata.h
-
curl -L -o xmlautomata.h https://huggingface.co/camenduru/slahmr-test/resolve/main/include/libxml2/libxml/xmlautomata.h
3.79 kB
| /* | |
| * Summary: API to build regexp automata | |
| * Description: the API to build regexp automata | |
| * | |
| * Copy: See Copyright for the status of this software. | |
| * | |
| * Author: Daniel Veillard | |
| */ | |
| extern "C" { | |
| /** | |
| * xmlAutomataPtr: | |
| * | |
| * A libxml automata description, It can be compiled into a regexp | |
| */ | |
| typedef struct _xmlAutomata xmlAutomata; | |
| typedef xmlAutomata *xmlAutomataPtr; | |
| /** | |
| * xmlAutomataStatePtr: | |
| * | |
| * A state int the automata description, | |
| */ | |
| typedef struct _xmlAutomataState xmlAutomataState; | |
| typedef xmlAutomataState *xmlAutomataStatePtr; | |
| /* | |
| * Building API | |
| */ | |
| XMLPUBFUN xmlAutomataPtr | |
| xmlNewAutomata (void); | |
| XMLPUBFUN void | |
| xmlFreeAutomata (xmlAutomataPtr am); | |
| XMLPUBFUN xmlAutomataStatePtr | |
| xmlAutomataGetInitState (xmlAutomataPtr am); | |
| XMLPUBFUN int | |
| xmlAutomataSetFinalState (xmlAutomataPtr am, | |
| xmlAutomataStatePtr state); | |
| XMLPUBFUN xmlAutomataStatePtr | |
| xmlAutomataNewState (xmlAutomataPtr am); | |
| XMLPUBFUN xmlAutomataStatePtr | |
| xmlAutomataNewTransition (xmlAutomataPtr am, | |
| xmlAutomataStatePtr from, | |
| xmlAutomataStatePtr to, | |
| const xmlChar *token, | |
| void *data); | |
| XMLPUBFUN xmlAutomataStatePtr | |
| xmlAutomataNewTransition2 (xmlAutomataPtr am, | |
| xmlAutomataStatePtr from, | |
| xmlAutomataStatePtr to, | |
| const xmlChar *token, | |
| const xmlChar *token2, | |
| void *data); | |
| XMLPUBFUN xmlAutomataStatePtr | |
| xmlAutomataNewNegTrans (xmlAutomataPtr am, | |
| xmlAutomataStatePtr from, | |
| xmlAutomataStatePtr to, | |
| const xmlChar *token, | |
| const xmlChar *token2, | |
| void *data); | |
| XMLPUBFUN xmlAutomataStatePtr | |
| xmlAutomataNewCountTrans (xmlAutomataPtr am, | |
| xmlAutomataStatePtr from, | |
| xmlAutomataStatePtr to, | |
| const xmlChar *token, | |
| int min, | |
| int max, | |
| void *data); | |
| XMLPUBFUN xmlAutomataStatePtr | |
| xmlAutomataNewCountTrans2 (xmlAutomataPtr am, | |
| xmlAutomataStatePtr from, | |
| xmlAutomataStatePtr to, | |
| const xmlChar *token, | |
| const xmlChar *token2, | |
| int min, | |
| int max, | |
| void *data); | |
| XMLPUBFUN xmlAutomataStatePtr | |
| xmlAutomataNewOnceTrans (xmlAutomataPtr am, | |
| xmlAutomataStatePtr from, | |
| xmlAutomataStatePtr to, | |
| const xmlChar *token, | |
| int min, | |
| int max, | |
| void *data); | |
| XMLPUBFUN xmlAutomataStatePtr | |
| xmlAutomataNewOnceTrans2 (xmlAutomataPtr am, | |
| xmlAutomataStatePtr from, | |
| xmlAutomataStatePtr to, | |
| const xmlChar *token, | |
| const xmlChar *token2, | |
| int min, | |
| int max, | |
| void *data); | |
| XMLPUBFUN xmlAutomataStatePtr | |
| xmlAutomataNewAllTrans (xmlAutomataPtr am, | |
| xmlAutomataStatePtr from, | |
| xmlAutomataStatePtr to, | |
| int lax); | |
| XMLPUBFUN xmlAutomataStatePtr | |
| xmlAutomataNewEpsilon (xmlAutomataPtr am, | |
| xmlAutomataStatePtr from, | |
| xmlAutomataStatePtr to); | |
| XMLPUBFUN xmlAutomataStatePtr | |
| xmlAutomataNewCountedTrans (xmlAutomataPtr am, | |
| xmlAutomataStatePtr from, | |
| xmlAutomataStatePtr to, | |
| int counter); | |
| XMLPUBFUN xmlAutomataStatePtr | |
| xmlAutomataNewCounterTrans (xmlAutomataPtr am, | |
| xmlAutomataStatePtr from, | |
| xmlAutomataStatePtr to, | |
| int counter); | |
| XMLPUBFUN int | |
| xmlAutomataNewCounter (xmlAutomataPtr am, | |
| int min, | |
| int max); | |
| XMLPUBFUN struct _xmlRegexp * | |
| xmlAutomataCompile (xmlAutomataPtr am); | |
| XMLPUBFUN int | |
| xmlAutomataIsDeterminist (xmlAutomataPtr am); | |
| } | |