aqbanking  5.0.22
account.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     begin       : Mon Mar 01 2004
00003     copyright   : (C) 2004 by Martin Preuss
00004     email       : martin@libchipcard.de
00005 
00006  ***************************************************************************
00007  *          Please see toplevel file COPYING for license details           *
00008  ***************************************************************************/
00009 
00010 #ifndef AH_ACCOUNT_H
00011 #define AH_ACCOUNT_H
00012 
00013 #include <aqhbci/aqhbci.h> /* for AQHBCI_API */
00014 #include <aqbanking/provider.h>
00015 
00023 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027 
00028 
00034 #define AH_BANK_FLAGS_PREFER_SINGLE_TRANSFER  0x00000001
00035 
00036 #define AH_BANK_FLAGS_PREFER_SINGLE_DEBITNOTE 0x00000002
00037 
00038 /* for this account there are KTV2 information availabel (e.g. account sub id) */
00039 #define AH_BANK_FLAGS_KTV2                    0x00000004
00040 
00041 #define AH_BANK_FLAGS_DEFAULT 0
00042 
00051 AQHBCI_API
00052 void AH_Account_Flags_toDb(GWEN_DB_NODE *db, const char *name,
00053                            uint32_t flags);
00054 
00055 AQHBCI_API
00056 uint32_t AH_Account_Flags_fromDb(GWEN_DB_NODE *db, const char *name);
00057 
00058 AQHBCI_API
00059 uint32_t AH_Account_GetFlags(const AB_ACCOUNT *a);
00060 
00061 AQHBCI_API
00062 void AH_Account_SetFlags(AB_ACCOUNT *a, uint32_t flags);
00063 
00064 AQHBCI_API
00065 void AH_Account_AddFlags(AB_ACCOUNT *a, uint32_t flags);
00066 
00067 AQHBCI_API
00068 void AH_Account_SubFlags(AB_ACCOUNT *a, uint32_t flags);
00069 
00074 #ifdef __cplusplus
00075 }
00076 #endif
00077 
00078 
00079  /* defgroup */
00081 
00082 
00083 #endif /* AH_ACCOUNT_H */
00084 
00085