00001
00035 #ifndef TREE_H_ALEIX0302202332
00036 #define TREE_H_ALEIX0302202332
00037
00038 #include "types.h"
00039
00040 #include <expat.h>
00041
00042 #ifdef __cplusplus
00043 extern "C" {
00044 #endif
00045
00052 extern scew_tree*
00053 scew_tree_create();
00054
00062 extern void
00063 scew_tree_free(scew_tree* tree);
00064
00069 extern unsigned int
00070 scew_tree_save_file(scew_tree const* tree, char const *file_name);
00071
00077 extern scew_element*
00078 scew_tree_root(scew_tree const* tree);
00079
00085 extern scew_element*
00086 scew_tree_add_root(scew_tree* tree, XML_Char const* name);
00087
00088 #ifdef __cplusplus
00089 }
00090 #endif
00091
00092 #endif