|
Virtual Functions for Backends |
int | AB_ImExporter_Import (AB_IMEXPORTER *ie, AB_IMEXPORTER_CONTEXT *ctx, GWEN_BUFFEREDIO *bio, GWEN_DB_NODE *dbProfile) |
int | AB_ImExporter_Export (AB_IMEXPORTER *ie, AB_IMEXPORTER_CONTEXT *ctx, GWEN_BUFFEREDIO *bio, GWEN_DB_NODE *dbProfile) |
int | AB_ImExporter_ImportFile (AB_IMEXPORTER *ie, AB_IMEXPORTER_CONTEXT *ctx, const char *fname, GWEN_DB_NODE *dbProfile) |
int | AB_ImExporter_CheckFile (AB_IMEXPORTER *ie, const char *fname) |
Im-/export Context |
A context contains the list of accounts for which data has been imported or which are to be exported. These accounts each contain a list of imported/to be exported transactions.
|
AB_IMEXPORTER_CONTEXT * | AB_ImExporterContext_new () |
void | AB_ImExporterContext_free (AB_IMEXPORTER_CONTEXT *iec) |
int | AB_ImExporterContext_toDb (const AB_IMEXPORTER_CONTEXT *iec, GWEN_DB_NODE *db) |
AB_IMEXPORTER_CONTEXT * | AB_ImExporterContext_fromDb (GWEN_DB_NODE *db) |
void | AB_ImExporterContext_AddAccountInfo (AB_IMEXPORTER_CONTEXT *iec, AB_IMEXPORTER_ACCOUNTINFO *iea) |
AB_IMEXPORTER_ACCOUNTINFO * | AB_ImExporterContext_GetFirstAccountInfo (AB_IMEXPORTER_CONTEXT *iec) |
AB_IMEXPORTER_ACCOUNTINFO * | AB_ImExporterContext_GetNextAccountInfo (AB_IMEXPORTER_CONTEXT *iec) |
AB_IMEXPORTER_ACCOUNTINFO * | AB_ImExporterContext_FindAccountInfo (AB_IMEXPORTER_CONTEXT *iec, const char *bankCode, const char *accountNumber) |
AB_IMEXPORTER_ACCOUNTINFO * | AB_ImExporterContext_GetAccountInfo (AB_IMEXPORTER_CONTEXT *iec, const char *bankCode, const char *accountNumber) |
void | AB_ImExporterContext_AddTransaction (AB_IMEXPORTER_CONTEXT *iec, AB_TRANSACTION *t) |
Im-/export Account Info |
Such a structure contains the list of imported/to be exported transactions for a given account.
|
AB_IMEXPORTER_ACCOUNTINFO * | AB_ImExporterAccountInfo_new () |
void | AB_ImExporterAccountInfo_free (AB_IMEXPORTER_ACCOUNTINFO *iea) |
AB_IMEXPORTER_ACCOUNTINFO * | AB_ImExporterAccountInfo_dup (const AB_IMEXPORTER_ACCOUNTINFO *oldiea) |
void | AB_ImExporterAccountInfo_AddTransaction (AB_IMEXPORTER_ACCOUNTINFO *iea, AB_TRANSACTION *t) |
const AB_TRANSACTION * | AB_ImExporterAccountInfo_GetFirstTransaction (AB_IMEXPORTER_ACCOUNTINFO *iea) |
const AB_TRANSACTION * | AB_ImExporterAccountInfo_GetNextTransaction (AB_IMEXPORTER_ACCOUNTINFO *iea) |
void | AB_ImExporterAccountInfo_AddAccountStatus (AB_IMEXPORTER_ACCOUNTINFO *iea, AB_ACCOUNT_STATUS *st) |
AB_ACCOUNT_STATUS * | AB_ImExporterAccountInfo_GetFirstAccountStatus (AB_IMEXPORTER_ACCOUNTINFO *iea) |
AB_ACCOUNT_STATUS * | AB_ImExporterAccountInfo_GetNextAccountStatus (AB_IMEXPORTER_ACCOUNTINFO *iea) |
void | AB_ImExporterAccountInfo_AddStandingOrder (AB_IMEXPORTER_ACCOUNTINFO *iea, AB_TRANSACTION *t) |
const AB_TRANSACTION * | AB_ImExporterAccountInfo_GetFirstStandingOrder (AB_IMEXPORTER_ACCOUNTINFO *iea) |
const AB_TRANSACTION * | AB_ImExporterAccountInfo_GetNextStandingOrder (AB_IMEXPORTER_ACCOUNTINFO *iea) |
void | AB_ImExporterAccountInfo_AddTransfer (AB_IMEXPORTER_ACCOUNTINFO *iea, AB_TRANSACTION *t) |
const AB_TRANSACTION * | AB_ImExporterAccountInfo_GetFirstTransfer (AB_IMEXPORTER_ACCOUNTINFO *iea) |
const AB_TRANSACTION * | AB_ImExporterAccountInfo_GetNextTransfer (AB_IMEXPORTER_ACCOUNTINFO *iea) |
void | AB_ImExporterAccountInfo_AddDatedTransfer (AB_IMEXPORTER_ACCOUNTINFO *iea, AB_TRANSACTION *t) |
const AB_TRANSACTION * | AB_ImExporterAccountInfo_GetFirstDatedTransfer (AB_IMEXPORTER_ACCOUNTINFO *iea) |
const AB_TRANSACTION * | AB_ImExporterAccountInfo_GetNextDatedTransfer (AB_IMEXPORTER_ACCOUNTINFO *iea) |
const char * | AB_ImExporterAccountInfo_GetBankCode (const AB_IMEXPORTER_ACCOUNTINFO *iea) |
void | AB_ImExporterAccountInfo_SetBankCode (AB_IMEXPORTER_ACCOUNTINFO *iea, const char *s) |
const char * | AB_ImExporterAccountInfo_GetBankName (const AB_IMEXPORTER_ACCOUNTINFO *iea) |
void | AB_ImExporterAccountInfo_SetBankName (AB_IMEXPORTER_ACCOUNTINFO *iea, const char *s) |
const char * | AB_ImExporterAccountInfo_GetAccountNumber (const AB_IMEXPORTER_ACCOUNTINFO *iea) |
void | AB_ImExporterAccountInfo_SetAccountNumber (AB_IMEXPORTER_ACCOUNTINFO *iea, const char *s) |
const char * | AB_ImExporterAccountInfo_GetAccountName (const AB_IMEXPORTER_ACCOUNTINFO *iea) |
void | AB_ImExporterAccountInfo_SetAccountName (AB_IMEXPORTER_ACCOUNTINFO *iea, const char *s) |
const char * | AB_ImExporterAccountInfo_GetOwner (const AB_IMEXPORTER_ACCOUNTINFO *iea) |
void | AB_ImExporterAccountInfo_SetOwner (AB_IMEXPORTER_ACCOUNTINFO *iea, const char *s) |
AB_ACCOUNT_TYPE | AB_ImExporterAccountInfo_GetType (const AB_IMEXPORTER_ACCOUNTINFO *iea) |
void | AB_ImExporterAccountInfo_SetType (AB_IMEXPORTER_ACCOUNTINFO *iea, AB_ACCOUNT_TYPE t) |
const char * | AB_ImExporterAccountInfo_GetDescription (const AB_IMEXPORTER_ACCOUNTINFO *iea) |
void | AB_ImExporterAccountInfo_SetDescription (AB_IMEXPORTER_ACCOUNTINFO *iea, const char *s) |
Helper Functions |
These functions are most likely used by implementations of im/exporters.
|
void | AB_ImExporter_Utf8ToDta (const char *p, int size, GWEN_BUFFER *buf) |
void | AB_ImExporter_DtaToUtf8 (const char *p, int size, GWEN_BUFFER *buf) |
void | AB_ImExporter_Iso8859_1ToUtf8 (const char *p, int size, GWEN_BUFFER *buf) |
int | AH_ImExporter_DbFromIso8859_1ToUtf8 (GWEN_DB_NODE *db) |
GWEN_TIME * | AB_ImExporter_DateFromString (const char *p, const char *tmpl, int inUtc) |
Typedefs |
typedef AB_IMEXPORTER | AB_IMEXPORTER |
typedef AB_IMEXPORTER_CONTEXT | AB_IMEXPORTER_CONTEXT |
typedef AB_IMEXPORTER_ACCOUNTINFO | AB_IMEXPORTER_ACCOUNTINFO |
Functions |
AB_BANKING * | AB_ImExporter_GetBanking (const AB_IMEXPORTER *ie) |
const char * | AB_ImExporter_GetName (const AB_IMEXPORTER *ie) |
This group contains a generic importer/exporter.
When importing this group reads transactions and accounts from a given stream (in most cases a file) and stores them in a given importer context.
The application can later browse through all transactions stored within the given context and import them into its own database as needed.