aqbanking  5.0.22
Functions
user.h File Reference
#include <aqhbci/aqhbci.h>
#include <aqhbci/tanmethod.h>
#include <gwenhywfar/misc.h>
#include <aqbanking/user.h>
#include <gwenhywfar/db.h>
#include <gwenhywfar/url.h>

Go to the source code of this file.

Defines

HBCI User Flags
#define AH_USER_FLAGS_BANK_DOESNT_SIGN   0x00000001
#define AH_USER_FLAGS_BANK_USES_SIGNSEQ   0x00000002
#define AH_USER_FLAGS_RESERVED1   0x00000004
#define AH_USER_FLAGS_RESERVED2   0x00000008
#define AH_USER_FLAGS_KEEPALIVE   0x00000010
#define AH_USER_FLAGS_IGNORE_UPD   0x00000020
#define AH_USER_FLAGS_FORCE_SSL3   0x00000040
#define AH_USER_FLAGS_NO_BASE64   0x00000080
#define AH_USER_FLAGS_KEEP_MULTIPLE_BLANKS   0x00000100
#define AH_USER_FLAGS_TAN_OMIT_SMS_ACCOUNT   0x00000200

Functions

AQHBCI_API const char * AH_User_GetTokenType (const AB_USER *u)
AQHBCI_API void AH_User_SetTokenType (AB_USER *u, const char *s)
AQHBCI_API const char * AH_User_GetTokenName (const AB_USER *u)
AQHBCI_API void AH_User_SetTokenName (AB_USER *u, const char *s)
AQHBCI_API uint32_t AH_User_GetTokenContextId (const AB_USER *u)
AQHBCI_API void AH_User_SetTokenContextId (AB_USER *u, uint32_t id)
AQHBCI_API int AH_User_GetMaxTransfersPerJob (const AB_USER *u)
AQHBCI_API void AH_User_SetMaxTransfersPerJob (AB_USER *u, int i)
AQHBCI_API int AH_User_GetMaxDebitNotesPerJob (const AB_USER *u)
AQHBCI_API void AH_User_SetMaxDebitNotesPerJob (AB_USER *u, int i)
PIN/TAN Specific Functions
AQHBCI_API const int * AH_User_GetTanMethodList (const AB_USER *u)
AQHBCI_API int AH_User_GetTanMethodCount (const AB_USER *u)
AQHBCI_API int AH_User_HasTanMethod (const AB_USER *u, int method)
AQHBCI_API int AH_User_HasTanMethodOtherThan (const AB_USER *u, int method)
AQHBCI_API void AH_User_AddTanMethod (AB_USER *u, int method)
AQHBCI_API void AH_User_ClearTanMethodList (AB_USER *u)
AQHBCI_API int AH_User_GetSelectedTanMethod (const AB_USER *u)
AQHBCI_API void AH_User_SetSelectedTanMethod (AB_USER *u, int i)
AQHBCI_API const char * AH_User_GetHttpContentType (const AB_USER *u)
AQHBCI_API void AH_User_SetHttpContentType (AB_USER *u, const char *s)
Miscellanous Settings
AQHBCI_API AH_CRYPT_MODE AH_User_GetCryptMode (const AB_USER *u)
AQHBCI_API void AH_User_SetCryptMode (AB_USER *u, AH_CRYPT_MODE m)
AQHBCI_API int AH_User_GetRdhType (const AB_USER *u)
AQHBCI_API void AH_User_SetRdhType (AB_USER *u, int i)
AQHBCI_API const char * AH_User_GetPeerId (const AB_USER *u)
AQHBCI_API void AH_User_SetPeerId (AB_USER *u, const char *s)
AQHBCI_API const char * AH_User_GetSystemId (const AB_USER *u)
AQHBCI_API void AH_User_SetSystemId (AB_USER *u, const char *s)
AQHBCI_API const GWEN_URL * AH_User_GetServerUrl (const AB_USER *u)
AQHBCI_API void AH_User_SetServerUrl (AB_USER *u, const GWEN_URL *url)
AQHBCI_API int AH_User_GetHbciVersion (const AB_USER *u)
AQHBCI_API void AH_User_SetHbciVersion (AB_USER *u, int i)
Pin/Tan Settings
AQHBCI_API int AH_User_GetHttpVMajor (const AB_USER *u)
AQHBCI_API void AH_User_SetHttpVMajor (AB_USER *u, int i)
AQHBCI_API int AH_User_GetHttpVMinor (const AB_USER *u)
AQHBCI_API void AH_User_SetHttpVMinor (AB_USER *u, int i)
AQHBCI_API const char * AH_User_GetHttpUserAgent (const AB_USER *u)
AQHBCI_API void AH_User_SetHttpUserAgent (AB_USER *u, const char *s)
AQHBCI_API const char * AH_User_GetTanMediumId (const AB_USER *u)
AQHBCI_API void AH_User_SetTanMediumId (AB_USER *u, const char *s)
Passwords/Pins/Tans
AQHBCI_API int AH_User_MkPasswdName (const AB_USER *u, GWEN_BUFFER *buf)
AQHBCI_API int AH_User_MkPinName (const AB_USER *u, GWEN_BUFFER *buf)
AQHBCI_API int AH_User_MkTanName (const AB_USER *u, const char *challenge, GWEN_BUFFER *buf)
AQHBCI_API const
AH_TAN_METHOD_LIST
AH_User_GetTanMethodDescriptions (AB_USER *u)

Functions for Flags and Status

enum  AH_USER_STATUS {
  AH_UserStatusNew = 0, AH_UserStatusEnabled, AH_UserStatusPending, AH_UserStatusDisabled,
  AH_UserStatusUnknown = 999
}
AQHBCI_API void AH_User_Flags_toDb (GWEN_DB_NODE *db, const char *name, uint32_t flags)
AQHBCI_API uint32_t AH_User_Flags_fromDb (GWEN_DB_NODE *db, const char *name)
AQHBCI_API const char * AH_User_Status_toString (AH_USER_STATUS st)
AQHBCI_API AH_USER_STATUS AH_User_Status_fromString (const char *s)
AQHBCI_API AH_USER_STATUS AH_User_GetStatus (const AB_USER *u)
AQHBCI_API void AH_User_SetStatus (AB_USER *u, AH_USER_STATUS i)
AQHBCI_API uint32_t AH_User_GetFlags (const AB_USER *u)
AQHBCI_API void AH_User_SetFlags (AB_USER *u, uint32_t flags)
AQHBCI_API void AH_User_AddFlags (AB_USER *u, uint32_t flags)
AQHBCI_API void AH_User_SubFlags (AB_USER *u, uint32_t flags)