aqbanking  5.3.6beta
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 
44 #define AH_BANK_FLAGS_DEFAULT 0
45 
55 void AH_Account_Flags_toDb(GWEN_DB_NODE *db, const char *name,
56  uint32_t flags);
57 
59 uint32_t AH_Account_Flags_fromDb(GWEN_DB_NODE *db, const char *name);
60 
62 uint32_t AH_Account_GetFlags(const AB_ACCOUNT *a);
63 
65 void AH_Account_SetFlags(AB_ACCOUNT *a, uint32_t flags);
66 
68 void AH_Account_AddFlags(AB_ACCOUNT *a, uint32_t flags);
69 
71 void AH_Account_SubFlags(AB_ACCOUNT *a, uint32_t flags);
72 
77 #ifdef __cplusplus
78 }
79 #endif
80 
81 
82  /* defgroup */
84 
85 
86 #endif /* AH_ACCOUNT_H */
87 
88 
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