aqbanking
5.7.8
|
Go to the source code of this file.
Functions | |
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) |
AB_ACCOUNT * | AB_Banking_GetAccountByAlias (AB_BANKING *ab, const char *alias) |
AB_ACCOUNT* AB_Banking_GetAccountByAlias | ( | AB_BANKING * | ab, |
const char * | alias | ||
) |
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).
ab | AqBanking main object |
alias | unique id of your application's own account structure |
void AB_Banking_SetAccountAlias | ( | AB_BANKING * | ab, |
AB_ACCOUNT * | a, | ||
const char * | alias | ||
) |
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.
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 |