]> git.saurik.com Git - wxWidgets.git/blame - src/expat/tests/chardata.h
Add wxActivateEvent::GetActivationReason().
[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
11a3e7b6
VZ
7#ifdef __cplusplus
8extern "C" {
9#endif
10
5e9f2524
VS
11#ifndef XML_CHARDATA_H
12#define XML_CHARDATA_H 1
13
14#ifndef XML_VERSION
15#include "expat.h" /* need XML_Char */
16#endif
17
18
19typedef struct {
20 int count; /* # of chars, < 0 if not set */
21 XML_Char data[1024];
22} CharData;
23
24
25void CharData_Init(CharData *storage);
26
27void CharData_AppendString(CharData *storage, const char *s);
28
29void CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len);
30
31int CharData_CheckString(CharData *storage, const char *s);
32
33int CharData_CheckXMLChars(CharData *storage, const XML_Char *s);
34
35
36#endif /* XML_CHARDATA_H */
11a3e7b6
VZ
37
38#ifdef __cplusplus
39}
40#endif