mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
regexp: Deprecate internal functions
This commit is contained in:
@@ -39,24 +39,31 @@ typedef xmlAutomataState *xmlAutomataStatePtr;
|
|||||||
/*
|
/*
|
||||||
* Building API
|
* Building API
|
||||||
*/
|
*/
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlAutomataPtr
|
XMLPUBFUN xmlAutomataPtr
|
||||||
xmlNewAutomata (void);
|
xmlNewAutomata (void);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN void
|
XMLPUBFUN void
|
||||||
xmlFreeAutomata (xmlAutomataPtr am);
|
xmlFreeAutomata (xmlAutomataPtr am);
|
||||||
|
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlAutomataStatePtr
|
XMLPUBFUN xmlAutomataStatePtr
|
||||||
xmlAutomataGetInitState (xmlAutomataPtr am);
|
xmlAutomataGetInitState (xmlAutomataPtr am);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlAutomataSetFinalState (xmlAutomataPtr am,
|
xmlAutomataSetFinalState (xmlAutomataPtr am,
|
||||||
xmlAutomataStatePtr state);
|
xmlAutomataStatePtr state);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlAutomataStatePtr
|
XMLPUBFUN xmlAutomataStatePtr
|
||||||
xmlAutomataNewState (xmlAutomataPtr am);
|
xmlAutomataNewState (xmlAutomataPtr am);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlAutomataStatePtr
|
XMLPUBFUN xmlAutomataStatePtr
|
||||||
xmlAutomataNewTransition (xmlAutomataPtr am,
|
xmlAutomataNewTransition (xmlAutomataPtr am,
|
||||||
xmlAutomataStatePtr from,
|
xmlAutomataStatePtr from,
|
||||||
xmlAutomataStatePtr to,
|
xmlAutomataStatePtr to,
|
||||||
const xmlChar *token,
|
const xmlChar *token,
|
||||||
void *data);
|
void *data);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlAutomataStatePtr
|
XMLPUBFUN xmlAutomataStatePtr
|
||||||
xmlAutomataNewTransition2 (xmlAutomataPtr am,
|
xmlAutomataNewTransition2 (xmlAutomataPtr am,
|
||||||
xmlAutomataStatePtr from,
|
xmlAutomataStatePtr from,
|
||||||
@@ -64,6 +71,7 @@ XMLPUBFUN xmlAutomataStatePtr
|
|||||||
const xmlChar *token,
|
const xmlChar *token,
|
||||||
const xmlChar *token2,
|
const xmlChar *token2,
|
||||||
void *data);
|
void *data);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlAutomataStatePtr
|
XMLPUBFUN xmlAutomataStatePtr
|
||||||
xmlAutomataNewNegTrans (xmlAutomataPtr am,
|
xmlAutomataNewNegTrans (xmlAutomataPtr am,
|
||||||
xmlAutomataStatePtr from,
|
xmlAutomataStatePtr from,
|
||||||
@@ -72,6 +80,7 @@ XMLPUBFUN xmlAutomataStatePtr
|
|||||||
const xmlChar *token2,
|
const xmlChar *token2,
|
||||||
void *data);
|
void *data);
|
||||||
|
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlAutomataStatePtr
|
XMLPUBFUN xmlAutomataStatePtr
|
||||||
xmlAutomataNewCountTrans (xmlAutomataPtr am,
|
xmlAutomataNewCountTrans (xmlAutomataPtr am,
|
||||||
xmlAutomataStatePtr from,
|
xmlAutomataStatePtr from,
|
||||||
@@ -80,6 +89,7 @@ XMLPUBFUN xmlAutomataStatePtr
|
|||||||
int min,
|
int min,
|
||||||
int max,
|
int max,
|
||||||
void *data);
|
void *data);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlAutomataStatePtr
|
XMLPUBFUN xmlAutomataStatePtr
|
||||||
xmlAutomataNewCountTrans2 (xmlAutomataPtr am,
|
xmlAutomataNewCountTrans2 (xmlAutomataPtr am,
|
||||||
xmlAutomataStatePtr from,
|
xmlAutomataStatePtr from,
|
||||||
@@ -89,6 +99,7 @@ XMLPUBFUN xmlAutomataStatePtr
|
|||||||
int min,
|
int min,
|
||||||
int max,
|
int max,
|
||||||
void *data);
|
void *data);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlAutomataStatePtr
|
XMLPUBFUN xmlAutomataStatePtr
|
||||||
xmlAutomataNewOnceTrans (xmlAutomataPtr am,
|
xmlAutomataNewOnceTrans (xmlAutomataPtr am,
|
||||||
xmlAutomataStatePtr from,
|
xmlAutomataStatePtr from,
|
||||||
@@ -97,6 +108,7 @@ XMLPUBFUN xmlAutomataStatePtr
|
|||||||
int min,
|
int min,
|
||||||
int max,
|
int max,
|
||||||
void *data);
|
void *data);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlAutomataStatePtr
|
XMLPUBFUN xmlAutomataStatePtr
|
||||||
xmlAutomataNewOnceTrans2 (xmlAutomataPtr am,
|
xmlAutomataNewOnceTrans2 (xmlAutomataPtr am,
|
||||||
xmlAutomataStatePtr from,
|
xmlAutomataStatePtr from,
|
||||||
@@ -106,32 +118,39 @@ XMLPUBFUN xmlAutomataStatePtr
|
|||||||
int min,
|
int min,
|
||||||
int max,
|
int max,
|
||||||
void *data);
|
void *data);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlAutomataStatePtr
|
XMLPUBFUN xmlAutomataStatePtr
|
||||||
xmlAutomataNewAllTrans (xmlAutomataPtr am,
|
xmlAutomataNewAllTrans (xmlAutomataPtr am,
|
||||||
xmlAutomataStatePtr from,
|
xmlAutomataStatePtr from,
|
||||||
xmlAutomataStatePtr to,
|
xmlAutomataStatePtr to,
|
||||||
int lax);
|
int lax);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlAutomataStatePtr
|
XMLPUBFUN xmlAutomataStatePtr
|
||||||
xmlAutomataNewEpsilon (xmlAutomataPtr am,
|
xmlAutomataNewEpsilon (xmlAutomataPtr am,
|
||||||
xmlAutomataStatePtr from,
|
xmlAutomataStatePtr from,
|
||||||
xmlAutomataStatePtr to);
|
xmlAutomataStatePtr to);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlAutomataStatePtr
|
XMLPUBFUN xmlAutomataStatePtr
|
||||||
xmlAutomataNewCountedTrans (xmlAutomataPtr am,
|
xmlAutomataNewCountedTrans (xmlAutomataPtr am,
|
||||||
xmlAutomataStatePtr from,
|
xmlAutomataStatePtr from,
|
||||||
xmlAutomataStatePtr to,
|
xmlAutomataStatePtr to,
|
||||||
int counter);
|
int counter);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlAutomataStatePtr
|
XMLPUBFUN xmlAutomataStatePtr
|
||||||
xmlAutomataNewCounterTrans (xmlAutomataPtr am,
|
xmlAutomataNewCounterTrans (xmlAutomataPtr am,
|
||||||
xmlAutomataStatePtr from,
|
xmlAutomataStatePtr from,
|
||||||
xmlAutomataStatePtr to,
|
xmlAutomataStatePtr to,
|
||||||
int counter);
|
int counter);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlAutomataNewCounter (xmlAutomataPtr am,
|
xmlAutomataNewCounter (xmlAutomataPtr am,
|
||||||
int min,
|
int min,
|
||||||
int max);
|
int max);
|
||||||
|
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN struct _xmlRegexp *
|
XMLPUBFUN struct _xmlRegexp *
|
||||||
xmlAutomataCompile (xmlAutomataPtr am);
|
xmlAutomataCompile (xmlAutomataPtr am);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlAutomataIsDeterminist (xmlAutomataPtr am);
|
xmlAutomataIsDeterminist (xmlAutomataPtr am);
|
||||||
|
|
||||||
|
|||||||
@@ -70,28 +70,34 @@ typedef void (*xmlRegExecCallbacks) (xmlRegExecCtxtPtr exec,
|
|||||||
/*
|
/*
|
||||||
* The progressive API
|
* The progressive API
|
||||||
*/
|
*/
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN xmlRegExecCtxtPtr
|
XMLPUBFUN xmlRegExecCtxtPtr
|
||||||
xmlRegNewExecCtxt (xmlRegexpPtr comp,
|
xmlRegNewExecCtxt (xmlRegexpPtr comp,
|
||||||
xmlRegExecCallbacks callback,
|
xmlRegExecCallbacks callback,
|
||||||
void *data);
|
void *data);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN void
|
XMLPUBFUN void
|
||||||
xmlRegFreeExecCtxt (xmlRegExecCtxtPtr exec);
|
xmlRegFreeExecCtxt (xmlRegExecCtxtPtr exec);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlRegExecPushString(xmlRegExecCtxtPtr exec,
|
xmlRegExecPushString(xmlRegExecCtxtPtr exec,
|
||||||
const xmlChar *value,
|
const xmlChar *value,
|
||||||
void *data);
|
void *data);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlRegExecPushString2(xmlRegExecCtxtPtr exec,
|
xmlRegExecPushString2(xmlRegExecCtxtPtr exec,
|
||||||
const xmlChar *value,
|
const xmlChar *value,
|
||||||
const xmlChar *value2,
|
const xmlChar *value2,
|
||||||
void *data);
|
void *data);
|
||||||
|
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlRegExecNextValues(xmlRegExecCtxtPtr exec,
|
xmlRegExecNextValues(xmlRegExecCtxtPtr exec,
|
||||||
int *nbval,
|
int *nbval,
|
||||||
int *nbneg,
|
int *nbneg,
|
||||||
xmlChar **values,
|
xmlChar **values,
|
||||||
int *terminal);
|
int *terminal);
|
||||||
|
XML_DEPRECATED
|
||||||
XMLPUBFUN int
|
XMLPUBFUN int
|
||||||
xmlRegExecErrInfo (xmlRegExecCtxtPtr exec,
|
xmlRegExecErrInfo (xmlRegExecCtxtPtr exec,
|
||||||
const xmlChar **string,
|
const xmlChar **string,
|
||||||
|
|||||||
Reference in New Issue
Block a user