From 3ffcc03b16412074b0a71c76e6fae0d359600cee Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Mon, 13 Mar 2023 19:38:41 +0100 Subject: parser: Deprecate more internal functions --- parser.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'parser.c') diff --git a/parser.c b/parser.c index 9ed64c9e..c6383f6e 100644 --- a/parser.c +++ b/parser.c @@ -1376,6 +1376,8 @@ xmlCleanSpecialAttr(xmlParserCtxtPtr ctxt) * xmlCheckLanguageID: * @lang: pointer to the string value * + * DEPRECATED: Internal function, do not use. + * * Checks that the value conforms to the LanguageID production: * * NOTE: this is somewhat deprecated, those productions were removed from @@ -1750,6 +1752,8 @@ inputPop(xmlParserCtxtPtr ctxt) * @ctxt: an XML parser context * @value: the element node * + * DEPRECATED: Internal function, do not use. + * * Pushes a new element node on top of the node stack * * Returns -1 in case of error, the index in the stack otherwise @@ -1788,6 +1792,8 @@ nodePush(xmlParserCtxtPtr ctxt, xmlNodePtr value) * nodePop: * @ctxt: an XML parser context * + * DEPRECATED: Internal function, do not use. + * * Pops the top element node from the node stack * * Returns the node just removed @@ -1899,6 +1905,8 @@ nameNsPop(xmlParserCtxtPtr ctxt) * @ctxt: an XML parser context * @value: the element name * + * DEPRECATED: Internal function, do not use. + * * Pushes a new element name on top of the name stack * * Returns -1 in case of error, the index in the stack otherwise @@ -1926,10 +1934,13 @@ mem_error: xmlErrMemory(ctxt, NULL); return (-1); } + /** * namePop: * @ctxt: an XML parser context * + * DEPRECATED: Internal function, do not use. + * * Pops the top element name from the name stack * * Returns the name just removed @@ -2098,6 +2109,8 @@ static int spacePop(xmlParserCtxtPtr ctxt) { * xmlSkipBlankChars: * @ctxt: the XML parser context * + * DEPRECATED: Internal function, do not use. + * * skip all blanks character found at that point in the input streams. * It pops up finished entities in the process if allowable at that point. * @@ -2473,6 +2486,8 @@ xmlParseStringCharRef(xmlParserCtxtPtr ctxt, const xmlChar **str) { * xmlParserHandlePEReference: * @ctxt: the parser context * + * DEPRECATED: Internal function, do not use. + * * [69] PEReference ::= '%' Name ';' * * [ WFC: No Recursion ] -- cgit v1.2.1