~veselkovsd/homebank/ignore_week-end

« back to all changes in this revision

Viewing changes to src/hb-import.h

  • Committer: Maxime Doyen
  • Date: 2020-01-09 20:51:22 UTC
  • Revision ID: homebank@free.fr-20200109205122-160pgd4y7hirpins
5.3 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  HomeBank -- Free, easy, personal accounting for everyone.
2
 
 *  Copyright (C) 1995-2019 Maxime DOYEN
 
2
 *  Copyright (C) 1995-2020 Maxime DOYEN
3
3
 *
4
4
 *  This file is part of HomeBank.
5
5
 *
33
33
#define DST_ACC_SKIP            100010
34
34
 
35
35
 
 
36
/* csv format validator */
 
37
enum
 
38
{
 
39
        CSV_STRING,
 
40
        CSV_DATE,
 
41
        CSV_INT,
 
42
        CSV_DOUBLE
 
43
};
 
44
 
 
45
 
 
46
 
 
47
 
 
48
 
36
49
struct _generic_file
37
50
{
38
51
        guint32      key;
59
72
        gboolean        is_ccard;
60
73
        gboolean        is_unamed;              //if src account has no name into file
61
74
        gdouble         initial;
62
 
        gint            n_txnall;               //nb of txn total
63
 
        gint            n_txnimp;               //nb of txn to import
64
 
        gint            n_txnbaddate;   //nb of txn with bad date
65
 
        gint            n_txnduplicate; //nb of txn with duplicate
 
75
        guint           n_txnall;               //nb of txn total
 
76
        guint           n_txnimp;               //nb of txn to import
 
77
        guint           n_txnbaddate;   //nb of txn with bad date
 
78
        guint           n_txnsimimp;    //nb of txn similar import
 
79
        guint           n_txnsimdst;    //nb of txn similar dstacccount
66
80
};
67
81
 
68
82