import-match-map.h File Reference


Detailed Description

Generic import mapper service, maps strings->accounts.

An import mapper service that stores Account Maps for the generic importer. This allows importers to map various "strings" to Gnucash accounts in a generic manner.

Author:
Copyright (C) 2002,2003 Derek Atkins <derek@ihtfp.com>

Definition in file import-match-map.h.

#include "Account.h"
#include "gnc-book.h"

Go to the source code of this file.

Defines

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"

Typedefs

typedef _GncImportMatchMap GncImportMatchMap

Functions

void gnc_imap_destroy (GncImportMatchMap *imap)
void gnc_imap_clear (GncImportMatchMap *imap)
Accountgnc_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)
Accountgnc_imap_find_account_bayes (GncImportMatchMap *imap, GList *tokens)
void gnc_imap_add_account_bayes (GncImportMatchMap *imap, GList *tokens, Account *acc)
GncImportMatchMapgnc_imap_create_from_account (Account *acc)
GncImportMatchMapgnc_imap_create_from_book (GNCBook *book)


Generated on Mon Sep 8 05:04:32 2008 for GnuCash by  doxygen 1.5.2