ab2288a61e0f810ba2e7dcaa355f1f8cfa23f692
[chaz/homebank] / src / hb-xml.h
1 /* HomeBank -- Free, easy, personal accounting for everyone.
2 * Copyright (C) 1995-2017 Maxime DOYEN
3 *
4 * This file is part of HomeBank.
5 *
6 * HomeBank is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * HomeBank 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, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef __HB_XML_H__
21 #define __HB_XML_H__
22
23
24 enum
25 {
26 XML_UNSET,
27 XML_OK,
28 XML_IO_ERROR,
29 XML_FILE_ERROR,
30 XML_VERSION_ERROR,
31 };
32
33
34 typedef struct _ParseContext ParseContext;
35 struct _ParseContext
36 {
37 gdouble file_version; //version of the xml structure
38 gint data_version; //last hb version file was saved with
39 };
40
41
42 gint homebank_load_xml(gchar *filename);
43 gint homebank_save_xml(gchar *filename);
44
45
46 #endif
This page took 0.036404 seconds and 4 git commands to generate.