~siretart/gnucash/ubuntu-fullsource

« back to all changes in this revision

Viewing changes to src/import-export/qif/qif-parse.h

  • Committer: Reinhard Tartler
  • Date: 2008-08-03 07:25:46 UTC
  • Revision ID: siretart@tauware.de-20080803072546-y6p8xda8zpfi62ys
import gnucash_2.2.4.orig.tar.gz

The original tarball had the md5sum: 27e660297dc5b8ce574515779d05a5a5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * qif-parse.h -- routines for parsing pieces of a QIF file
 
3
 *
 
4
 * Written By:  Derek Atkins  <derek@ihtfp.com>
 
5
 * Copyright (c) 2003 Derek Atkins <warlord@MIT.EDU>
 
6
 *
 
7
 * This program is free software; you can redistribute it and/or
 
8
 * modify it under the terms of the GNU General Public License as
 
9
 * published by the Free Software Foundation; either version 2 of
 
10
 * the License, or (at your option) any later version.
 
11
 *
 
12
 * This program is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 * GNU General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU General Public License
 
18
 * along with this program; if not, contact:
 
19
 *
 
20
 * Free Software Foundation           Voice:  +1-617-542-5942
 
21
 * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652
 
22
 * Boston, MA  02110-1301,  USA       gnu@gnu.org
 
23
 */
 
24
 
 
25
#ifndef QIF_PARSE_H
 
26
#define QIF_PARSE_H
 
27
 
 
28
#include "qif-import.h"
 
29
 
 
30
void qif_register_handler(QifType type, QifHandler handler);
 
31
void qif_parse_bangtype(QifContext ctx, const char *line);
 
32
 
 
33
gboolean
 
34
qif_parse_split_category(const char* str,
 
35
                         char** cat, gboolean *cat_is_acct, char** cat_class,
 
36
                         char** miscx_cat, gboolean *miscx_cat_is_acct,
 
37
                         char **miscx_class);
 
38
 
 
39
gboolean qif_parse_numeric(QifLine line, gnc_numeric *num);
 
40
QifRecnFlag qif_parse_cleared(QifLine line);
 
41
QifAction qif_parse_action(QifLine line);
 
42
 
 
43
/* The caller should never destroy this list */
 
44
GList * qif_parse_acct_type(const char *str, gint lineno);
 
45
GList * qif_parse_acct_type_guess(QifType type);
 
46
 
 
47
/* Parse all objects */
 
48
void qif_parse_all(QifContext ctx, gpointer ui_args);
 
49
 
 
50
#endif /* QIF_PARSE_H */