Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

hbci.h File Reference

#include <aqhbci/aqhbci.h>
#include <gwenhywfar/xml.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/inherit.h>
#include <gwenhywfar/plugindescr.h>
#include <gwenhywfar/crypttoken.h>
#include <aqhbci/objectref.h>
#include <aqbanking/banking.h>
#include <aqhbci/medium.h>
#include <aqhbci/user.h>
#include <aqhbci/account.h>
#include <aqhbci/message.h>
#include <aqhbci/customer.h>

Go to the source code of this file.

Constructors, Destructors

AQHBCI_API AH_HBCI * AH_HBCI_new (AB_PROVIDER *pro)
AQHBCI_API void AH_HBCI_free (AH_HBCI *hbci)

Informational Functions

AQHBCI_API const char * AH_HBCI_GetProductName (const AH_HBCI *hbci)
AQHBCI_API void AH_HBCI_SetProductName (AH_HBCI *hbci, const char *s)
AQHBCI_API const char * AH_HBCI_GetProductVersion (const AH_HBCI *hbci)
AQHBCI_API void AH_HBCI_SetProductVersion (AH_HBCI *hbci, const char *s)
AQHBCI_API AB_BANKING * AH_HBCI_GetBankingApi (const AH_HBCI *hbci)
AQHBCI_API AB_PROVIDER * AH_HBCI_GetProvider (const AH_HBCI *hbci)

Defines

#define AH_DEFAULT_KEYLEN   768
#define AH_HBCI_CHECKMEDIUM_WCB_ID   "AH_HBCI_CHECKMEDIUM_WCB_ID"
#define AH_HBCI_LAST_VERSION_NONE   0xffffffff
#define AH_HBCI_CONN_MARK_TCP   1
#define AH_HBCI_CONN_MARK_SSL   2

Typedefs

typedef AH_HBCI AH_HBCI

Enumerations

enum  AH_CRYPT_MODE {
  AH_CryptMode_Unknown = -1, AH_CryptMode_None = 0, AH_CryptMode_Ddv, AH_CryptMode_Pintan,
  AH_CryptMode_Rdh
}

Functions

 GWEN_INHERIT_FUNCTION_LIB_DEFS (AH_HBCI, AQHBCI_API)
AH_CRYPT_MODE AH_CryptMode_fromString (const char *s)
const char * AH_CryptMode_toString (AH_CRYPT_MODE v)
int AH_HBCI_Init (AH_HBCI *hbci)
int AH_HBCI_Fini (AH_HBCI *hbci)
AQHBCI_API AH_MEDIUM * AH_HBCI_MediumFactory (AH_HBCI *hbci, const char *typeName, const char *subTypeName, const char *mediumName)
AQHBCI_API AH_MEDIUM * AH_HBCI_MediumFactoryDb (AH_HBCI *hbci, const char *typeName, const char *subTypeName, GWEN_DB_NODE *db)
AQHBCI_API AH_MEDIUM * AH_HBCI_FindMedium (const AH_HBCI *hbci, const char *typeName, const char *mediumName)
AQHBCI_API AH_MEDIUM * AH_HBCI_SelectMedium (AH_HBCI *hbci, const char *typeName, const char *subTypeName, const char *mediumName)
AQHBCI_API AH_MEDIUM * AH_HBCI_SelectMediumDb (AH_HBCI *hbci, const char *typeName, const char *subTypeName, GWEN_DB_NODE *db)
AQHBCI_API int AH_HBCI_AddMedium (AH_HBCI *hbci, AH_MEDIUM *m)
AQHBCI_API const AH_MEDIUM_LIST * AH_HBCI_GetMediaList (const AH_HBCI *hbci)
AQHBCI_API int AH_HBCI_RemoveMedium (AH_HBCI *hbci, AH_MEDIUM *m)
AQHBCI_API int AH_HBCI_UnmountCurrentMedium (AH_HBCI *hbci)
AQHBCI_API GWEN_PLUGIN_DESCRIPTION_LIST2 * AH_HBCI_GetMediumPluginDescrs (AH_HBCI *hbci, GWEN_CRYPTTOKEN_DEVICE dev)
AQHBCI_API int AH_HBCI_CheckMedium (AH_HBCI *hbci, GWEN_CRYPTTOKEN_DEVICE dev, GWEN_BUFFER *mtypeName, GWEN_BUFFER *msubTypeName, GWEN_BUFFER *mediumName)
AQHBCI_API AH_BANK * AH_HBCI_FindBank (const AH_HBCI *hbci, int country, const char *bankId)
AQHBCI_API AH_BANK_LIST2 * AH_HBCI_GetBanks (const AH_HBCI *hbci, int country, const char *bankId)
AQHBCI_API int AH_HBCI_AddBank (AH_HBCI *hbci, AH_BANK *b)
AQHBCI_API AQHBCI_API int AH_HBCI_RemoveBank (AH_HBCI *hbci, AH_BANK *b)
AQHBCI_API AH_CUSTOMER * AH_HBCI_FindCustomer (AH_HBCI *hbci, int country, const char *bankId, const char *userId, const char *customerId)
AQHBCI_API AH_CUSTOMER_LIST2 * AH_HBCI_GetCustomers (AH_HBCI *hbci, int country, const char *bankId, const char *userId, const char *customerId)
AQHBCI_API AH_ACCOUNT * AH_HBCI_FindAccount (AH_HBCI *hbci, int country, const char *bankId, const char *accountId)
AQHBCI_API AH_ACCOUNT_LIST2 * AH_HBCI_GetAccounts (AH_HBCI *hbci, int country, const char *bankId, const char *accountId)
AQHBCI_API AH_USER * AH_HBCI_FindUser (AH_HBCI *hbci, int country, const char *bankId, const char *userId)
AQHBCI_API AH_USER_LIST2 * AH_HBCI_GetUsers (AH_HBCI *hbci, int country, const char *bankId, const char *userId)
int AH_HBCI_AddBankPath (const AH_HBCI *hbci, const AH_BANK *b, GWEN_BUFFER *nbuf)
int AH_HBCI_AddUserPath (const AH_HBCI *hbci, const AH_USER *u, GWEN_BUFFER *nbuf)
int AH_HBCI_AddCustomerPath (const AH_HBCI *hbci, const AH_CUSTOMER *cu, GWEN_BUFFER *nbuf)
int AH_HBCI_AddAccountPath (const AH_HBCI *hbci, const AH_ACCOUNT *a, GWEN_BUFFER *nbuf)
int AH_HBCI_AddBankCertFolder (AH_HBCI *hbci, AH_BANK *b, GWEN_BUFFER *nbuf)
int AH_HBCI_RemoveAllBankCerts (AH_HBCI *hbci, AH_BANK *b)
int AH_HBCI_SaveMessage (AH_HBCI *hbci, const AH_CUSTOMER *cu, GWEN_DB_NODE *dbMsg)
GWEN_DB_NODE * AH_HBCI_GetSharedRuntimeData (const AH_HBCI *hbci)
int AH_HBCI_GetTransferTimeout (const AH_HBCI *hbci)
void AH_HBCI_SetTransferTimeout (AH_HBCI *hbci, int i)
int AH_HBCI_GetConnectTimeout (const AH_HBCI *hbci)
void AH_HBCI_SetConnectTimeout (AH_HBCI *hbci, int i)
void AH_HBCI_HbciToUtf8 (const char *p, int size, GWEN_BUFFER *buf)


Define Documentation

#define AH_DEFAULT_KEYLEN   768
 

Definition at line 28 of file hbci.h.

#define AH_HBCI_CHECKMEDIUM_WCB_ID   "AH_HBCI_CHECKMEDIUM_WCB_ID"
 

Definition at line 30 of file hbci.h.

#define AH_HBCI_CONN_MARK_SSL   2
 

Definition at line 52 of file hbci.h.

#define AH_HBCI_CONN_MARK_TCP   1
 

Definition at line 51 of file hbci.h.

#define AH_HBCI_LAST_VERSION_NONE   0xffffffff
 

Definition at line 32 of file hbci.h.


Typedef Documentation

typedef struct AH_HBCI AH_HBCI
 

Definition at line 23 of file hbci.h.


Enumeration Type Documentation

enum AH_CRYPT_MODE
 

Enumerator:
AH_CryptMode_Unknown 
AH_CryptMode_None  No type.
AH_CryptMode_Ddv  DES-DES-Verfahren
AH_CryptMode_Pintan  PIN/TAN mode
AH_CryptMode_Rdh  RSA-DES-Hybridverfahren

Definition at line 56 of file hbci.h.


Function Documentation

AH_CRYPT_MODE AH_CryptMode_fromString (  const char *  s  ) 
 

const char* AH_CryptMode_toString (  AH_CRYPT_MODE  v  ) 
 

int AH_HBCI_AddAccountPath (  const AH_HBCI *  hbci,
const AH_ACCOUNT *  a,
GWEN_BUFFER *  nbuf
) 
 

AQHBCI_API int AH_HBCI_AddBank (  AH_HBCI *  hbci,
AH_BANK *  b
) 
 

int AH_HBCI_AddBankCertFolder (  AH_HBCI *  hbci,
AH_BANK *  b,
GWEN_BUFFER *  nbuf
) 
 

int AH_HBCI_AddBankPath (  const AH_HBCI *  hbci,
const AH_BANK *  b,
GWEN_BUFFER *  nbuf
) 
 

int AH_HBCI_AddCustomerPath (  const AH_HBCI *  hbci,
const AH_CUSTOMER *  cu,
GWEN_BUFFER *  nbuf
) 
 

AQHBCI_API int AH_HBCI_AddMedium (  AH_HBCI *  hbci,
AH_MEDIUM *  m
) 
 

int AH_HBCI_AddUserPath (  const AH_HBCI *  hbci,
const AH_USER *  u,
GWEN_BUFFER *  nbuf
) 
 

AQHBCI_API int AH_HBCI_CheckMedium (  AH_HBCI *  hbci,
GWEN_CRYPTTOKEN_DEVICE  dev,
GWEN_BUFFER *  mtypeName,
GWEN_BUFFER *  msubTypeName,
GWEN_BUFFER *  mediumName
) 
 

AQHBCI_API AH_ACCOUNT* AH_HBCI_FindAccount (  AH_HBCI *  hbci,
int  country,
const char *  bankId,
const char *  accountId
) 
 

AQHBCI_API AH_BANK* AH_HBCI_FindBank (  const AH_HBCI *  hbci,
int  country,
const char *  bankId
) 
 

AQHBCI_API AH_CUSTOMER* AH_HBCI_FindCustomer (  AH_HBCI *  hbci,
int  country,
const char *  bankId,
const char *  userId,
const char *  customerId
) 
 

AQHBCI_API AH_MEDIUM* AH_HBCI_FindMedium (  const AH_HBCI *  hbci,
const char *  typeName,
const char *  mediumName
) 
 

AQHBCI_API AH_USER* AH_HBCI_FindUser (  AH_HBCI *  hbci,
int  country,
const char *  bankId,
const char *  userId
) 
 

int AH_HBCI_Fini (  AH_HBCI *  hbci  ) 
 

AQHBCI_API void AH_HBCI_free (  AH_HBCI *  hbci  ) 
 

AQHBCI_API AH_ACCOUNT_LIST2* AH_HBCI_GetAccounts (  AH_HBCI *  hbci,
int  country,
const char *  bankId,
const char *  accountId
) 
 

AQHBCI_API AB_BANKING* AH_HBCI_GetBankingApi (  const AH_HBCI *  hbci  ) 
 

AQHBCI_API AH_BANK_LIST2* AH_HBCI_GetBanks (  const AH_HBCI *  hbci,
int  country,
const char *  bankId
) 
 

int AH_HBCI_GetConnectTimeout (  const AH_HBCI *  hbci  ) 
 

AQHBCI_API AH_CUSTOMER_LIST2* AH_HBCI_GetCustomers (  AH_HBCI *  hbci,
int  country,
const char *  bankId,
const char *  userId,
const char *  customerId
) 
 

AQHBCI_API const AH_MEDIUM_LIST* AH_HBCI_GetMediaList (  const AH_HBCI *  hbci  ) 
 

AQHBCI_API GWEN_PLUGIN_DESCRIPTION_LIST2* AH_HBCI_GetMediumPluginDescrs (  AH_HBCI *  hbci,
GWEN_CRYPTTOKEN_DEVICE  dev
) 
 

AQHBCI_API const char* AH_HBCI_GetProductName (  const AH_HBCI *  hbci  ) 
 

AQHBCI_API const char* AH_HBCI_GetProductVersion (  const AH_HBCI *  hbci  ) 
 

AQHBCI_API AB_PROVIDER* AH_HBCI_GetProvider (  const AH_HBCI *  hbci  ) 
 

GWEN_DB_NODE* AH_HBCI_GetSharedRuntimeData (  const AH_HBCI *  hbci  ) 
 

int AH_HBCI_GetTransferTimeout (  const AH_HBCI *  hbci  ) 
 

AQHBCI_API AH_USER_LIST2* AH_HBCI_GetUsers (  AH_HBCI *  hbci,
int  country,
const char *  bankId,
const char *  userId
) 
 

void AH_HBCI_HbciToUtf8 (  const char *  p,
int  size,
GWEN_BUFFER *  buf
) 
 

int AH_HBCI_Init (  AH_HBCI *  hbci  ) 
 

AQHBCI_API AH_MEDIUM* AH_HBCI_MediumFactory (  AH_HBCI *  hbci,
const char *  typeName,
const char *  subTypeName,
const char *  mediumName
) 
 

AQHBCI_API AH_MEDIUM* AH_HBCI_MediumFactoryDb (  AH_HBCI *  hbci,
const char *  typeName,
const char *  subTypeName,
GWEN_DB_NODE *  db
) 
 

AQHBCI_API AH_HBCI* AH_HBCI_new (  AB_PROVIDER *  pro  ) 
 

int AH_HBCI_RemoveAllBankCerts (  AH_HBCI *  hbci,
AH_BANK *  b
) 
 

AQHBCI_API AQHBCI_API int AH_HBCI_RemoveBank (  AH_HBCI *  hbci,
AH_BANK *  b
) 
 

AQHBCI_API int AH_HBCI_RemoveMedium (  AH_HBCI *  hbci,
AH_MEDIUM *  m
) 
 

This function only removes the object from the internal list, it doesn't delete its files. You should only call this for objects which you just created in the same session since otherwise it will reappear upon next startup. This function does not destroy the object.

int AH_HBCI_SaveMessage (  AH_HBCI *  hbci,
const AH_CUSTOMER *  cu,
GWEN_DB_NODE *  dbMsg
) 
 

AQHBCI_API AH_MEDIUM* AH_HBCI_SelectMedium (  AH_HBCI *  hbci,
const char *  typeName,
const char *  subTypeName,
const char *  mediumName
) 
 

AQHBCI_API AH_MEDIUM* AH_HBCI_SelectMediumDb (  AH_HBCI *  hbci,
const char *  typeName,
const char *  subTypeName,
GWEN_DB_NODE *  db
) 
 

void AH_HBCI_SetConnectTimeout (  AH_HBCI *  hbci,
int  i
) 
 

AQHBCI_API void AH_HBCI_SetProductName (  AH_HBCI *  hbci,
const char *  s
) 
 

AQHBCI_API void AH_HBCI_SetProductVersion (  AH_HBCI *  hbci,
const char *  s
) 
 

void AH_HBCI_SetTransferTimeout (  AH_HBCI *  hbci,
int  i
) 
 

AQHBCI_API int AH_HBCI_UnmountCurrentMedium (  AH_HBCI *  hbci  ) 
 

GWEN_INHERIT_FUNCTION_LIB_DEFS (  AH_HBCI  ,
AQHBCI_API 
) 
 


Generated on Thu Oct 6 14:49:09 2005 for aqbanking by  doxygen 1.4.4