]> git.saurik.com Git - wxWidgets.git/blob - src/expat/tests/chardata.h
remove files for win 3.1
[wxWidgets.git] / src / expat / tests / chardata.h
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
15 typedef struct {
16 int count; /* # of chars, < 0 if not set */
17 XML_Char data[1024];
18 } CharData;
19
20
21 void CharData_Init(CharData *storage);
22
23 void CharData_AppendString(CharData *storage, const char *s);
24
25 void CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len);
26
27 int CharData_CheckString(CharData *storage, const char *s);
28
29 int CharData_CheckXMLChars(CharData *storage, const XML_Char *s);
30
31
32 #endif /* XML_CHARDATA_H */