Simplified API
[API for Applications]


Mapping Application Accounts to Online Accounts

Functions in this group provide an optional service for account mapping. Most applications assign unique ids to their own accounts. This unique id can be mapped to an account of AqBanking.

void AB_Banking_SetAccountAlias (AB_BANKING *ab, AB_ACCOUNT *a, const char *alias, uint32_t guiid)
AB_ACCOUNTAB_Banking_GetAccountByAlias (AB_BANKING *ab, const char *alias, uint32_t guiid)
int AB_Banking_ExportWithProfile (AB_BANKING *ab, const char *exporterName, AB_IMEXPORTER_CONTEXT *ctx, const char *profileName, const char *profileFile, GWEN_IO_LAYER *io, uint32_t guiid)
int AB_Banking_ImportWithProfile (AB_BANKING *ab, const char *importerName, AB_IMEXPORTER_CONTEXT *ctx, const char *profileName, const char *profileFile, GWEN_IO_LAYER *io, uint32_t guiid)

Function Documentation

int AB_Banking_ExportWithProfile ( AB_BANKING ab,
const char *  exporterName,
AB_IMEXPORTER_CONTEXT ctx,
const char *  profileName,
const char *  profileFile,
GWEN_IO_LAYER *  io,
uint32_t  guiid 
)

AB_ACCOUNT* AB_Banking_GetAccountByAlias ( AB_BANKING ab,
const char *  alias,
uint32_t  guiid 
)

This function returns the AqBanking account to which the given alias (=unique id of your application's own account data) has been mapped.

AqBanking remains the owner of the object returned (if any), so you must not free it.

Please also note that the object returned is only valid until AB_Banking_Fini() has been called (or until the corresponding backend for this particular account has been deactivated).

Returns:
corresponding AqBanking (or 0 if none)
Parameters:
ab AqBanking main object
alias unique id of your application's own account structure

int AB_Banking_ImportWithProfile ( AB_BANKING ab,
const char *  importerName,
AB_IMEXPORTER_CONTEXT ctx,
const char *  profileName,
const char *  profileFile,
GWEN_IO_LAYER *  io,
uint32_t  guiid 
)

void AB_Banking_SetAccountAlias ( AB_BANKING ab,
AB_ACCOUNT a,
const char *  alias,
uint32_t  guiid 
)

Sets an alias for the given AqBanking account. You can later use AB_Banking_GetAccountByAlias to refer to an online account by using the unique id of your application's account.

AqBanking separates the aliases for each application.

Parameters:
ab AqBanking main object
a online account of AqBanking you wish to map your account to
alias unique id of your application's own account structure


Generated on Wed Aug 26 20:51:09 2009 for aqbanking by  doxygen 1.5.9