Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef __SUWARUI_XML_H__
- #define __SUWARUI_XML_H__
- #include "suwarui/string.h"
- struct SSStack { size_t n, m; struct SuwaruiString **a; };
- struct DynamicXmlNode;
- struct NodeStack { size_t n, m; struct DynamicXmlNode **a;};
- typedef struct
- {
- struct SuwaruiString *name;
- struct SuwaruiString *data;
- struct SSStack *attributes;
- size_t attribute_c;
- struct NodeStack *nodes;
- size_t node_c;
- } DynamicXmlNode;
- struct StaticXmlNode;
- typedef struct
- {
- char *name;
- char *data;
- char **attributes;
- size_t attribute_c;
- struct StaticXmlNode **nodes;
- size_t node_c;
- } StaticXmlNode;
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement