aqbanking  5.7.8
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 /* this account can be used with SEPA jobs */
42 #define AH_BANK_FLAGS_SEPA 0x00000008
43 
45 #define AH_BANK_FLAGS_SEPA_PREFER_SINGLE_TRANSFER 0x00000010
46 
47 #define AH_BANK_FLAGS_SEPA_PREFER_SINGLE_DEBITNOTE 0x00000020
48 
49 
50 #define AH_BANK_FLAGS_DEFAULT 0
51 
61 void AH_Account_Flags_toDb(GWEN_DB_NODE *db, const char *name,
62  uint32_t flags);
63 
65 uint32_t AH_Account_Flags_fromDb(GWEN_DB_NODE *db, const char *name);
66 
68 uint32_t AH_Account_GetFlags(const AB_ACCOUNT *a);
69 
71 void AH_Account_SetFlags(AB_ACCOUNT *a, uint32_t flags);
72 
74 void AH_Account_AddFlags(AB_ACCOUNT *a, uint32_t flags);
75 
77 void AH_Account_SubFlags(AB_ACCOUNT *a, uint32_t flags);
78 
83 #ifdef __cplusplus
84 }
85 #endif
86 
87 
88  /* defgroup */
90 
91 
92 #endif /* AH_ACCOUNT_H */
93 
94 
This file is used by AqBanking and provider backends.
AQHBCI_API void AH_Account_SetFlags(AB_ACCOUNT *a, uint32_t flags)
#define AQHBCI_API
Definition: aqhbci.h:48
AQHBCI_API void AH_Account_Flags_toDb(GWEN_DB_NODE *db, const char *name, uint32_t flags)
AQHBCI_API uint32_t AH_Account_GetFlags(const AB_ACCOUNT *a)
AQHBCI_API void AH_Account_SubFlags(AB_ACCOUNT *a, uint32_t flags)
AQHBCI_API uint32_t AH_Account_Flags_fromDb(GWEN_DB_NODE *db, const char *name)
AQHBCI_API void AH_Account_AddFlags(AB_ACCOUNT *a, uint32_t flags)
struct AB_ACCOUNT AB_ACCOUNT