]> git.saurik.com Git - wxWidgets.git/blame - src/expat/tests/chardata.h
Caret dropout fix
[wxWidgets.git] / src / expat / tests / chardata.h
CommitLineData
5e9f2524
VS
1/* chardata.h
2
3 Interface to some helper routines used to accumulate and check text
4 and attribute content.
5*/
6
7#ifndef XML_CHARDATA_H
8#define XML_CHARDATA_H 1
9
10#ifndef XML_VERSION
11#include "expat.h" /* need XML_Char */
12#endif
13
14
15typedef struct {
16 int count; /* # of chars, < 0 if not set */
17 XML_Char data[1024];
18} CharData;
19
20
21void CharData_Init(CharData *storage);
22
23void CharData_AppendString(CharData *storage, const char *s);
24
25void CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len);
26
27int CharData_CheckString(CharData *storage, const char *s);
28
29int CharData_CheckXMLChars(CharData *storage, const XML_Char *s);
30
31
32#endif /* XML_CHARDATA_H */