minixml.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __MINIXML_H__
00012 #define __MINIXML_H__
00013 #define IS_WHITE_SPACE(c) ((c==' ') || (c=='\t') || (c=='\r') || (c=='\n'))
00014
00015
00016
00017 struct xmlparser {
00018 const char *xmlstart;
00019 const char *xmlend;
00020 const char *xml;
00021 int xmlsize;
00022 void * data;
00023 void (*starteltfunc) (void *, const char *, int);
00024 void (*endeltfunc) (void *, const char *, int);
00025 void (*datafunc) (void *, const char *, int);
00026 void (*attfunc) (void *, const char *, int, const char *, int);
00027 };
00028
00029
00030
00031
00032
00033
00034 void parsexml(struct xmlparser *);
00035
00036 #endif
00037