aqbanking  5.7.8
Macros | Typedefs | Enumerations | Functions
provider_be.h File Reference

This file is used by provider backends. More...

#include <aqbanking/provider.h>
#include <aqbanking/user.h>
#include <gwenhywfar/plugin.h>
#include <gwenhywfar/db.h>
#include <gwenhywfar/dialog.h>

Go to the source code of this file.

Macros

#define AB_PROVIDER_FLAGS_HAS_NEWUSER_DIALOG   0x00000001
 
#define AB_PROVIDER_FLAGS_HAS_EDITUSER_DIALOG   0x00000002
 
#define AB_PROVIDER_FLAGS_HAS_NEWACCOUNT_DIALOG   0x00000004
 
#define AB_PROVIDER_FLAGS_HAS_EDITACCOUNT_DIALOG   0x00000008
 
#define AB_PROVIDER_FLAGS_HAS_USERTYPE_DIALOG   0x00000010
 

Typedefs

typedef AB_PROVIDER *(* AB_PLUGIN_PROVIDER_FACTORY_FN) (GWEN_PLUGIN *pl, AB_BANKING *ab)
 
Prototypes For Virtual Functions
typedef int(* AB_PROVIDER_INIT_FN) (AB_PROVIDER *pro, GWEN_DB_NODE *dbData)
 
typedef int(* AB_PROVIDER_FINI_FN) (AB_PROVIDER *pro, GWEN_DB_NODE *dbData)
 
typedef int(* AB_PROVIDER_UPDATEJOB_FN) (AB_PROVIDER *pro, AB_JOB *j)
 
typedef int(* AB_PROVIDER_ADDJOB_FN) (AB_PROVIDER *pro, AB_JOB *j)
 
typedef int(* AB_PROVIDER_EXECUTE_FN) (AB_PROVIDER *pro, AB_IMEXPORTER_CONTEXT *ctx)
 
typedef int(* AB_PROVIDER_RESETQUEUE_FN) (AB_PROVIDER *pro)
 
typedef int(* AB_PROVIDER_EXTEND_USER_FN) (AB_PROVIDER *pro, AB_USER *u, AB_PROVIDER_EXTEND_MODE um, GWEN_DB_NODE *db)
 
typedef int(* AB_PROVIDER_EXTEND_ACCOUNT_FN) (AB_PROVIDER *pro, AB_ACCOUNT *a, AB_PROVIDER_EXTEND_MODE um, GWEN_DB_NODE *db)
 
typedef int(* AB_PROVIDER_UPDATE_FN) (AB_PROVIDER *pro, uint32_t lastVersion, uint32_t currentVersion)
 
typedef GWEN_DIALOG *(* AB_PROVIDER_GET_NEWUSER_DIALOG_FN) (AB_PROVIDER *pro, int i)
 
typedef GWEN_DIALOG *(* AB_PROVIDER_GET_EDITUSER_DIALOG_FN) (AB_PROVIDER *pro, AB_USER *u)
 
typedef GWEN_DIALOG *(* AB_PROVIDER_GET_NEWACCOUNT_DIALOG_FN) (AB_PROVIDER *pro)
 
typedef GWEN_DIALOG *(* AB_PROVIDER_GET_EDITACCOUNT_DIALOG_FN) (AB_PROVIDER *pro, AB_ACCOUNT *a)
 
typedef GWEN_DIALOG *(* AB_PROVIDER_GET_USERTYPE_DIALOG_FN) (AB_PROVIDER *pro)
 

Enumerations

enum  AB_PROVIDER_EXTEND_MODE {
  AB_ProviderExtendMode_Create =0, AB_ProviderExtendMode_Extend, AB_ProviderExtendMode_Add, AB_ProviderExtendMode_Remove,
  AB_ProviderExtendMode_Save, AB_ProviderExtendMode_Reload
}
 

Functions

AB_PROVIDERAB_Provider_new (AB_BANKING *ab, const char *name)
 
int AB_Provider_IsInit (const AB_PROVIDER *pro)
 
void AB_Provider_AddFlags (AB_PROVIDER *pro, uint32_t fl)
 
GWEN_PLUGIN * AB_Plugin_Provider_new (GWEN_PLUGIN_MANAGER *pm, const char *name, const char *fileName)
 
AB_PROVIDERAB_Plugin_Provider_Factory (GWEN_PLUGIN *pl, AB_BANKING *ab)
 
void AB_Plugin_Provider_SetFactoryFn (GWEN_PLUGIN *pl, AB_PLUGIN_PROVIDER_FACTORY_FN fn)
 
Virtual Functions
int AB_Provider_Init (AB_PROVIDER *pro)
 
int AB_Provider_Fini (AB_PROVIDER *pro)
 
int AB_Provider_UpdateJob (AB_PROVIDER *pro, AB_JOB *j)
 
int AB_Provider_AddJob (AB_PROVIDER *pro, AB_JOB *j)
 
int AB_Provider_Execute (AB_PROVIDER *pro, AB_IMEXPORTER_CONTEXT *ctx)
 
int AB_Provider_ResetQueue (AB_PROVIDER *pro)
 
int AB_Provider_ExtendUser (AB_PROVIDER *pro, AB_USER *u, AB_PROVIDER_EXTEND_MODE em, GWEN_DB_NODE *db)
 
int AB_Provider_ExtendAccount (AB_PROVIDER *pro, AB_ACCOUNT *a, AB_PROVIDER_EXTEND_MODE em, GWEN_DB_NODE *db)
 
int AB_Provider_Update (AB_PROVIDER *pro, uint32_t lastVersion, uint32_t currentVersion)
 
GWEN_DIALOG * AB_Provider_GetNewUserDialog (AB_PROVIDER *pro, int i)
 
GWEN_DIALOG * AB_Provider_GetEditUserDialog (AB_PROVIDER *pro, AB_USER *u)
 
GWEN_DIALOG * AB_Provider_GetNewAccountDialog (AB_PROVIDER *pro)
 
GWEN_DIALOG * AB_Provider_GetEditAccountDialog (AB_PROVIDER *pro, AB_ACCOUNT *a)
 
GWEN_DIALOG * AB_ProviderGetUserTypeDialog (AB_PROVIDER *pro)
 
Setters For Virtual Functions
void AB_Provider_SetInitFn (AB_PROVIDER *pro, AB_PROVIDER_INIT_FN f)
 
void AB_Provider_SetFiniFn (AB_PROVIDER *pro, AB_PROVIDER_FINI_FN f)
 
void AB_Provider_SetUpdateJobFn (AB_PROVIDER *pro, AB_PROVIDER_UPDATEJOB_FN f)
 
void AB_Provider_SetAddJobFn (AB_PROVIDER *pro, AB_PROVIDER_ADDJOB_FN f)
 
void AB_Provider_SetExecuteFn (AB_PROVIDER *pro, AB_PROVIDER_EXECUTE_FN f)
 
void AB_Provider_SetResetQueueFn (AB_PROVIDER *pro, AB_PROVIDER_RESETQUEUE_FN f)
 
void AB_Provider_SetExtendUserFn (AB_PROVIDER *pro, AB_PROVIDER_EXTEND_USER_FN f)
 
void AB_Provider_SetExtendAccountFn (AB_PROVIDER *pro, AB_PROVIDER_EXTEND_ACCOUNT_FN f)
 
void AB_Provider_SetUpdateFn (AB_PROVIDER *pro, AB_PROVIDER_UPDATE_FN f)
 
void AB_Provider_SetGetNewUserDialogFn (AB_PROVIDER *pro, AB_PROVIDER_GET_NEWUSER_DIALOG_FN f)
 
void AB_Provider_SetGetEditUserDialogFn (AB_PROVIDER *pro, AB_PROVIDER_GET_EDITUSER_DIALOG_FN f)
 
void AB_Provider_SetGetNewAccountDialogFn (AB_PROVIDER *pro, AB_PROVIDER_GET_NEWACCOUNT_DIALOG_FN f)
 
void AB_Provider_SetGetEditAccountDialogFn (AB_PROVIDER *pro, AB_PROVIDER_GET_EDITACCOUNT_DIALOG_FN f)
 
void AB_Provider_SetGetUserTypeDialogFn (AB_PROVIDER *pro, AB_PROVIDER_GET_USERTYPE_DIALOG_FN f)
 

Detailed Description

This file is used by provider backends.

Definition in file provider_be.h.