aqbanking  5.7.8
bankinfoplugin_be.h
Go to the documentation of this file.
1 /***************************************************************************
2  $RCSfile$
3  -------------------
4  cvs : $Id$
5  begin : Mon Mar 01 2004
6  copyright : (C) 2004 by Martin Preuss
7  email : martin@libchipcard.de
8 
9  ***************************************************************************
10  * This file is part of the project "AqBanking". *
11  * Please see toplevel file COPYING of that project for license details. *
12  ***************************************************************************/
13 
14 
15 #ifndef AQBANKING_BANKINFOPLUGIN_BE_H
16 #define AQBANKING_BANKINFOPLUGIN_BE_H
17 
19 
20 
22 
23 #include <aqbanking/banking.h>
24 #include <gwenhywfar/inherit.h>
25 #include <gwenhywfar/misc.h>
26 #include <gwenhywfar/list2.h>
27 #include <gwenhywfar/plugin.h>
28 
29 
35 
36 
37 typedef AB_BANKINFO_PLUGIN*
38  (*AB_BANKINFO_PLUGIN_FACTORY_FN)(AB_BANKING *ab);
39 
40 
41 
46 typedef AB_BANKINFO*
47  (*AB_BANKINFOPLUGIN_GETBANKINFO_FN)(AB_BANKINFO_PLUGIN *bip,
48  const char *branchId,
49  const char *bankId);
50 
51 typedef int
53  AB_BANKINFO *tbi,
54  AB_BANKINFO_LIST2 *bl);
55 
56 
59  const char *branchId,
60  const char *bankId,
61  const char *accountId);
71 AB_BANKINFO_PLUGIN *AB_BankInfoPlugin_new(const char *country);
84 
86 const char *AB_BankInfoPlugin_GetCountry(const AB_BANKINFO_PLUGIN *bip);
97  const char *branchId,
98  const char *bankId);
99 
102  AB_BANKINFO *tbi,
103  AB_BANKINFO_LIST2 *bl);
104 
108  const char *branchId,
109  const char *bankId,
110  const char *accountId);
131 typedef AB_BANKINFO_PLUGIN* (*AB_PLUGIN_BANKINFO_FACTORY_FN)(GWEN_PLUGIN *pl,
132  AB_BANKING *ab);
133 
134 
136 GWEN_PLUGIN *AB_Plugin_BankInfo_new(GWEN_PLUGIN_MANAGER *pm,
137  const char *name,
138  const char *fileName);
139 
140 
143 
145 void AB_Plugin_BankInfo_SetFactoryFn(GWEN_PLUGIN *pl,
147 
148 
149 
150 #endif /* AQBANKING_BANKINFOPLUGIN_BE_H */
151 
152 
153 
154 
struct AB_BANKING AB_BANKING
Definition: banking.h:26
const char * AB_BankInfoPlugin_GetCountry(const AB_BANKINFO_PLUGIN *bip)
The main interface of the aqbanking library.
AB_BANKINFO_CHECKRESULT AB_BankInfoPlugin_CheckAccount(AB_BANKINFO_PLUGIN *bip, const char *branchId, const char *bankId, const char *accountId)
void AB_BankInfoPlugin_free(AB_BANKINFO_PLUGIN *bip)
#define AQBANKING_API
Definition: error.h:55
AB_BankInfoPlugin
GWEN_PLUGIN * AB_Plugin_BankInfo_new(GWEN_PLUGIN_MANAGER *pm, const char *name, const char *fileName)
AB_BANKINFO * AB_BankInfoPlugin_GetBankInfo(AB_BANKINFO_PLUGIN *bip, const char *branchId, const char *bankId)
struct AB_BANKINFO_PLUGIN AB_BANKINFO_PLUGIN
GWEN_INHERIT_FUNCTION_LIB_DEFS(AB_BANKINFO_PLUGIN,) GWEN_LIST2_FUNCTION_LIB_DEFS(AB_BANKINFO_PLUGIN
void AB_BankInfoPlugin_SetGetBankInfoFn(AB_BANKINFO_PLUGIN *bip, AB_BANKINFOPLUGIN_GETBANKINFO_FN f)
AB_BANKINFO_PLUGIN *(* AB_PLUGIN_BANKINFO_FACTORY_FN)(GWEN_PLUGIN *pl, AB_BANKING *ab)
void AB_BankInfoPlugin_SetGetBankInfoByTemplateFn(AB_BANKINFO_PLUGIN *bip, AB_BANKINFOPLUGIN_GETBANKINFOBYTMPLATE_FN f)
GWEN_LIST2_FUNCTION_LIB_DEFS(AB_ACCOUNT_STATUS, AB_AccountStatus,) AB_ACCOUNT_STATUS *AB_AccountStatus_new()
AB_BANKINFO_PLUGIN * AB_BankInfoPlugin_new(const char *country)
AB_BANKINFO_CHECKRESULT
void AB_BankInfoPlugin_Attach(AB_BANKINFO_PLUGIN *bip)
void AB_Plugin_BankInfo_SetFactoryFn(GWEN_PLUGIN *pl, AB_PLUGIN_BANKINFO_FACTORY_FN fn)
struct AB_BANKINFO AB_BANKINFO
Definition: bankinfo.h:149
void AB_BankInfoPlugin_SetCheckAccountFn(AB_BANKINFO_PLUGIN *bip, AB_BANKINFOPLUGIN_CHECKACCOUNT_FN f)
AB_BANKINFO *(* AB_BANKINFOPLUGIN_GETBANKINFO_FN)(AB_BANKINFO_PLUGIN *bip, const char *branchId, const char *bankId)
struct AB_BANKINFO_LIST2 AB_BANKINFO_LIST2
Definition: listdoc.h:1129
AB_BANKINFO_PLUGIN * AB_Plugin_BankInfo_Factory(GWEN_PLUGIN *pl, AB_BANKING *ab)
AB_BANKINFO_CHECKRESULT(* AB_BANKINFOPLUGIN_CHECKACCOUNT_FN)(AB_BANKINFO_PLUGIN *bip, const char *branchId, const char *bankId, const char *accountId)
int(* AB_BANKINFOPLUGIN_GETBANKINFOBYTMPLATE_FN)(AB_BANKINFO_PLUGIN *bip, AB_BANKINFO *tbi, AB_BANKINFO_LIST2 *bl)
int AB_BankInfoPlugin_GetBankInfoByTemplate(AB_BANKINFO_PLUGIN *bip, AB_BANKINFO *tbi, AB_BANKINFO_LIST2 *bl)