GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
io-utils.h
1 /********************************************************************\
2  * io-utils.h -- api for gnucash file i/o *
3  * *
4  * Copyright (C) 2001 James LewisMoss <[email protected]> *
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 
25 #ifndef IO_UTILS_H
26 #define IO_UTILS_H
27 
28 #include <stdio.h>
29 
30 #include "io-gncxml-v2.h"
31 #include "qof.h"
32 
33 gboolean write_account_tree(FILE *out, Account *root, sixtp_gdv2 *gd);
34 gboolean write_accounts(FILE *out, QofBook *book, sixtp_gdv2 *gd);
35 gboolean write_book_parts(FILE *out, QofBook *book);
36 gboolean write_commodities(FILE *out, QofBook *book, sixtp_gdv2 *gd);
37 
38 gboolean write_emacs_trailer(FILE *out);
39 
40 
41 #endif /* IO_UTILS_H */
api for GnuCash version 2 XML-based file format