aqbanking  5.7.8
aqofxconnect/user.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 AO_USER_H
11 #define AO_USER_H
12 
14 #include <aqbanking/provider_be.h>
15 
16 #include <gwenhywfar/misc.h>
17 #include <gwenhywfar/db.h>
18 
19 
20 #define AO_USER_FLAGS_ACCOUNT_LIST 0x00000001
21 #define AO_USER_FLAGS_STATEMENTS 0x00000002
22 #define AO_USER_FLAGS_INVESTMENT 0x00000004
23 #define AO_USER_FLAGS_BILLPAY 0x00000008
24 #define AO_USER_FLAGS_EMPTY_BANKID 0x00000010
25 #define AO_USER_FLAGS_EMPTY_FID 0x00000020
26 #define AO_USER_FLAGS_FORCE_SSL3 0x00000040
27 #define AO_USER_FLAGS_SEND_SHORT_DATE 0x00000080
28 
29 
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 
37 uint32_t AO_User_Flags_fromDb(GWEN_DB_NODE *db, const char *name);
38 
40 void AO_User_Flags_toDb(GWEN_DB_NODE *db, const char *name,
41  uint32_t fl);
42 
43 
45 void AO_User_Extend(AB_USER *u, AB_PROVIDER *pro,
47  GWEN_DB_NODE *dbBackend);
48 
50 const char *AO_User_GetBankName(const AB_USER *u);
51 
53 void AO_User_SetBankName(AB_USER *u, const char *s);
54 
56 const char *AO_User_GetBrokerId(const AB_USER *u);
57 
59 void AO_User_SetBrokerId(AB_USER *u, const char *s);
60 
62 const char *AO_User_GetOrg(const AB_USER *u);
63 
65 void AO_User_SetOrg(AB_USER *u, const char *s);
66 
68 const char *AO_User_GetFid(const AB_USER *u);
69 
71 void AO_User_SetFid(AB_USER *u, const char *s);
72 
74 const char *AO_User_GetServerAddr(const AB_USER *u);
75 
77 void AO_User_SetServerAddr(AB_USER *u, const char *s);
78 
80 uint32_t AO_User_GetFlags(const AB_USER *u);
81 
83 void AO_User_SetFlags(AB_USER *u, uint32_t f);
84 
86 void AO_User_AddFlags(AB_USER *u, uint32_t f);
87 
89 void AO_User_SubFlags(AB_USER *u, uint32_t f);
90 
91 
92 
94 const char *AO_User_GetAppId(const AB_USER *u);
95 
97 void AO_User_SetAppId(AB_USER *u, const char *s);
98 
100 const char *AO_User_GetAppVer(const AB_USER *u);
101 
103 void AO_User_SetAppVer(AB_USER *u, const char *s);
104 
106 const char *AO_User_GetHeaderVer(const AB_USER *u);
107 
109 void AO_User_SetHeaderVer(AB_USER *u, const char *s);
110 
112 const char *AO_User_GetClientUid(const AB_USER *u);
113 
115 void AO_User_SetClientUid(AB_USER *u, const char *s);
116 
117 
118 
120 const char *AO_User_GetSecurityType(const AB_USER *u);
121 
123 void AO_User_SetSecurityType(AB_USER *u, const char *s);
124 
125 
126 
128 int AO_User_GetHttpVMajor(const AB_USER *u);
129 
131 void AO_User_SetHttpVMajor(AB_USER *u, int i);
132 
134 int AO_User_GetHttpVMinor(const AB_USER *u);
135 
137 void AO_User_SetHttpVMinor(AB_USER *u, int i);
138 
139 
141 const char *AO_User_GetHttpUserAgent(const AB_USER *u);
142 
144 void AO_User_SetHttpUserAgent(AB_USER *u, const char *s);
145 
146 
147 #ifdef __cplusplus
148 }
149 #endif
150 
151 
152 #endif
AQOFXCONNECT_API const char * AO_User_GetHttpUserAgent(const AB_USER *u)
struct AB_USER AB_USER
AQOFXCONNECT_API const char * AO_User_GetHeaderVer(const AB_USER *u)
AQOFXCONNECT_API void AO_User_SetFlags(AB_USER *u, uint32_t f)
AQOFXCONNECT_API const char * AO_User_GetFid(const AB_USER *u)
AQOFXCONNECT_API void AO_User_AddFlags(AB_USER *u, uint32_t f)
AQOFXCONNECT_API void AO_User_SetAppId(AB_USER *u, const char *s)
AQOFXCONNECT_API const char * AO_User_GetAppId(const AB_USER *u)
This file is used by provider backends.
AQOFXCONNECT_API void AO_User_SetFid(AB_USER *u, const char *s)
AQOFXCONNECT_API void AO_User_SetBankName(AB_USER *u, const char *s)
AQOFXCONNECT_API void AO_User_SetOrg(AB_USER *u, const char *s)
AQOFXCONNECT_API uint32_t AO_User_Flags_fromDb(GWEN_DB_NODE *db, const char *name)
AQOFXCONNECT_API void AO_User_Flags_toDb(GWEN_DB_NODE *db, const char *name, uint32_t fl)
AQOFXCONNECT_API void AO_User_Extend(AB_USER *u, AB_PROVIDER *pro, AB_PROVIDER_EXTEND_MODE em, GWEN_DB_NODE *dbBackend)
AQOFXCONNECT_API void AO_User_SetSecurityType(AB_USER *u, const char *s)
AQOFXCONNECT_API void AO_User_SetClientUid(AB_USER *u, const char *s)
AQOFXCONNECT_API const char * AO_User_GetBrokerId(const AB_USER *u)
AQOFXCONNECT_API uint32_t AO_User_GetFlags(const AB_USER *u)
AQOFXCONNECT_API void AO_User_SubFlags(AB_USER *u, uint32_t f)
AQOFXCONNECT_API int AO_User_GetHttpVMinor(const AB_USER *u)
AQOFXCONNECT_API void AO_User_SetHttpVMajor(AB_USER *u, int i)
AQOFXCONNECT_API void AO_User_SetHeaderVer(AB_USER *u, const char *s)
AQOFXCONNECT_API const char * AO_User_GetClientUid(const AB_USER *u)
AQOFXCONNECT_API const char * AO_User_GetAppVer(const AB_USER *u)
AQOFXCONNECT_API void AO_User_SetHttpVMinor(AB_USER *u, int i)
AQOFXCONNECT_API void AO_User_SetBrokerId(AB_USER *u, const char *s)
AB_PROVIDER_EXTEND_MODE
Definition: provider_be.h:49
struct AB_PROVIDER AB_PROVIDER
AQOFXCONNECT_API void AO_User_SetHttpUserAgent(AB_USER *u, const char *s)
AQOFXCONNECT_API const char * AO_User_GetServerAddr(const AB_USER *u)
AQOFXCONNECT_API const char * AO_User_GetOrg(const AB_USER *u)
#define AQOFXCONNECT_API
Definition: aqofxconnect.h:45
AQOFXCONNECT_API int AO_User_GetHttpVMajor(const AB_USER *u)
AQOFXCONNECT_API void AO_User_SetServerAddr(AB_USER *u, const char *s)
AQOFXCONNECT_API void AO_User_SetAppVer(AB_USER *u, const char *s)
AQOFXCONNECT_API const char * AO_User_GetSecurityType(const AB_USER *u)
AQOFXCONNECT_API const char * AO_User_GetBankName(const AB_USER *u)