00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef AH_ACCOUNT_H
00014 #define AH_ACCOUNT_H
00015
00016 #ifdef __cplusplus
00017 extern "C" {
00018 #endif
00019
00020 #include <gwenhywfar/misc.h>
00021 #include <gwenhywfar/misc2.h>
00022 #include <aqhbci/aqhbci.h>
00023
00024 typedef struct AH_ACCOUNT AH_ACCOUNT;
00025 GWEN_LIST2_FUNCTION_LIB_DEFS(AH_ACCOUNT, AH_Account, AQHBCI_API);
00026
00027 AQHBCI_API
00028 void AH_Account_List2_freeAll(AH_ACCOUNT_LIST2 *al);
00029
00030 #ifdef __cplusplus
00031 }
00032 #endif
00033
00034 #include <gwenhywfar/inherit.h>
00035 #include <gwenhywfar/db.h>
00036 #include <gwenhywfar/stringlist.h>
00037 #include <aqhbci/bank.h>
00038
00039
00040 #ifdef __cplusplus
00041 extern "C" {
00042 #endif
00043
00044
00045
00046
00047 AQHBCI_API
00048 AH_ACCOUNT *AH_Account_new(AH_BANK *b,
00049 const char *bankId,
00050 const char *accountId);
00051 AQHBCI_API
00052 void AH_Account_free(AH_ACCOUNT *a);
00053
00054 AQHBCI_API
00055 void AH_Account_Attach(AH_ACCOUNT *a);
00056
00057 AQHBCI_API
00058 AH_BANK *AH_Account_GetBank(const AH_ACCOUNT *a);
00059
00063 AQHBCI_API
00064 void AH_Account_SetBank(AH_ACCOUNT *a, AH_BANK *b);
00065
00066 AQHBCI_API
00067 const char *AH_Account_GetBankId(const AH_ACCOUNT *a);
00068
00069 AQHBCI_API
00070 void AH_Account_SetBankId(AH_ACCOUNT *a, const char *s);
00071
00072 AQHBCI_API
00073 const char *AH_Account_GetAccountId(const AH_ACCOUNT *a);
00074
00078 AQHBCI_API
00079 void AH_Account_SetAccountId(AH_ACCOUNT *a, const char *s);
00080
00081 AQHBCI_API
00082 const char *AH_Account_GetSuffix(const AH_ACCOUNT *a);
00083 AQHBCI_API
00084 void AH_Account_SetSuffix(AH_ACCOUNT *a, const char *s);
00085
00086 AQHBCI_API
00087 const char *AH_Account_GetAccountName(const AH_ACCOUNT *a);
00088 AQHBCI_API
00089 void AH_Account_SetAccountName(AH_ACCOUNT *a,
00090 const char *s);
00091 AQHBCI_API
00092 const char *AH_Account_GetOwnerName(const AH_ACCOUNT *a);
00093 AQHBCI_API
00094 void AH_Account_SetOwnerName(AH_ACCOUNT *a,
00095 const char *s);
00096
00097 AQHBCI_API
00098 const GWEN_STRINGLIST *AH_Account_GetCustomers(const AH_ACCOUNT *a);
00099 AQHBCI_API
00100 void AH_Account_AddCustomer(AH_ACCOUNT *a, const char *cid);
00101 AQHBCI_API
00102 void AH_Account_ClearCustomers(AH_ACCOUNT *a);
00103
00104 AQHBCI_API
00105 void AH_Account_CleanUp(AH_ACCOUNT *a);
00106
00107 #ifdef __cplusplus
00108 }
00109 #endif
00110
00111
00112
00113
00114
00115 #endif
00116
00117