aqbanking
5.0.24.0-git
|
00001 /*************************************************************************** 00002 begin : Mon Mar 01 2004 00003 copyright : (C) 2004 by Martin Preuss 00004 email : martin@libchipcard.de 00005 00006 *************************************************************************** 00007 * This file is part of the project "AqBanking". * 00008 * Please see toplevel file COPYING of that project for license details. * 00009 ***************************************************************************/ 00010 00011 00012 #ifndef AQBANKING_BANKING_OB_H 00013 #define AQBANKING_BANKING_OB_H 00014 00015 #include <aqbanking/provider.h> 00016 #include <aqbanking/user.h> 00017 #include <aqbanking/job.h> 00018 00019 #include <gwenhywfar/ct.h> 00020 00021 00022 #ifdef __cplusplus 00023 extern "C" { 00024 #endif 00025 00026 00031 00041 00054 AQBANKING_API 00055 AB_USER_LIST2 *AB_Banking_GetUsers(const AB_BANKING *ab); 00056 00060 AQBANKING_API 00061 AB_USER *AB_Banking_GetUser(const AB_BANKING *ab, uint32_t uniqueId); 00062 00063 00068 AQBANKING_API 00069 AB_USER *AB_Banking_FindUser(const AB_BANKING *ab, 00070 const char *backendName, 00071 const char *country, 00072 const char *bankId, 00073 const char *userId, 00074 const char *customerId); 00075 00085 AQBANKING_API 00086 AB_USER_LIST2 *AB_Banking_FindUsers(const AB_BANKING *ab, 00087 const char *backendName, 00088 const char *country, 00089 const char *bankId, 00090 const char *userId, 00091 const char *customerId); 00092 00099 AQBANKING_API 00100 AB_USER *AB_Banking_CreateUser(AB_BANKING *ab, const char *backendName); 00101 00105 AQBANKING_API 00106 int AB_Banking_AddUser(AB_BANKING *ab, AB_USER *u); 00107 00124 AQBANKING_API 00125 AB_ACCOUNT *AB_Banking_FindFirstAccountOfUser(AB_BANKING *ab, AB_USER *u); 00126 00144 AQBANKING_API 00145 int AB_Banking_DeleteUser(AB_BANKING *ab, AB_USER *u); 00169 AQBANKING_API 00170 AB_ACCOUNT_LIST2 *AB_Banking_GetAccounts(const AB_BANKING *ab); 00171 00188 AQBANKING_API 00189 AB_ACCOUNT *AB_Banking_GetAccount(const AB_BANKING *ab, 00190 uint32_t uniqueId); 00191 00208 AQBANKING_API 00209 AB_ACCOUNT *AB_Banking_GetAccountByCodeAndNumber(const AB_BANKING *ab, 00210 const char *bankCode, 00211 const char *accountId); 00212 00229 AQBANKING_API 00230 AB_ACCOUNT *AB_Banking_GetAccountByIban(const AB_BANKING *ab, 00231 const char *iban); 00232 00233 00238 AQBANKING_API 00239 AB_ACCOUNT *AB_Banking_FindAccount(const AB_BANKING *ab, 00240 const char *backendName, 00241 const char *country, 00242 const char *bankId, 00243 const char *accountId, 00244 const char *subAccountId); 00245 00257 AQBANKING_API 00258 AB_ACCOUNT_LIST2 *AB_Banking_FindAccounts(const AB_BANKING *ab, 00259 const char *backendName, 00260 const char *country, 00261 const char *bankId, 00262 const char *accountId, 00263 const char *subAccountId); 00264 00274 AQBANKING_API 00275 AB_ACCOUNT *AB_Banking_CreateAccount(AB_BANKING *ab, const char *backendName); 00276 00283 AQBANKING_API 00284 int AB_Banking_AddAccount(AB_BANKING *ab, AB_ACCOUNT *a); 00285 00295 AQBANKING_API 00296 int AB_Banking_DeleteAccount(AB_BANKING *ab, AB_ACCOUNT *a); 00319 AQBANKING_API 00320 int AB_Banking_ExecuteJobs(AB_BANKING *ab, AB_JOB_LIST2 *jl2, 00321 AB_IMEXPORTER_CONTEXT *ctx); 00326 /* addtogroup */ 00327 00328 #ifdef __cplusplus 00329 } 00330 #endif 00331 00332 #endif 00333