/usr/include/aqbanking5/aqbanking/banking_info.h is in libaqbanking-dev 5.7.8-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 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | /***************************************************************************
$RCSfile$
-------------------
cvs : $Id$
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. *
***************************************************************************/
#ifndef AQBANKING_BANKING_INFO_H
#define AQBANKING_BANKING_INFO_H
#include <aqbanking/bankinfo.h>
#include <aqbanking/bankinfoplugin.h>
#include <aqbanking/country.h>
#ifdef __cplusplus
extern "C" {
#endif
/** @addtogroup G_AB_INFO
*/
/*@{*/
/** @name Getting Bank/Account Information
*
* Functions in this group retrieve information about credit institutes and
* allow checking of bank code/account id combinations.
* These functions load the appropriate checker plugins for selected
* countries.
*/
/*@{*/
/**
* This functions retrieves information about a given bank. It loads the
* appropriate bank checker module and asks it for information about the given
* bank. The caller is responsible for freeing the object returned (if any)
* by calling @ref AB_BankInfo_free.
* @param ab AqBanking main object
* @param country ISO country code ("de" for Germany, "at" for Austria etc)
* @param branchId optional branch id (not needed for "de")
* @param bankId bank id ("Bankleitzahl" for "de")
*/
AQBANKING_API
AB_BANKINFO *AB_Banking_GetBankInfo(AB_BANKING *ab,
const char *country,
const char *branchId,
const char *bankId);
/**
* This function retrieves information about banks. It loads the
* appropriate bank checker module and asks it for a list of AB_BANKINFO
* objects which match the given template. Empty fields in this template
* always match. Service entries (AB_BANKINFO_SERVICE) are not compared.
* Matching entries are added to the given list.
* The caller is responsible for freeing the objects returned (if any)
* by calling @ref AB_BankInfo_free (or by calling
* @ref AB_BankInfo_List_freeAll).
* @param ab AqBanking main object
* @param country ISO country code ("de" for Germany, "at" for Austria etc)
* @param tbi template to compare against
* @param bl list to which matching banks are added
*/
AQBANKING_API
int AB_Banking_GetBankInfoByTemplate(AB_BANKING *ab,
const char *country,
AB_BANKINFO *tbi,
AB_BANKINFO_LIST2 *bl);
/**
* This function checks whether the given combination represents a valid
* account. It loads the appropriate bank checker module and lets it check
* the information.
* @param ab AqBanking main object
* @param country ISO country code ("de" for Germany, "at" for Austria etc)
* @param branchId optional branch id (not needed for "de")
* @param bankId bank id ("Bankleitzahl" for "de")
* @param accountId account id
*/
AQBANKING_API
AB_BANKINFO_CHECKRESULT
AB_Banking_CheckAccount(AB_BANKING *ab,
const char *country,
const char *branchId,
const char *bankId,
const char *accountId);
/**
* Checks whether a given international bank account number (IBAN) is
* valid or not.
* @return 0 if valid, 1 if not and -1 on error
* @param iban IBAN (e.g. "DE88 2008 0000 09703 7570 0")
*/
AQBANKING_API
int AB_Banking_CheckIban(const char *iban);
/**
* Create an IBAN from German bank code and account number.
*/
AQBANKING_API
int AB_Banking_MakeGermanIban(const char *bankCode, const char *accountNumber, GWEN_BUFFER *ibanBuf);
/*@}*/
/** @name Getting Country Information
*
* Functions in this group retrieve information about countries (name,
* code, numeric code).
*/
/*@{*/
/**
* Searches for information about a country by its international name
* (in English).
* The name may contain jokers ("?") and wildcards ("*") and is case
* insensitive.
*/
AQBANKING_API
const AB_COUNTRY *AB_Banking_FindCountryByName(AB_BANKING *ab,
const char *name);
/**
* Searches for information about a country by its local name
* (in the currently selected language).
* The name may contain jokers ("?") and wildcards ("*") and is case
* insensitive.
*/
AQBANKING_API
const AB_COUNTRY *AB_Banking_FindCountryByLocalName(AB_BANKING *ab,
const char *name);
/**
* Searches for information about a country by its ISO country code
* (e.g. "DE"=Germany, "AT"=Austria etc).
* The code may contain jokers ("?") and wildcards ("*") and is case
* insensitive.
*/
AQBANKING_API
const AB_COUNTRY *AB_Banking_FindCountryByCode(AB_BANKING *ab,
const char *code);
/**
* Searches for information about a country by its ISO numeric code
* (e.g. 280=Germany etc).
*/
AQBANKING_API
const AB_COUNTRY *AB_Banking_FindCountryByNumeric(AB_BANKING *ab,
int numid);
/**
* Returns a list of informations about countries whose international name
* (in English) matches the given argument.
* The list returned must be freed using @ref AB_Country_ConstList2_free()
* by the caller. The elements of that list are all const.
* The name may contain jokers ("?") and wildcards ("*") and is case
* insensitive.
*/
AQBANKING_API
AB_COUNTRY_CONSTLIST2 *AB_Banking_ListCountriesByName(AB_BANKING *ab,
const char *name);
/**
* Returns a list of informations about countries whose local name
* (in the currently selected language) matches the given argument.
* The list returned must be freed using @ref AB_Country_ConstList2_free()
* by the caller. The elements of that list are all const.
* The name may contain jokers ("?") and wildcards ("*") and is case
* insensitive.
*/
AQBANKING_API
AB_COUNTRY_CONSTLIST2 *AB_Banking_ListCountriesByLocalName(AB_BANKING *ab,
const char *name);
/*@}*/
/*@}*/ /* addtogroup */
#ifdef __cplusplus
}
#endif
#endif
|