ReactOS 0.4.16-dev-2232-gc2aaa52
buf.h
Go to the documentation of this file.
1#ifndef XML_BUF_H_PRIVATE__
2#define XML_BUF_H_PRIVATE__
3
4#include <libxml/tree.h>
5
6XML_HIDDEN xmlBufPtr
7xmlBufCreate(void);
8XML_HIDDEN xmlBufPtr
10
11XML_HIDDEN int
12xmlBufSetAllocationScheme(xmlBufPtr buf, xmlBufferAllocationScheme scheme);
13XML_HIDDEN int
15
16XML_HIDDEN void
17xmlBufFree(xmlBufPtr buf);
18XML_HIDDEN void
19xmlBufEmpty(xmlBufPtr buf);
20
21/* size_t xmlBufShrink(xmlBufPtr buf, size_t len); */
22XML_HIDDEN int
23xmlBufGrow(xmlBufPtr buf, int len);
24XML_HIDDEN int
25xmlBufResize(xmlBufPtr buf, size_t len);
26
27XML_HIDDEN int
28xmlBufAdd(xmlBufPtr buf, const xmlChar *str, int len);
29XML_HIDDEN int
30xmlBufCat(xmlBufPtr buf, const xmlChar *str);
31XML_HIDDEN int
32xmlBufCCat(xmlBufPtr buf, const char *str);
33XML_HIDDEN int
34xmlBufWriteQuotedString(xmlBufPtr buf, const xmlChar *string);
35
36XML_HIDDEN size_t
37xmlBufAvail(const xmlBufPtr buf);
38XML_HIDDEN size_t
39xmlBufLength(const xmlBufPtr buf);
40/* size_t xmlBufUse(const xmlBufPtr buf); */
41XML_HIDDEN int
42xmlBufIsEmpty(const xmlBufPtr buf);
43XML_HIDDEN int
44xmlBufAddLen(xmlBufPtr buf, size_t len);
45
46/* const xmlChar * xmlBufContent(const xmlBuf *buf); */
47/* const xmlChar * xmlBufEnd(xmlBufPtr buf); */
48
50xmlBufDetach(xmlBufPtr buf);
51
52XML_HIDDEN size_t
53xmlBufDump(FILE *file, xmlBufPtr buf);
54
55XML_HIDDEN xmlBufPtr
56xmlBufFromBuffer(xmlBufferPtr buffer);
57XML_HIDDEN xmlBufferPtr
58xmlBufBackToBuffer(xmlBufPtr buf);
59XML_HIDDEN int
60xmlBufMergeBuffer(xmlBufPtr buf, xmlBufferPtr buffer);
61
62XML_HIDDEN int
63xmlBufResetInput(xmlBufPtr buf, xmlParserInputPtr input);
64XML_HIDDEN int
65xmlBufUpdateInput(xmlBufPtr buf, xmlParserInputPtr input, size_t pos);
66
67#endif /* XML_BUF_H_PRIVATE__ */
XML_HIDDEN int xmlBufMergeBuffer(xmlBufPtr buf, xmlBufferPtr buffer)
Definition: buf.c:993
XML_HIDDEN xmlBufPtr xmlBufFromBuffer(xmlBufferPtr buffer)
Definition: buf.c:902
XML_HIDDEN void xmlBufEmpty(xmlBufPtr buf)
Definition: buf.c:297
XML_HIDDEN int xmlBufResetInput(xmlBufPtr buf, xmlParserInputPtr input)
Definition: buf.c:1019
XML_HIDDEN int xmlBufGetAllocationScheme(xmlBufPtr buf)
Definition: buf.c:224
XML_HIDDEN int xmlBufWriteQuotedString(xmlBufPtr buf, const xmlChar *string)
Definition: buf.c:852
XML_HIDDEN int xmlBufSetAllocationScheme(xmlBufPtr buf, xmlBufferAllocationScheme scheme)
Definition: buf.c:241
XML_HIDDEN int xmlBufCCat(xmlBufPtr buf, const char *str)
Definition: buf.c:835
XML_HIDDEN size_t xmlBufDump(FILE *file, xmlBufPtr buf)
Definition: buf.c:464
XML_HIDDEN int xmlBufAddLen(xmlBufPtr buf, size_t len)
Definition: buf.c:529
XML_HIDDEN size_t xmlBufAvail(const xmlBufPtr buf)
Definition: buf.c:592
XML_HIDDEN int xmlBufIsEmpty(const xmlBufPtr buf)
Definition: buf.c:610
XML_HIDDEN int xmlBufUpdateInput(xmlBufPtr buf, xmlParserInputPtr input, size_t pos)
Definition: buf.c:1044
XML_HIDDEN int xmlBufGrow(xmlBufPtr buf, int len)
Definition: buf.c:443
XML_HIDDEN xmlBufPtr xmlBufCreateSize(size_t size)
Definition: buf.c:155
XML_HIDDEN xmlChar * xmlBufDetach(xmlBufPtr buf)
Definition: buf.c:196
XML_HIDDEN xmlBufPtr xmlBufCreate(void)
Definition: buf.c:122
XML_HIDDEN xmlBufferPtr xmlBufBackToBuffer(xmlBufPtr buf)
Definition: buf.c:938
XML_HIDDEN int xmlBufCat(xmlBufPtr buf, const xmlChar *str)
Definition: buf.c:816
XML_HIDDEN int xmlBufAdd(xmlBufPtr buf, const xmlChar *str, int len)
Definition: buf.c:758
XML_HIDDEN int xmlBufResize(xmlBufPtr buf, size_t len)
Definition: buf.c:629
XML_HIDDEN size_t xmlBufLength(const xmlBufPtr buf)
Definition: buf.c:551
XML_HIDDEN void xmlBufFree(xmlBufPtr buf)
Definition: buf.c:276
GLuint buffer
Definition: glext.h:5915
GLsizeiptr size
Definition: glext.h:5919
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
GLenum GLsizei len
Definition: glext.h:6722
GLenum GLenum GLenum input
Definition: glext.h:9031
#define XML_HIDDEN
Definition: libxml.h:52
const WCHAR * str
DWORD scheme
Definition: fci.c:127
unsigned char xmlChar
Definition: xmlstring.h:28