GnuCash 2.4.99
gnc-xml.h
00001 /********************************************************************\
00002  * gnc-xml.h -- api for gnucash xml i/o                             *
00003  *                                                                  *
00004  * Copyright (C) 2001 James LewisMoss <dres@debian.org>             *
00005  *                                                                  *
00006  * This program is free software; you can redistribute it and/or    *
00007  * modify it under the terms of the GNU General Public License as   *
00008  * published by the Free Software Foundation; either version 2 of   *
00009  * the License, or (at your option) any later version.              *
00010  *                                                                  *
00011  * This program is distributed in the hope that it will be useful,  *
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of   *
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    *
00014  * GNU General Public License for more details.                     *
00015  *                                                                  *
00016  * You should have received a copy of the GNU General Public License*
00017  * along with this program; if not, contact:                        *
00018  *                                                                  *
00019  * Free Software Foundation           Voice:  +1-617-542-5942       *
00020  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
00021  * Boston, MA  02110-1301,  USA       gnu@gnu.org                   *
00022  *                                                                  *
00023 \********************************************************************/
00024 
00025 #ifndef GNC_XML_H
00026 #define GNC_XML_H
00027 
00028 #include "SchedXaction.h"
00029 #include "gnc-engine.h"
00030 #include "gnc-pricedb.h"
00031 #include "gnc-budget.h"
00032 #include "gnc-xml-helper.h"
00033 #include "sixtp.h"
00034 
00035 xmlNodePtr gnc_account_dom_tree_create(Account *act, gboolean exporting,
00036                                        gboolean allow_incompat);
00037 sixtp* gnc_account_sixtp_parser_create(void);
00038 
00039 xmlNodePtr gnc_book_dom_tree_create(QofBook *book);
00040 sixtp* gnc_book_sixtp_parser_create(void);
00041 sixtp* gnc_book_id_sixtp_parser_create(void);
00042 sixtp* gnc_book_slots_sixtp_parser_create(void);
00043 
00044 xmlNodePtr gnc_commodity_dom_tree_create(const gnc_commodity *com);
00045 sixtp* gnc_commodity_sixtp_parser_create(void);
00046 
00047 sixtp* gnc_freqSpec_sixtp_parser_create(void);
00048 
00049 xmlNodePtr gnc_lot_dom_tree_create(GNCLot *);
00050 sixtp* gnc_lot_sixtp_parser_create(void);
00051 
00052 xmlNodePtr gnc_pricedb_dom_tree_create(GNCPriceDB *db);
00053 sixtp* gnc_pricedb_sixtp_parser_create(void);
00054 
00055 xmlNodePtr gnc_schedXaction_dom_tree_create( SchedXaction *sx );
00056 sixtp* gnc_schedXaction_sixtp_parser_create(void);
00057 
00058 xmlNodePtr gnc_budget_dom_tree_create( GncBudget *bgt );
00059 sixtp* gnc_budget_sixtp_parser_create(void);
00060 
00061 xmlNodePtr gnc_transaction_dom_tree_create(Transaction *txn);
00062 sixtp* gnc_transaction_sixtp_parser_create(void);
00063 
00064 sixtp* gnc_template_transaction_sixtp_parser_create(void);
00065 
00066 #endif /* GNC_XML_H */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines