2
* Copyright (C) 2004 Laurent Mazet
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; If not, see <http://www.gnu.org/licenses/>.
26
#if !defined(__XMLTREE_H__)
50
typedef struct _element {
51
struct _element *next;
52
struct _element *child;
71
typedef struct _list {
77
element *new_element ();
78
element *new_next (element *pred);
79
element *new_child (element *father);
80
void free_element (element *root);
81
void print_element (element *root, int l);
83
list *new_list(list *father);
84
list *pop_list(list *child);
86
#endif /* __XMLTREE_H__ */