aqbanking
5.7.8
|
Functions To Be Used by Backends | |
uint32_t | AB_Job_GetIdForProvider (const AB_JOB *j) |
void | AB_Job_SetIdForProvider (AB_JOB *j, uint32_t i) |
GWEN_DB_NODE * | AB_Job_GetProviderData (AB_JOB *j, AB_PROVIDER *pro) |
void | AB_Job_SetResultText (AB_JOB *j, const char *s) |
void | AB_Job_SetUsedTan (AB_JOB *j, const char *s) |
void | AB_Job_LogRaw (AB_JOB *j, const char *txt) |
uint32_t AB_Job_GetIdForProvider | ( | const AB_JOB * | j | ) |
This id can be used by a AB_PROVIDER to map AB_Jobs to whatever the provider uses. This id is not used by AB_Banking itself.
GWEN_DB_NODE* AB_Job_GetProviderData | ( | AB_JOB * | j, |
AB_PROVIDER * | pro | ||
) |
Store backend specific data with a job. This data is not specific to an application, it will rather be used with every application (since it doesn't depend on the application but on the backend).
j | pointer to the AB_JOB object |
pro | pointer to the backend for which the data is to be returned |
void AB_Job_LogRaw | ( | AB_JOB * | j, |
const char * | txt | ||
) |
This function should only be used when copying logs from a backend-private job object (e.g. AqHBCI internally uses its own job types) to an AqBanking job.
j | job to operate on |
txt | the text to log (it is expected to have the same format as logs created via AB_Job_Log). |
void AB_Job_SetIdForProvider | ( | AB_JOB * | j, |
uint32_t | i | ||
) |
void AB_Job_SetResultText | ( | AB_JOB * | j, |
const char * | s | ||
) |
void AB_Job_SetUsedTan | ( | AB_JOB * | j, |
const char * | s | ||
) |