GnuCash
2.6.99
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
backend
xml
io-gncxml-gen.h
1
/********************************************************************\
2
* gnc-xml-gen.h -- api for gnucash xml 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_GNCXML_GEN_H
26
#define IO_GNCXML_GEN_H
27
28
#include <glib.h>
29
#include "sixtp.h"
30
31
typedef
gboolean (*gxpf_callback)(
const
char
*tag, gpointer parsedata,
32
gpointer data);
33
34
struct
gxpf_data_struct
35
{
36
gxpf_callback cb;
37
gpointer parsedata;
38
gpointer bookdata;
39
};
40
41
typedef
struct
gxpf_data_struct
gxpf_data
;
42
43
gboolean
44
gnc_xml_parse_file(
sixtp
*top_parser,
const
char
*filename,
45
gxpf_callback callback, gpointer parsedata,
46
gpointer bookdata);
47
48
gboolean
49
gnc_xml_parse_fd(
sixtp
*top_parser, FILE *fd,
50
gxpf_callback callback, gpointer parsedata,
51
gpointer bookdata);
52
53
#endif
/* IO_GNCXML_GEN_H */
sixtp
Definition:
sixtp.h:93
gxpf_data_struct
Definition:
io-gncxml-gen.h:34
Generated by
1.8.6