GnuCash 2.4.99
sixtp-parsers.h
00001 /********************************************************************\
00002  * sixtp-parsers.h -- api for gnucash sixtp parsers                 *
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 SIXTP_PARSERS_H
00026 #define SIXTP_PARSERS_H
00027 
00028 #include "sixtp.h"
00029 
00030 /* Create a parser that will turn the entire sub-tree into a DOM tree
00031    an pass it in as (don't put anything into parent_data)
00032    you must deal with the xml tree in *result.
00033 */
00034 sixtp* sixtp_dom_parser_new(sixtp_end_handler ender,
00035                             sixtp_result_handler cleanup_result_by_default_func,
00036                             sixtp_result_handler cleanup_result_on_fail_func);
00037 
00038 #endif /* _SIXTP_PARSERS_H_ */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines