GnuCash c935c2f+
Loading...
Searching...
No Matches
gnc-xml-helper.h
1/********************************************************************\
2 * gnc-xml-helper.h -- api for xml helpers *
3 * *
4 * Copyright (C) 2001 James LewisMoss <dres@debian.org> *
5 * *
6 * This program is free software; you can redistribute it and/or *
7 * modify it under the terms of the GNU General Public License as *
8 * published by the Free Software Foundation; either version 2 of *
9 * the License, or (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License*
17 * along with this program; if not, contact: *
18 * *
19 * Free Software Foundation Voice: +1-617-542-5942 *
20 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
21 * Boston, MA 02110-1301, USA gnu@gnu.org *
22 * *
23\********************************************************************/
24
25#ifndef GNC_XML_HELPER_H
26#define GNC_XML_HELPER_H
27
28#include <glib.h>
29
30#include <libxml/xmlversion.h>
31
32# include <libxml/tree.h>
33# include <libxml/parser.h>
34# include <libxml/xmlmemory.h>
35# include <libxml/parserInternals.h>
36
37# ifndef xmlChildrenNode
38# define xmlChildrenNode children
39# endif /* ifndef xmlChildrenNode */
40# ifndef xmlRootNode
41# define xmlRootNode children
42# endif /* ifndef xmlRootNode */
43# ifndef xmlAttrPropertyValue
44# define xmlAttrPropertyValue children
45# endif /* ifndef xmlAttrPropertyValue */
46
47xmlChar* checked_char_cast (gchar* val);
48
49#endif /* _GNC_XML_HELPER_H_ */