GnuCash  5.6-150-g038405b370+
io-utils.h
1 /********************************************************************\
2  * io-utils.h -- api for gnucash file i/o *
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 IO_UTILS_H
26 #define IO_UTILS_H
27 #include <stdio.h>
28 #include "qof.h"
29 
30 #include "io-gncxml-v2.h"
31 
32 gboolean write_account_tree (FILE* out, Account* root, sixtp_gdv2* gd);
33 gboolean write_accounts (FILE* out, QofBook* book, sixtp_gdv2* gd);
34 gboolean write_book_parts (FILE* out, QofBook* book);
35 gboolean write_commodities (FILE* out, QofBook* book, sixtp_gdv2* gd);
36 
37 
38 #endif /* IO_UTILS_H */
STRUCTS.
api for GnuCash version 2 XML-based file format