2022-08-26 01:22:33 +02:00
|
|
|
#ifndef XML_BUF_H_PRIVATE__
|
|
|
|
#define XML_BUF_H_PRIVATE__
|
2012-07-11 16:48:47 +08:00
|
|
|
|
2024-07-07 03:01:51 +02:00
|
|
|
#include <libxml/parser.h>
|
2012-07-11 16:48:47 +08:00
|
|
|
#include <libxml/tree.h>
|
|
|
|
|
2022-11-27 02:09:27 +01:00
|
|
|
XML_HIDDEN xmlBufPtr
|
2024-07-07 03:01:51 +02:00
|
|
|
xmlBufCreate(size_t size);
|
2022-11-27 02:09:27 +01:00
|
|
|
XML_HIDDEN xmlBufPtr
|
2024-07-07 03:01:51 +02:00
|
|
|
xmlBufCreateMem(const xmlChar *mem, size_t size, int isStatic);
|
2022-11-27 02:09:27 +01:00
|
|
|
XML_HIDDEN void
|
|
|
|
xmlBufFree(xmlBufPtr buf);
|
2024-07-07 03:01:51 +02:00
|
|
|
|
2022-11-27 02:09:27 +01:00
|
|
|
XML_HIDDEN void
|
|
|
|
xmlBufEmpty(xmlBufPtr buf);
|
2012-07-11 16:48:47 +08:00
|
|
|
|
2022-11-27 02:09:27 +01:00
|
|
|
XML_HIDDEN int
|
2024-07-07 03:01:51 +02:00
|
|
|
xmlBufGrow(xmlBufPtr buf, size_t len);
|
2012-07-11 16:48:47 +08:00
|
|
|
|
2022-11-27 02:09:27 +01:00
|
|
|
XML_HIDDEN int
|
2024-07-07 03:01:51 +02:00
|
|
|
xmlBufAdd(xmlBufPtr buf, const xmlChar *str, size_t len);
|
2022-11-27 02:09:27 +01:00
|
|
|
XML_HIDDEN int
|
|
|
|
xmlBufCat(xmlBufPtr buf, const xmlChar *str);
|
2012-07-11 16:48:47 +08:00
|
|
|
|
2022-11-27 02:09:27 +01:00
|
|
|
XML_HIDDEN size_t
|
|
|
|
xmlBufAvail(const xmlBufPtr buf);
|
|
|
|
XML_HIDDEN int
|
|
|
|
xmlBufIsEmpty(const xmlBufPtr buf);
|
|
|
|
XML_HIDDEN int
|
|
|
|
xmlBufAddLen(xmlBufPtr buf, size_t len);
|
2012-07-11 16:48:47 +08:00
|
|
|
|
2022-11-27 02:09:27 +01:00
|
|
|
XML_HIDDEN xmlChar *
|
|
|
|
xmlBufDetach(xmlBufPtr buf);
|
2012-07-11 16:48:47 +08:00
|
|
|
|
2022-11-27 02:09:27 +01:00
|
|
|
XML_HIDDEN xmlBufPtr
|
|
|
|
xmlBufFromBuffer(xmlBufferPtr buffer);
|
2024-07-07 03:01:51 +02:00
|
|
|
XML_HIDDEN int
|
|
|
|
xmlBufBackToBuffer(xmlBufPtr buf, xmlBufferPtr ret);
|
2012-07-11 16:48:47 +08:00
|
|
|
|
2022-11-27 02:09:27 +01:00
|
|
|
XML_HIDDEN int
|
|
|
|
xmlBufResetInput(xmlBufPtr buf, xmlParserInputPtr input);
|
|
|
|
XML_HIDDEN int
|
2023-08-08 15:21:14 +02:00
|
|
|
xmlBufUpdateInput(xmlBufPtr buf, xmlParserInputPtr input, size_t pos);
|
2012-07-11 16:48:47 +08:00
|
|
|
|
2022-08-26 01:22:33 +02:00
|
|
|
#endif /* XML_BUF_H_PRIVATE__ */
|