Main Interface
[API for Backends]


Functions

int AB_Banking_ExecutionProgress (AB_BANKING *ab, uint32_t pid)
int AB_Banking_GetUniqueId (AB_BANKING *ab, uint32_t guiid)
int AB_Banking_GetProviderUserDataDir (const AB_BANKING *ab, const char *name, GWEN_BUFFER *buf)

Functions Used by Backends And Wizards

AB_PROVIDERAB_Banking_GetProvider (AB_BANKING *ab, const char *name)
GWEN_STRINGLIST * AB_Banking_GetGlobalDataDirs ()
GWEN_STRINGLIST * AB_Banking_GetGlobalSysconfDirs ()

Administration of Crypt Token List

int AB_Banking_GetCryptToken (AB_BANKING *ab, const char *tname, const char *cname, GWEN_CRYPT_TOKEN **pCt)
void AB_Banking_ClearCryptTokenList (AB_BANKING *ab, uint32_t guiid)
int AB_Banking_CheckCryptToken (AB_BANKING *ab, GWEN_CRYPT_TOKEN_DEVICE devt, GWEN_BUFFER *typeName, GWEN_BUFFER *tokenName, uint32_t guiid)

Configuration Data Handling for Plugins

int AB_Banking_LoadPluginConfig (AB_BANKING *ab, const char *pluginName, const char *name, GWEN_DB_NODE **pDb, uint32_t guiid)
int AB_Banking_SavePluginConfig (AB_BANKING *ab, const char *pluginName, const char *name, GWEN_DB_NODE *db, uint32_t guiid)
int AB_Banking_LockPluginConfig (AB_BANKING *ab, const char *pluginName, const char *name, uint32_t guiid)
int AB_Banking_UnlockPluginConfig (AB_BANKING *ab, const char *pluginName, const char *name, uint32_t guiid)

Function Documentation

int AB_Banking_CheckCryptToken ( AB_BANKING ab,
GWEN_CRYPT_TOKEN_DEVICE  devt,
GWEN_BUFFER *  typeName,
GWEN_BUFFER *  tokenName,
uint32_t  guiid 
)

void AB_Banking_ClearCryptTokenList ( AB_BANKING ab,
uint32_t  guiid 
)

int AB_Banking_ExecutionProgress ( AB_BANKING ab,
uint32_t  pid 
)

int AB_Banking_GetCryptToken ( AB_BANKING ab,
const char *  tname,
const char *  cname,
GWEN_CRYPT_TOKEN **  pCt 
)

GWEN_STRINGLIST* AB_Banking_GetGlobalDataDirs (  ) 

Returns the list of global data folders. In most cases this is something like $PREFIX/share/. Plugins are required to use the folders returned here + "aqbanking" when searching for their specific data instead of using the compile time fixed values. This way it is easier under windows to find data.

GWEN_STRINGLIST* AB_Banking_GetGlobalSysconfDirs (  ) 

AB_PROVIDER* AB_Banking_GetProvider ( AB_BANKING ab,
const char *  name 
)

Loads a backend with the given name. You can use AB_Banking_GetProviderDescrs to retrieve a list of available backends.

int AB_Banking_GetProviderUserDataDir ( const AB_BANKING ab,
const char *  name,
GWEN_BUFFER *  buf 
)

This copies the name of the folder for AqBanking's backend data into the given GWEN_Buffer (not including the provider's name).

Returns:
0 if ok, error code otherwise (see Error Codes)
Parameters:
ab pointer to the AB_BANKING object
buf buffer to append the path name to

int AB_Banking_GetUniqueId ( AB_BANKING ab,
uint32_t  guiid 
)

int AB_Banking_LoadPluginConfig ( AB_BANKING ab,
const char *  pluginName,
const char *  name,
GWEN_DB_NODE **  pDb,
uint32_t  guiid 
)

int AB_Banking_LockPluginConfig ( AB_BANKING ab,
const char *  pluginName,
const char *  name,
uint32_t  guiid 
)

int AB_Banking_SavePluginConfig ( AB_BANKING ab,
const char *  pluginName,
const char *  name,
GWEN_DB_NODE *  db,
uint32_t  guiid 
)

int AB_Banking_UnlockPluginConfig ( AB_BANKING ab,
const char *  pluginName,
const char *  name,
uint32_t  guiid 
)


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