Files |
file | import-account-matcher.h |
| Generic and very flexible account matcher/picker.
|
file | import-backend.h |
| Generic importer backend interface.
|
file | import-commodity-matcher.h |
| A Generic commodity matcher/picker.
|
file | import-main-matcher.h |
| Transaction matcher main window.
|
file | import-match-map.h |
| Generic import mapper service, maps strings->accounts.
|
file | import-match-picker.h |
| The transaction match picker dialog interface.
|
file | import-settings.h |
| Import preference handling. User preference interface for transaction matching (for both the gui and the backend).
|
file | import-utilities.h |
| Utility functions for writing import modules.
|
Data Structures |
struct | _accountpickerdialog |
struct | _genimportsettings |
struct | _GncImportMatchMap |
struct | _main_matcher_info |
struct | _matchinfo |
struct | _split_record |
struct | _transactioninfo |
struct | _transpickerdialog |
struct | account_info |
struct | account_probability |
struct | account_token_count |
struct | token_accounts_info |
Some well-known categories |
NOTE: You DO NOT have to use these values in your importer -- these are just "well known" values, not "mandatory" values. You are free to use these if they apply, map your own fields to these labels, or create your own category strings.
|
#define | GNCIMPORT_DESC "desc" |
#define | GNCIMPORT_MEMO "memo" |
#define | GNCIMPORT_PAYEE "payee" |
Defines |
#define | _GNU_SOURCE |
#define | NUM_COLUMNS_CLIST 4 |
#define | IMPORT_PAGE "Online Banking & Importing" |
#define | BAYES_OPTION "Use Bayesian Matching?" |
#define | NUM_COLUMNS_DOWNLOADED_CLIST 9 |
#define | DOWNLOADED_CLIST_ACTION_ADD 5 |
#define | DOWNLOADED_CLIST_ACTION_CLEAR 6 |
#define | DOWNLOADED_CLIST_ACTION_EDIT 7 |
#define | DOWNLOADED_CLIST_ACTION_INFO 8 |
#define | IMAP_FRAME "import-map" |
#define | IMAP_FRAME_BAYES "import-map-bayes" |
#define | PROBABILITY_FACTOR 100000 |
#define | threshold (.90 * PROBABILITY_FACTOR) |
#define | NUM_COLUMNS_MATCHER_CLIST 5 |
#define | MATCHER_PREF_PAGE "Online Banking & Importing" |
#define | DEFAULT_CLEAR_THRESHOLD 6 |
#define | DEFAULT_ADD_THRESHOLD 3 |
#define | DEFAULT_DISPLAY_THRESHOLD 1 |
#define | DEFAULT_ATM_FEE_THRESHOLD 2.00 |
#define | STRING_FIELD_SIZE 256 |
Typedefs |
typedef _transactioninfo | GNCImportTransInfo |
typedef _matchinfo | GNCImportMatchInfo |
typedef enum _action | GNCImportAction |
typedef _main_matcher_info | GNCImportMainMatcher |
typedef _GncImportMatchMap | GncImportMatchMap |
typedef _transpickerdialog | GNCImportMatchPicker |
typedef _genimportsettings | GNCImportSettings |
typedef _split_record | split_record |
Enumerations |
enum | _action {
GNCImport_SKIP,
GNCImport_ADD,
GNCImport_CLEAR,
GNCImport_EDIT,
GNCImport_LAST_ACTION,
GNCImport_INVALID_ACTION
} |
Functions |
Account * | gnc_import_select_account (char *account_online_id_value, char auto_create, char *account_human_description, gnc_commodity *new_account_default_commodity, GNCAccountType new_account_default_type, Account *default_selection, gboolean *ok_pressed) |
GList * | gnc_import_TransInfo_get_match_list (const GNCImportTransInfo *info) |
Transaction * | gnc_import_TransInfo_get_trans (const GNCImportTransInfo *info) |
gboolean | gnc_import_TransInfo_is_balanced (const GNCImportTransInfo *info) |
Split * | gnc_import_TransInfo_get_fsplit (const GNCImportTransInfo *info) |
GNCImportMatchInfo * | gnc_import_TransInfo_get_selected_match (const GNCImportTransInfo *info) |
void | gnc_import_TransInfo_set_selected_match (GNCImportTransInfo *info, GNCImportMatchInfo *match, gboolean selected_manually) |
gboolean | gnc_import_TransInfo_get_match_selected_manually (const GNCImportTransInfo *info) |
GNCImportAction | gnc_import_TransInfo_get_action (const GNCImportTransInfo *info) |
void | gnc_import_TransInfo_set_action (GNCImportTransInfo *info, GNCImportAction action) |
Account * | gnc_import_TransInfo_get_destacc (const GNCImportTransInfo *info) |
void | gnc_import_TransInfo_set_destacc (GNCImportTransInfo *info, Account *acc, gboolean selected_manually) |
gboolean | gnc_import_TransInfo_get_destacc_selected_manually (const GNCImportTransInfo *info) |
Split * | gnc_import_MatchInfo_get_split (const GNCImportMatchInfo *info) |
gint | gnc_import_MatchInfo_get_probability (const GNCImportMatchInfo *info) |
void | gnc_import_TransInfo_delete (GNCImportTransInfo *info) |
GdkPixmap * | gen_probability_pixmap (gint score_original, GNCImportSettings *settings, GtkWidget *widget) |
void | gnc_import_find_split_matches (GNCImportTransInfo *trans_info, gint process_threshold, double fuzzy_amount_difference) |
void | gnc_import_process_trans_clist (GtkCList *clist, GncImportMatchMap *matchmap) |
gboolean | gnc_import_exists_online_id (Transaction *trans) |
GNCImportTransInfo * | gnc_import_TransInfo_new (Transaction *trans, GncImportMatchMap *matchmap) |
void | gnc_import_TransInfo_init_matches (GNCImportTransInfo *trans_info, GNCImportSettings *settings) |
gboolean | gnc_import_TransInfo_refresh_destacc (GNCImportTransInfo *transaction_info, GncImportMatchMap *matchmap) |
gnc_commodity * | gnc_import_select_commodity (char *exchange_code, char auto_create, char *default_fullname, char *default_mnemonic) |
void | gnc_gen_trans_list_delete (GNCImportMainMatcher *info) |
GNCImportMainMatcher * | gnc_gen_trans_list_new (GtkWidget *parent, const gchar *heading, gboolean all_from_same_account) |
gboolean | gnc_gen_trans_list_run (GNCImportMainMatcher *info) |
void | gnc_gen_trans_list_add_trans (GNCImportMainMatcher *gui, Transaction *trans) |
GncImportMatchMap * | gnc_imap_create_from_account (Account *acc) |
GncImportMatchMap * | gnc_imap_create_from_book (GNCBook *book) |
void | gnc_imap_destroy (GncImportMatchMap *imap) |
void | gnc_imap_clear (GncImportMatchMap *imap) |
Account * | gnc_imap_find_account (GncImportMatchMap *imap, const char *category, const char *key) |
void | gnc_imap_add_account (GncImportMatchMap *imap, const char *category, const char *key, Account *acc) |
Account * | gnc_imap_find_account_bayes (GncImportMatchMap *imap, GList *tokens) |
void | gnc_imap_add_account_bayes (GncImportMatchMap *imap, GList *tokens, Account *acc) |
void | gnc_import_match_picker_run_and_close (GNCImportTransInfo *transaction_info) |
GNCImportSettings * | gnc_import_Settings_new (void) |
void | gnc_import_Settings_delete (GNCImportSettings *settings) |
double | gnc_import_Settings_get_fuzzy_amount (GNCImportSettings *settings) |
gboolean | gnc_import_Settings_get_action_skip_enabled (GNCImportSettings *settings) |
gboolean | gnc_import_Settings_get_action_add_enabled (GNCImportSettings *settings) |
gboolean | gnc_import_Settings_get_action_edit_enabled (GNCImportSettings *settings) |
gboolean | gnc_import_Settings_get_action_clear_enabled (GNCImportSettings *settings) |
gint | gnc_import_Settings_get_clear_threshold (GNCImportSettings *settings) |
gint | gnc_import_Settings_get_add_threshold (GNCImportSettings *settings) |
gint | gnc_import_Settings_get_display_threshold (GNCImportSettings *settings) |
const gchar * | gnc_import_get_acc_online_id (Account *account) |
void | gnc_import_set_acc_online_id (Account *account, const gchar *string_value) |
const gchar * | gnc_import_get_trans_online_id (Transaction *transaction) |
void | gnc_import_set_trans_online_id (Transaction *transaction, const gchar *string_value) |
SCM | scm_gnc_file_log_replay () |
char * | libgncmod_log_replay_LTX_gnc_module_path (void) |
char * | libgncmod_log_replay_LTX_gnc_module_description (void) |
int | libgncmod_log_replay_LTX_gnc_module_init (int refcount) |
int | libgncmod_log_replay_LTX_gnc_module_end (int refcount) |
SCM | scm_gnc_file_ofx_import () |
int | ofx_proc_security_cb (const struct OfxSecurityData data, void *security_user_data) |
int | ofx_proc_transaction_cb (struct OfxTransactionData data, void *transaction_user_data) |
int | ofx_proc_account_cb (struct OfxAccountData data, void *account_user_data) |
void | gnc_file_ofx_import (void) |
char * | libgncmod_ofx_LTX_gnc_module_path (void) |
char * | libgncmod_ofx_LTX_gnc_module_description (void) |
int | libgncmod_ofx_LTX_gnc_module_init (int refcount) |
int | libgncmod_ofx_LTX_gnc_module_end (int refcount) |
Variables |
const char * | delim |
int | libgncmod_log_replay_LTX_gnc_module_system_interface = 0 |
int | libgncmod_log_replay_LTX_gnc_module_current = 0 |
int | libgncmod_log_replay_LTX_gnc_module_revision = 0 |
int | libgncmod_log_replay_LTX_gnc_module_age = 0 |
GNCImportMainMatcher * | gnc_ofx_importer_gui = NULL |
int | libgncmod_ofx_LTX_gnc_module_system_interface = 0 |
int | libgncmod_ofx_LTX_gnc_module_current = 0 |
int | libgncmod_ofx_LTX_gnc_module_revision = 0 |
int | libgncmod_ofx_LTX_gnc_module_age = 0 |