/usr/include/aqbanking5/aqbanking/banking_be.h is in libaqbanking33-dev 5.0.22-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | /***************************************************************************
begin : Mon Mar 01 2004
copyright : (C) 2004 by Martin Preuss
email : martin@libchipcard.de
***************************************************************************
* This file is part of the project "AqBanking". *
* Please see toplevel file COPYING of that project for license details. *
***************************************************************************/
/** @file banking_be.h
* @short This file is used by provider backends.
*/
#ifndef AQBANKING_BANKING_BE_H
#define AQBANKING_BANKING_BE_H
#include <aqbanking/banking.h>
#include <gwenhywfar/httpsession.h>
#define AB_CFG_GROUP_BACKENDS "backends"
#define AB_CFG_GROUP_BANKINFO "bankinfo"
#define AB_CFG_GROUP_IMEXPORTER "imexporter"
/** @addtogroup G_AB_BE_BANKING
*/
/*@{*/
#ifdef __cplusplus
extern "C" {
#endif
/** @name Functions Used by Backends And Wizards
*
*/
/*@{*/
/**
* Loads a backend with the given name. You can use
* @ref AB_Banking_GetProviderDescrs to retrieve a list of available
* backends.
*/
AQBANKING_API
AB_PROVIDER *AB_Banking_GetProvider(AB_BANKING *ab, const char *name);
/**
* Returns the list of global data folders. In most cases this is something
* like $PREFIX/share/. Plugins are required to use the folders
* returned here + "aqbanking" when searching for their specific data instead
* of using the compile time fixed values. This way it is easier under
* windows to find data.
*/
AQBANKING_API
GWEN_STRINGLIST *AB_Banking_GetGlobalDataDirs(void);
AQBANKING_API
GWEN_STRINGLIST *AB_Banking_GetGlobalSysconfDirs(void);
/*@}*/
/** @name Administration of Crypt Token List
*
*/
/*@{*/
AQBANKING_API
int AB_Banking_GetCryptToken(AB_BANKING *ab,
const char *tname,
const char *cname,
GWEN_CRYPT_TOKEN **pCt);
AQBANKING_API
void AB_Banking_ClearCryptTokenList(AB_BANKING *ab);
AQBANKING_API
int AB_Banking_CheckCryptToken(AB_BANKING *ab,
GWEN_CRYPT_TOKEN_DEVICE devt,
GWEN_BUFFER *typeName,
GWEN_BUFFER *tokenName);
/*@}*/
/** @name Configuration Data Handling for Plugins
*
*/
/*@{*/
AQBANKING_API
int AB_Banking_LoadPluginConfig(AB_BANKING *ab,
const char *pluginName,
const char *name,
GWEN_DB_NODE **pDb);
AQBANKING_API
int AB_Banking_SavePluginConfig(AB_BANKING *ab,
const char *pluginName,
const char *name,
GWEN_DB_NODE *db);
AQBANKING_API
int AB_Banking_LockPluginConfig(AB_BANKING *ab,
const char *pluginName,
const char *name);
AQBANKING_API
int AB_Banking_UnlockPluginConfig(AB_BANKING *ab,
const char *pluginName,
const char *name);
AQBANKING_API
int AB_Banking_SaveAccountConfig(AB_BANKING *ab, AB_ACCOUNT *a, int doLock);
AQBANKING_API
int AB_Banking_SaveUserConfig(AB_BANKING *ab, AB_USER *u, int doLock);
/*@}*/
AQBANKING_API
int AB_Banking_ExecutionProgress(AB_BANKING *ab);
AQBANKING_API
int AB_Banking_GetUniqueId(AB_BANKING *ab);
AQBANKING_API
int AB_Banking_GetCert(AB_BANKING *ab,
const char *url,
const char *defaultProto,
int defaultPort,
uint32_t *httpFlags,
uint32_t pid);
/**
* This copies the name of the folder for AqBanking's backend data into
* the given GWEN_Buffer (not including the provider's name).
* @return 0 if ok, error code otherwise (see @ref AB_ERROR)
* @param ab pointer to the AB_BANKING object
* @param buf buffer to append the path name to
*/
AQBANKING_API
int AB_Banking_GetProviderUserDataDir(const AB_BANKING *ab,
const char *name,
GWEN_BUFFER *buf);
#ifdef __cplusplus
}
#endif
/*@}*/
#endif /* AQBANKING_BANKING_BE_H */
|