aqbanking  5.7.8
aqebics/account.h
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Wed May 07 2008
3  copyright : (C) 2008 by Martin Preuss
4  email : martin@libchipcard.de
5 
6  ***************************************************************************
7  * Please see toplevel file COPYING for license details *
8  ***************************************************************************/
9 
10 #ifndef EBC_CLIENT_ACCOUNT_H
11 #define EBC_CLIENT_ACCOUNT_H
12 
13 #include <aqebics/aqebics.h>
14 
15 #include <aqbanking/account.h>
16 
17 #include <gwenhywfar/db.h>
18 #include <gwenhywfar/misc.h>
19 
20 
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #define EBC_ACCOUNT_FLAGS_STA_SPP 0x00000001
27 #define EBC_ACCOUNT_FLAGS_IZV_SPP 0x00000002
28 
29 
30 AQEBICS_API void EBC_Account_Flags_toDb(GWEN_DB_NODE *db, const char *name,
31  uint32_t flags);
32 AQEBICS_API uint32_t EBC_Account_Flags_fromDb(GWEN_DB_NODE *db, const char *name);
33 
34 
35 AQEBICS_API const char *EBC_Account_GetEbicsId(const AB_ACCOUNT *a);
36 AQEBICS_API void EBC_Account_SetEbicsId(AB_ACCOUNT *a, const char *s);
37 
38 
46 AQEBICS_API void EBC_Account_SetFlags(AB_ACCOUNT *a, uint32_t flags);
47 AQEBICS_API void EBC_Account_AddFlags(AB_ACCOUNT *a, uint32_t flags);
48 AQEBICS_API void EBC_Account_SubFlags(AB_ACCOUNT *a, uint32_t flags);
49 
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif /* EBC_USER_H */
56 
57 
58 
59 
60 
61 
AQEBICS_API void EBC_Account_Flags_toDb(GWEN_DB_NODE *db, const char *name, uint32_t flags)
AQEBICS_API uint32_t EBC_Account_Flags_fromDb(GWEN_DB_NODE *db, const char *name)
AQEBICS_API void EBC_Account_SubFlags(AB_ACCOUNT *a, uint32_t flags)
#define AQEBICS_API
Definition: aqebics.h:48
AQEBICS_API const char * EBC_Account_GetEbicsId(const AB_ACCOUNT *a)
AQEBICS_API uint32_t EBC_Account_GetFlags(const AB_ACCOUNT *a)
AQEBICS_API void EBC_Account_SetFlags(AB_ACCOUNT *a, uint32_t flags)
AQEBICS_API void EBC_Account_AddFlags(AB_ACCOUNT *a, uint32_t flags)
AQEBICS_API void EBC_Account_SetEbicsId(AB_ACCOUNT *a, const char *s)
struct AB_ACCOUNT AB_ACCOUNT