aqbanking
5.8.2
|
The main interface of the aqbanking library. More...
#include <gwenhywfar/inherit.h>
#include <gwenhywfar/types.h>
#include <gwenhywfar/db.h>
#include <gwenhywfar/stringlist.h>
#include <gwenhywfar/plugindescr.h>
#include <gwenhywfar/dialog.h>
#include <aqbanking/error.h>
#include <aqbanking/version.h>
#include <aqbanking/banking_virt.h>
#include <aqbanking/banking_imex.h>
#include <aqbanking/banking_info.h>
#include <aqbanking/banking_ob.h>
#include <aqbanking/banking_simple.h>
#include <aqbanking/banking_cfg.h>
#include <aqbanking/provider.h>
Go to the source code of this file.
Macros | |
#define | AB_PM_LIBNAME "aqbanking" |
#define | AB_PM_SYSCONFDIR "sysconfdir" |
#define | AB_PM_DATADIR "datadir" |
#define | AB_PM_WIZARDDIR "wizarddir" |
#define | AB_PM_LOCALEDIR "localedir" |
Extensions supported by the application | |
#define | AB_BANKING_EXTENSION_NONE 0x00000000 |
Typedefs | |
typedef struct AB_BANKING | AB_BANKING |
Functions | |
Constructor, Destructor, Init, Fini | |
This object is prepared to be inherited (using GWEN_INHERIT_SETDATA). | |
AB_BANKING * | AB_Banking_new (const char *appName, const char *dname, uint32_t extensions) |
void | AB_Banking_free (AB_BANKING *ab) |
void | AB_Banking_GetVersion (int *major, int *minor, int *patchlevel, int *build) |
int | AB_Banking_Init (AB_BANKING *ab) |
int | AB_Banking_Fini (AB_BANKING *ab) |
int | AB_Banking_OnlineInit (AB_BANKING *ab) |
int | AB_Banking_OnlineFini (AB_BANKING *ab) |
Working With Backends | |
const GWEN_STRINGLIST * | AB_Banking_GetActiveProviders (const AB_BANKING *ab) |
GWEN_PLUGIN_DESCRIPTION_LIST2 * | AB_Banking_GetProviderDescrs (AB_BANKING *ab) |
GWEN_DIALOG * | AB_Banking_GetNewUserDialog (AB_BANKING *ab, const char *backend, int mode) |
Working With Backends (Deprecated) | |
These functions are now deprecated and will be removed prior to the release of AqBanking5. Since AqBanking5 configuration dialogs and assistents are implemented using GWEN's Dialog Framework. This framework allows for platform-independent dialogs (see AB_ImporterDialog_new). | |
AQBANKING_DEPRECATED int | AB_Banking_FindWizard (AB_BANKING *ab, const char *backend, const char *frontends, GWEN_BUFFER *pbuf) |
AQBANKING_DEPRECATED int | AB_Banking_FindDebugger (AB_BANKING *ab, const char *backend, const char *frontends, GWEN_BUFFER *pbuf) |
Application Data | |
Applications may let AqBanking store global application specific data. | |
const char * | AB_Banking_GetAppName (const AB_BANKING *ab) |
const char * | AB_Banking_GetEscapedAppName (const AB_BANKING *ab) |
int | AB_Banking_GetUserDataDir (const AB_BANKING *ab, GWEN_BUFFER *buf) |
int | AB_Banking_GetAppUserDataDir (const AB_BANKING *ab, GWEN_BUFFER *buf) |
int | AB_Banking_GetSharedDataDir (const AB_BANKING *ab, const char *name, GWEN_BUFFER *buf) |
void * | AB_Banking_GetUserData (AB_BANKING *ab) |
void | AB_Banking_SetUserData (AB_BANKING *ab, void *user_data) |
Runtime Configuration | |
AqBanking can store some runtime config data which is provided by application and used by banking backends. By this way applications can directly provide some runtime configuration to backends which are otherwise unaccessible to the applications. Runtime configuration data can be set at any time after calling AB_Banking_new() and remains available until AB_Banking_free() is called, so it survives calls to AB_Banking_Init() and AB_Banking_Fini(). The following variables are recognized by AqBanking an the backends so far:
| |
void | AB_Banking_RuntimeConfig_SetCharValue (AB_BANKING *ab, const char *varName, const char *value) |
const char * | AB_Banking_RuntimeConfig_GetCharValue (const AB_BANKING *ab, const char *varName, const char *defaultValue) |
void | AB_Banking_RuntimeConfig_SetIntValue (AB_BANKING *ab, const char *varName, int value) |
int | AB_Banking_RuntimeConfig_GetIntValue (const AB_BANKING *ab, const char *varName, int defaultValue) |
Plugin Handling | |
These functions are also obsolete and will be removed for AqBanking5. | |
AQBANKING_DEPRECATED GWEN_PLUGIN_DESCRIPTION_LIST2 * | AB_Banking_GetWizardDescrs (AB_BANKING *ab) |
AQBANKING_DEPRECATED GWEN_PLUGIN_DESCRIPTION_LIST2 * | AB_Banking_GetDebuggerDescrs (AB_BANKING *ab, const char *pn) |
The main interface of the aqbanking library.
Definition in file banking.h.