GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
io-gncxml.h
Go to the documentation of this file.
1 /********************************************************************\
2  * io-gncxml.h -- api for gnucash xml i/o *
3  * *
4  * Copyright (c) 2000,2001 Gnumatic Incorporated *
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 [email protected] *
22  * *
23 \********************************************************************/
24 
33 #ifndef IO_GNCXML_H
34 #define IO_GNCXML_H
35 
36 #include <glib.h>
37 #include "qof.h"
38 
39 /* FIXME: eventually, we probably need to add an error stack
40  accessable via gnc_book_get_xml_io_error() a la binfile. */
41 
43 gboolean qof_session_load_from_xml_file(QofBook *, const char * filename);
44 
48 gboolean gnc_is_xml_data_file(const gchar *name);
49 
50 #endif /* IO_GNCXML_H */
gboolean qof_session_load_from_xml_file(QofBook *, const char *filename)
Definition: io-gncxml-v1.c:340
gboolean gnc_is_xml_data_file(const gchar *name)
Definition: io-gncxml-v1.c:389