diff --git a/include/libxml/parser.h b/include/libxml/parser.h index b6d6fcf6..508f37e8 100644 --- a/include/libxml/parser.h +++ b/include/libxml/parser.h @@ -100,7 +100,7 @@ typedef void (* xmlParserInputDeallocate)(xmlChar *str); */ struct _xmlParserInput { /* Input buffer */ - xmlParserInputBuffer *buf; + xmlParserInputBuffer *buf XML_DEPRECATED_MEMBER; /** * @deprecated Use #xmlCtxtGetInputPosition * diff --git a/include/libxml/xmlIO.h b/include/libxml/xmlIO.h index 898f7ae7..6ebd6381 100644 --- a/include/libxml/xmlIO.h +++ b/include/libxml/xmlIO.h @@ -124,17 +124,22 @@ typedef xmlOutputBuffer * * be removed from the public interface. */ struct _xmlParserInputBuffer { - void* context; - xmlInputReadCallback readcallback; - xmlInputCloseCallback closecallback; + void* context XML_DEPRECATED_MEMBER; + xmlInputReadCallback readcallback XML_DEPRECATED_MEMBER; + xmlInputCloseCallback closecallback XML_DEPRECATED_MEMBER; - xmlCharEncodingHandler *encoder; /* I18N conversions to UTF-8 */ + /* I18N conversions to UTF-8 */ + xmlCharEncodingHandler *encoder XML_DEPRECATED_MEMBER; - xmlBuf *buffer; /* Local buffer encoded in UTF-8 */ - xmlBuf *raw; /* if encoder != NULL buffer for raw input */ - int compressed; /* -1=unknown, 0=not compressed, 1=compressed */ - int error; - unsigned long rawconsumed;/* amount consumed from raw */ + /* Local buffer encoded in UTF-8 */ + xmlBuf *buffer XML_DEPRECATED_MEMBER; + /* if encoder != NULL buffer for raw input */ + xmlBuf *raw XML_DEPRECATED_MEMBER; + /* -1=unknown, 0=not compressed, 1=compressed */ + int compressed XML_DEPRECATED_MEMBER; + int error XML_DEPRECATED_MEMBER; + /* amount consumed from raw */ + unsigned long rawconsumed XML_DEPRECATED_MEMBER; };