[libxml2] Deprecate all functions in DOCBparser.h
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Deprecate all functions in DOCBparser.h
- Date: Sun, 20 Feb 2022 21:00:47 +0000 (UTC)
commit 61de92979b530afb013add8f7e4d293930dd8e8e
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Sun Feb 20 20:59:14 2022 +0100
Deprecate all functions in DOCBparser.h
include/libxml/DOCBparser.h | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/include/libxml/DOCBparser.h b/include/libxml/DOCBparser.h
index 9394fa71..748e1ab3 100644
--- a/include/libxml/DOCBparser.h
+++ b/include/libxml/DOCBparser.h
@@ -41,25 +41,30 @@ typedef xmlDocPtr docbDocPtr;
/*
* There is only few public functions.
*/
+XML_DEPRECATED
XMLPUBFUN int XMLCALL
docbEncodeEntities(unsigned char *out,
int *outlen,
const unsigned char *in,
int *inlen, int quoteChar);
+XML_DEPRECATED
XMLPUBFUN docbDocPtr XMLCALL
docbSAXParseDoc (xmlChar *cur,
const char *encoding,
docbSAXHandlerPtr sax,
void *userData);
+XML_DEPRECATED
XMLPUBFUN docbDocPtr XMLCALL
docbParseDoc (xmlChar *cur,
const char *encoding);
+XML_DEPRECATED
XMLPUBFUN docbDocPtr XMLCALL
docbSAXParseFile (const char *filename,
const char *encoding,
docbSAXHandlerPtr sax,
void *userData);
+XML_DEPRECATED
XMLPUBFUN docbDocPtr XMLCALL
docbParseFile (const char *filename,
const char *encoding);
@@ -67,8 +72,10 @@ XMLPUBFUN docbDocPtr XMLCALL
/**
* Interfaces for the Push mode.
*/
+XML_DEPRECATED
XMLPUBFUN void XMLCALL
docbFreeParserCtxt (docbParserCtxtPtr ctxt);
+XML_DEPRECATED
XMLPUBFUN docbParserCtxtPtr XMLCALL
docbCreatePushParserCtxt(docbSAXHandlerPtr sax,
void *user_data,
@@ -76,14 +83,17 @@ XMLPUBFUN docbParserCtxtPtr XMLCALL
int size,
const char *filename,
xmlCharEncoding enc);
+XML_DEPRECATED
XMLPUBFUN int XMLCALL
docbParseChunk (docbParserCtxtPtr ctxt,
const char *chunk,
int size,
int terminate);
+XML_DEPRECATED
XMLPUBFUN docbParserCtxtPtr XMLCALL
docbCreateFileParserCtxt(const char *filename,
const char *encoding);
+XML_DEPRECATED
XMLPUBFUN int XMLCALL
docbParseDocument (docbParserCtxtPtr ctxt);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]