aqbanking  5.0.24.0-git
aqhbci/account.h
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Mon Mar 01 2004
3  copyright : (C) 2004 by Martin Preuss
4  email : martin@libchipcard.de
5 
6  ***************************************************************************
7  * Please see toplevel file COPYING for license details *
8  ***************************************************************************/
9 
10 #ifndef AH_ACCOUNT_H
11 #define AH_ACCOUNT_H
12 
13 #include <aqhbci/aqhbci.h> /* for AQHBCI_API */
14 #include <aqbanking/provider.h>
15 
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 
34 #define AH_BANK_FLAGS_PREFER_SINGLE_TRANSFER 0x00000001
35 
36 #define AH_BANK_FLAGS_PREFER_SINGLE_DEBITNOTE 0x00000002
37 
38 /* for this account there are KTV2 information availabel (e.g. account sub id) */
39 #define AH_BANK_FLAGS_KTV2 0x00000004
40 
41 #define AH_BANK_FLAGS_DEFAULT 0
42 
52 void AH_Account_Flags_toDb(GWEN_DB_NODE *db, const char *name,
53  uint32_t flags);
54 
56 uint32_t AH_Account_Flags_fromDb(GWEN_DB_NODE *db, const char *name);
57 
59 uint32_t AH_Account_GetFlags(const AB_ACCOUNT *a);
60 
62 void AH_Account_SetFlags(AB_ACCOUNT *a, uint32_t flags);
63 
65 void AH_Account_AddFlags(AB_ACCOUNT *a, uint32_t flags);
66 
68 void AH_Account_SubFlags(AB_ACCOUNT *a, uint32_t flags);
69 
74 #ifdef __cplusplus
75 }
76 #endif
77 
78 
79  /* defgroup */
81 
82 
83 #endif /* AH_ACCOUNT_H */
84 
85