aqbanking  5.7.8
banking_be.h
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Mon Mar 01 2004
3  copyright : (C) 2004 by Martin Preuss
4  email : martin@libchipcard.de
5 
6  ***************************************************************************
7  * This file is part of the project "AqBanking". *
8  * Please see toplevel file COPYING of that project for license details. *
9  ***************************************************************************/
10 
16 #ifndef AQBANKING_BANKING_BE_H
17 #define AQBANKING_BANKING_BE_H
18 
19 #include <aqbanking/banking.h>
20 
21 #include <gwenhywfar/httpsession.h>
22 
23 
24 #define AB_CFG_GROUP_BACKENDS "backends"
25 #define AB_CFG_GROUP_BANKINFO "bankinfo"
26 #define AB_CFG_GROUP_IMEXPORTER "imexporter"
27 
28 
29 
33 
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 
44 
51 AB_PROVIDER *AB_Banking_GetProvider(AB_BANKING *ab, const char *name);
52 
53 
62 GWEN_STRINGLIST *AB_Banking_GetGlobalDataDirs(void);
63 
64 
66 GWEN_STRINGLIST *AB_Banking_GetGlobalSysconfDirs(void);
67 
78  const char *tname,
79  const char *cname,
80  GWEN_CRYPT_TOKEN **pCt);
81 
84 
87  GWEN_CRYPT_TOKEN_DEVICE devt,
88  GWEN_BUFFER *typeName,
89  GWEN_BUFFER *tokenName);
90 
98 
101  const char *pluginName,
102  const char *name,
103  GWEN_DB_NODE **pDb);
104 
107  const char *pluginName,
108  const char *name,
109  GWEN_DB_NODE *db);
110 
113  const char *pluginName,
114  const char *name);
115 
118  const char *pluginName,
119  const char *name);
120 
122 int AB_Banking_SaveAccountConfig(AB_BANKING *ab, AB_ACCOUNT *a, int doLock);
123 
125 int AB_Banking_SaveUserConfig(AB_BANKING *ab, AB_USER *u, int doLock);
126 
127 
137 
140 
141 
144  const char *url,
145  const char *defaultProto,
146  int defaultPort,
147  uint32_t *httpFlags,
148  uint32_t pid);
149 
150 
160  const char *name,
161  GWEN_BUFFER *buf);
162 
163 #ifdef __cplusplus
164 }
165 #endif
166 
170 #endif /* AQBANKING_BANKING_BE_H */
171 
172 
173 
174 
175 
176 
int AB_Banking_ExecutionProgress(AB_BANKING *ab)
struct AB_USER AB_USER
int AB_Banking_LockPluginConfig(AB_BANKING *ab, const char *pluginName, const char *name)
struct AB_BANKING AB_BANKING
Definition: banking.h:26
The main interface of the aqbanking library.
int AB_Banking_GetCert(AB_BANKING *ab, const char *url, const char *defaultProto, int defaultPort, uint32_t *httpFlags, uint32_t pid)
int AB_Banking_GetUniqueId(AB_BANKING *ab)
#define AQBANKING_API
Definition: error.h:55
int AB_Banking_LoadPluginConfig(AB_BANKING *ab, const char *pluginName, const char *name, GWEN_DB_NODE **pDb)
int AB_Banking_GetCryptToken(AB_BANKING *ab, const char *tname, const char *cname, GWEN_CRYPT_TOKEN **pCt)
int AB_Banking_UnlockPluginConfig(AB_BANKING *ab, const char *pluginName, const char *name)
GWEN_STRINGLIST * AB_Banking_GetGlobalSysconfDirs(void)
int AB_Banking_CheckCryptToken(AB_BANKING *ab, GWEN_CRYPT_TOKEN_DEVICE devt, GWEN_BUFFER *typeName, GWEN_BUFFER *tokenName)
int AB_Banking_GetProviderUserDataDir(const AB_BANKING *ab, const char *name, GWEN_BUFFER *buf)
void AB_Banking_ClearCryptTokenList(AB_BANKING *ab)
int AB_Banking_SaveUserConfig(AB_BANKING *ab, AB_USER *u, int doLock)
struct AB_PROVIDER AB_PROVIDER
int AB_Banking_SavePluginConfig(AB_BANKING *ab, const char *pluginName, const char *name, GWEN_DB_NODE *db)
GWEN_STRINGLIST * AB_Banking_GetGlobalDataDirs(void)
int AB_Banking_SaveAccountConfig(AB_BANKING *ab, AB_ACCOUNT *a, int doLock)
AB_PROVIDER * AB_Banking_GetProvider(AB_BANKING *ab, const char *name)
struct AB_ACCOUNT AB_ACCOUNT