gwenhywfar  5.3.0
gwen_parser_element_fns.h
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Fri Apr 18 2014
3  copyright : (C) 2014 by Martin Preuss
4  email : martin@libchipcard.de
5 
6  ***************************************************************************
7  * *
8  * This library is free software; you can redistribute it and/or *
9  * modify it under the terms of the GNU Lesser General Public *
10  * License as published by the Free Software Foundation; either *
11  * version 2.1 of the License, or (at your option) any later version. *
12  * *
13  * This library is distributed in the hope that it will be useful, *
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16  * Lesser General Public License for more details. *
17  * *
18  * You should have received a copy of the GNU Lesser General Public *
19  * License along with this library; if not, write to the Free Software *
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
21  * MA 02111-1307 USA *
22  * *
23  ***************************************************************************/
24 
25 
26 #ifndef GWEN_PARSER_ELEMENT_FNS_H
27 #define GWEN_PARSER_ELEMENT_FNS_H
28 
29 
30 #include <gwenhywfar/gwenhywfarapi.h>
31 #include <gwenhywfar/xml.h>
32 
33 
34 
35 GWENHYWFAR_API GWEN_PARSER_ELEMENT *GWEN_ParserElement_fromXml(GWEN_XMLNODE *node);
36 GWENHYWFAR_API int GWEN_ParserElement_toXml(const GWEN_PARSER_ELEMENT *e, GWEN_XMLNODE *node);
37 
38 GWENHYWFAR_API int GWEN_ParserElement_Tree_ReadXml(GWEN_PARSER_ELEMENT_TREE *et, GWEN_XMLNODE *node);
39 GWENHYWFAR_API int GWEN_ParserElement_Tree_ReadXmlFile(GWEN_PARSER_ELEMENT_TREE *et, const char *fname);
40 
41 GWENHYWFAR_API int GWEN_ParserElement_Tree_WriteXml(const GWEN_PARSER_ELEMENT_TREE *et, GWEN_XMLNODE *node);
42 GWENHYWFAR_API int GWEN_ParserElement_Tree_WriteXmlFile(GWEN_PARSER_ELEMENT_TREE *et, const char *fname);
43 
44 
45 GWENHYWFAR_API void GWEN_ParserElement_Dump(const GWEN_PARSER_ELEMENT *e, int indent);
46 GWENHYWFAR_API void GWEN_ParserElement_DumpWithChildren(const GWEN_PARSER_ELEMENT *e, int indent);
47 GWENHYWFAR_API void GWEN_ParserElement_Tree_Dump(const GWEN_PARSER_ELEMENT_TREE *et, int indent);
48 
49 
50 
51 
52 #endif
53 
GWENHYWFAR_API GWEN_PARSER_ELEMENT * GWEN_ParserElement_fromXml(GWEN_XMLNODE *node)
GWENHYWFAR_API int GWEN_ParserElement_Tree_WriteXmlFile(GWEN_PARSER_ELEMENT_TREE *et, const char *fname)
GWENHYWFAR_API void GWEN_ParserElement_DumpWithChildren(const GWEN_PARSER_ELEMENT *e, int indent)
GWENHYWFAR_API int GWEN_ParserElement_toXml(const GWEN_PARSER_ELEMENT *e, GWEN_XMLNODE *node)
GWENHYWFAR_API int GWEN_ParserElement_Tree_ReadXml(GWEN_PARSER_ELEMENT_TREE *et, GWEN_XMLNODE *node)
GWENHYWFAR_API void GWEN_ParserElement_Dump(const GWEN_PARSER_ELEMENT *e, int indent)
#define GWENHYWFAR_API
Definition: gwenhywfarapi.h:67
GWENHYWFAR_API void GWEN_ParserElement_Tree_Dump(const GWEN_PARSER_ELEMENT_TREE *et, int indent)
GWENHYWFAR_API int GWEN_ParserElement_Tree_ReadXmlFile(GWEN_PARSER_ELEMENT_TREE *et, const char *fname)
struct GWEN__XMLNODE GWEN_XMLNODE
Definition: xml.h:149
GWENHYWFAR_API int GWEN_ParserElement_Tree_WriteXml(const GWEN_PARSER_ELEMENT_TREE *et, GWEN_XMLNODE *node)