00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef AH_PROVIDER_H
00011 #define AH_PROVIDER_H
00012
00013
00014 #include <aqhbci/aqhbci.h>
00015
00016 #include <aqbanking/banking.h>
00017 #include <aqbanking/provider_be.h>
00018 #include <aqbanking/user.h>
00019
00020 #include <gwenhywfar/ct.h>
00021
00022
00031
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035
00036
00040 enum AQHBCI_NEWUSER_DIALOG_CODE {
00041 AqHBCI_NewUserDialog_CodeGeneric=0,
00042 AqHBCI_NewUserDialog_CodeExistingPinTan,
00043 AqHBCI_NewUserDialog_CodeCreateKeyFile,
00044 AqHBCI_NewUserDialog_CodeExistingKeyFile,
00045 AqHBCI_NewUserDialog_CodeCreateChipcard,
00046 AqHBCI_NewUserDialog_CodeExistingChipcard
00047 };
00048
00049
00050 AQHBCI_API
00051 AB_PROVIDER *AH_Provider_new(AB_BANKING *ab, const char *name);
00052
00053
00058 AQHBCI_API
00059 const char *AH_Provider_GetProductName(const AB_PROVIDER *pro);
00060
00061 AQHBCI_API
00062 const char *AH_Provider_GetProductVersion(const AB_PROVIDER *pro);
00063
00083 AQHBCI_API
00084 int AH_Provider_GetAccounts(AB_PROVIDER *pro, AB_USER *u,
00085 AB_IMEXPORTER_CONTEXT *ctx,
00086 int withProgress, int nounmount, int doLock);
00087
00096 AQHBCI_API
00097 int AH_Provider_GetSysId(AB_PROVIDER *pro, AB_USER *u,
00098 AB_IMEXPORTER_CONTEXT *ctx,
00099 int withProgress, int nounmount, int doLock);
00100
00109 AQHBCI_API
00110 int AH_Provider_GetServerKeys(AB_PROVIDER *pro, AB_USER *u,
00111 AB_IMEXPORTER_CONTEXT *ctx,
00112 int withProgress, int nounmount, int doLock);
00113
00122 AQHBCI_API
00123 int AH_Provider_SendUserKeys(AB_PROVIDER *pro, AB_USER *u,
00124 AB_IMEXPORTER_CONTEXT *ctx,
00125 int withProgress, int nounmount, int doLock);
00126
00137 AQHBCI_API
00138 int AH_Provider_SendUserKeys2(AB_PROVIDER *pro, AB_USER *u,
00139 AB_IMEXPORTER_CONTEXT *ctx,
00140 int withAuthKey,
00141 int withProgress, int nounmount, int doLock);
00142
00151 AQHBCI_API
00152 int AH_Provider_GetCert(AB_PROVIDER *pro,
00153 AB_USER *u,
00154 int withProgress, int nounmount, int doLock);
00155
00164 AQHBCI_API
00165 int AH_Provider_GetItanModes(AB_PROVIDER *pro, AB_USER *u,
00166 AB_IMEXPORTER_CONTEXT *ctx,
00167 int withProgress, int nounmount, int doLock);
00168
00169
00178 AQHBCI_API
00179 int AH_Provider_ChangePin(AB_PROVIDER *pro, AB_USER *u,
00180 AB_IMEXPORTER_CONTEXT *ctx,
00181 int withProgress, int nounmount, int doLock);
00182
00183
00205 AQHBCI_API
00206 int AH_Provider_GetIniLetterTxt(AB_PROVIDER *pro,
00207 AB_USER *u,
00208 int useBankKey,
00209 int variant,
00210 GWEN_BUFFER *lbuf,
00211 int nounmount);
00212
00223 AQHBCI_API
00224 int AH_Provider_GetIniLetterHtml(AB_PROVIDER *pro,
00225 AB_USER *u,
00226 int useBankKey,
00227 int variant,
00228 GWEN_BUFFER *lbuf,
00229 int nounmount);
00234 AQHBCI_API
00235 int AH_Provider_CreateKeys(AB_PROVIDER *pro, AB_USER *u, int nounmount);
00236
00237
00238 AQHBCI_API
00239 int AH_Provider_Test(AB_PROVIDER *pro);
00240
00241
00245 #ifdef __cplusplus
00246 }
00247 #endif
00248
00249
00250
00252
00253
00254
00255 #endif
00256
00257
00258
00259