mirror of
https://github.com/GNOME/libxml2.git
synced 2025-10-16 06:16:27 +08:00
io: Deprecate xmlParserInputBuffer members
This commit is contained in:
@@ -100,7 +100,7 @@ typedef void (* xmlParserInputDeallocate)(xmlChar *str);
|
|||||||
*/
|
*/
|
||||||
struct _xmlParserInput {
|
struct _xmlParserInput {
|
||||||
/* Input buffer */
|
/* Input buffer */
|
||||||
xmlParserInputBuffer *buf;
|
xmlParserInputBuffer *buf XML_DEPRECATED_MEMBER;
|
||||||
/**
|
/**
|
||||||
* @deprecated Use #xmlCtxtGetInputPosition
|
* @deprecated Use #xmlCtxtGetInputPosition
|
||||||
*
|
*
|
||||||
|
@@ -124,17 +124,22 @@ typedef xmlOutputBuffer *
|
|||||||
* be removed from the public interface.
|
* be removed from the public interface.
|
||||||
*/
|
*/
|
||||||
struct _xmlParserInputBuffer {
|
struct _xmlParserInputBuffer {
|
||||||
void* context;
|
void* context XML_DEPRECATED_MEMBER;
|
||||||
xmlInputReadCallback readcallback;
|
xmlInputReadCallback readcallback XML_DEPRECATED_MEMBER;
|
||||||
xmlInputCloseCallback closecallback;
|
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 */
|
/* Local buffer encoded in UTF-8 */
|
||||||
xmlBuf *raw; /* if encoder != NULL buffer for raw input */
|
xmlBuf *buffer XML_DEPRECATED_MEMBER;
|
||||||
int compressed; /* -1=unknown, 0=not compressed, 1=compressed */
|
/* if encoder != NULL buffer for raw input */
|
||||||
int error;
|
xmlBuf *raw XML_DEPRECATED_MEMBER;
|
||||||
unsigned long rawconsumed;/* amount consumed from raw */
|
/* -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user