00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef AH_CUSTOMER_H
00014 #define AH_CUSTOMER_H
00015
00022
00023 #include <gwenhywfar/misc.h>
00024 #include <gwenhywfar/misc2.h>
00025 #include <aqhbci/objectref.h>
00026
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 typedef struct AH_CUSTOMER AH_CUSTOMER;
00031 typedef struct AH_CUSTOMER_REF AH_CUSTOMER_REF;
00032 GWEN_LIST2_FUNCTION_LIB_DEFS(AH_CUSTOMER, AH_Customer, AQHBCI_API);
00033 #ifdef __cplusplus
00034 }
00035 #endif
00036
00037 #include <gwenhywfar/db.h>
00038 #include <aqhbci/hbci.h>
00039 #include <aqhbci/msgengine.h>
00040 #include <aqhbci/bpd.h>
00041
00042
00043 #ifdef __cplusplus
00044 extern "C" {
00045 #endif
00046
00047
00048 AQHBCI_API
00049 AH_CUSTOMER *AH_Customer_new(AH_USER *u, const char *customerId);
00050 AQHBCI_API
00051 void AH_Customer_Attach(AH_CUSTOMER *cu);
00052 AQHBCI_API
00053 void AH_Customer_free(AH_CUSTOMER *cu);
00054
00055 AQHBCI_API
00056 int AH_Customer_GetBpdVersion(const AH_CUSTOMER *cu);
00057 AQHBCI_API
00058 void AH_Customer_SetBpdVersion(AH_CUSTOMER *cu, int i);
00059
00060 AQHBCI_API
00061 AH_BPD *AH_Customer_GetBpd(const AH_CUSTOMER *cu);
00062 AQHBCI_API
00063 void AH_Customer_SetBpd(AH_CUSTOMER *cu, AH_BPD *bpd);
00064
00065
00066 AQHBCI_API
00067 GWEN_MSGENGINE *AH_Customer_GetMsgEngine(const AH_CUSTOMER *cu);
00068 AQHBCI_API
00069 void AH_Customer_SetMsgEngine(AH_CUSTOMER *cu, GWEN_MSGENGINE *e);
00070
00071 AQHBCI_API
00072 int AH_Customer_GetHbciVersion(const AH_CUSTOMER *cu);
00073 AQHBCI_API
00074 void AH_Customer_SetHbciVersion(AH_CUSTOMER *cu, int i);
00075
00076 AQHBCI_API
00077 AH_USER *AH_Customer_GetUser(const AH_CUSTOMER *cu);
00078
00079 AQHBCI_API
00080 const char *AH_Customer_GetCustomerId(const AH_CUSTOMER *cu);
00081
00082 AQHBCI_API
00083 const char *AH_Customer_GetFullName(const AH_CUSTOMER *cu);
00084
00085 AQHBCI_API
00086 void AH_Customer_SetFullName(AH_CUSTOMER *cu,
00087 const char *s);
00088
00089 AQHBCI_API
00090 int AH_Customer_GetUpdVersion(const AH_CUSTOMER *cu);
00091 AQHBCI_API
00092 void AH_Customer_SetUpdVersion(AH_CUSTOMER *cu, int i);
00093
00099 AQHBCI_API
00100 int AH_Customer_GetBankSigns(const AH_CUSTOMER *cu);
00101
00107 AQHBCI_API
00108 void AH_Customer_SetBankSigns(AH_CUSTOMER *cu, int b);
00109
00110
00111 AQHBCI_API
00112 int AH_Customer_GetBankUsesSignSeq(const AH_CUSTOMER *cu);
00113
00114 AQHBCI_API
00115 void AH_Customer_SetBankUsesSignSeq(AH_CUSTOMER *cu, int b);
00116
00117
00121 AQHBCI_API
00122 int AH_Customer_GetHttpVMajor(const AH_CUSTOMER *cu);
00123 AQHBCI_API
00124 void AH_Customer_SetHttpVMajor(AH_CUSTOMER *cu, int i);
00125
00129 AQHBCI_API
00130 int AH_Customer_GetHttpVMinor(const AH_CUSTOMER *cu);
00131 AQHBCI_API
00132 void AH_Customer_SetHttpVMinor(AH_CUSTOMER *cu, int i);
00133
00134
00135
00136 AQHBCI_API
00137 const char *AH_Customer_GetHttpHost(const AH_CUSTOMER *cu);
00138 AQHBCI_API
00139 void AH_Customer_SetHttpHost(AH_CUSTOMER *cu, const char *s);
00140
00141
00142 AQHBCI_API
00143 const char *AH_Customer_GetHttpUserAgent(const AH_CUSTOMER *cu);
00144 AQHBCI_API
00145 void AH_Customer_SetHttpUserAgent(AH_CUSTOMER *cu, const char *s);
00146
00147
00148
00149
00150
00174 AQHBCI_API
00175 GWEN_DB_NODE *AH_Customer_GetUpd(const AH_CUSTOMER *cu);
00176 AQHBCI_API
00177 void AH_Customer_SetUpd(AH_CUSTOMER *cu, GWEN_DB_NODE *n);
00178
00179
00180 AQHBCI_API
00181 int AH_Customer_IgnoreUPD(const AH_CUSTOMER *cu);
00182 AQHBCI_API
00183 void AH_Customer_SetIgnoreUPD(AH_CUSTOMER *cu, int i);
00184
00185 AQHBCI_API
00186 int AH_Customer_GetPreferSingleTransfer(const AH_CUSTOMER *cu);
00187 AQHBCI_API
00188 void AH_Customer_SetPreferSingleTransfer(AH_CUSTOMER *cu, int i);
00189
00190
00191 AQHBCI_API
00192 const char *AH_Customer_GetSystemId(const AH_CUSTOMER *cu);
00193 AQHBCI_API
00194 void AH_Customer_SetSystemId(AH_CUSTOMER *cu, const char *s);
00195
00196
00197 #ifdef __cplusplus
00198 }
00199 #endif
00200
00202
00203 #endif
00204
00205