aqbanking
5.0.22
|
00001 /*************************************************************************** 00002 begin : Mon Mar 01 2004 00003 copyright : (C) 2004 by Martin Preuss 00004 email : martin@libchipcard.de 00005 00006 *************************************************************************** 00007 * Please see toplevel file COPYING for license details * 00008 ***************************************************************************/ 00009 00010 #ifndef AO_PROVIDER_H 00011 #define AO_PROVIDER_H 00012 00013 #include <aqofxconnect/aqofxconnect.h> 00014 #include <aqbanking/banking_be.h> 00015 #include <aqbanking/provider_be.h> 00016 00017 #define AQOFXCONNECT_BACKENDNAME "aqofxconnect" 00018 00019 #define AQOFXCONNECT_LOGDOMAIN "aqofxconnect" 00020 00021 #ifdef __cplusplus 00022 extern "C" { 00023 #endif 00024 00025 typedef struct AO_PROVIDER AO_PROVIDER; 00026 00027 00028 typedef struct { 00029 const char *appName; 00030 const char *appId; 00031 const char *appVer; 00032 } AO_APPINFO; 00033 00034 00035 AQOFXCONNECT_API AB_PROVIDER *AO_Provider_new(AB_BANKING *ab); 00036 00037 AQOFXCONNECT_API const AO_APPINFO *AO_Provider_GetAppInfos(AB_PROVIDER *pro); 00038 00039 AQOFXCONNECT_API int AO_Provider_GetCert(AB_PROVIDER *pro, AB_USER *u); 00040 00041 AQOFXCONNECT_API int AO_Provider_RequestAccounts(AB_PROVIDER *pro, AB_USER *u, int keepOpen); 00042 00043 #ifdef __cplusplus 00044 } 00045 #endif 00046 00047 00048 #endif 00049