aqbanking  5.0.22
user.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     begin       : Mon Mar 01 2004
00003     copyright   : (C) 2004 by Martin Preuss
00004     email       : martin@libchipcard.de
00005 
00006  ***************************************************************************
00007  *          Please see toplevel file COPYING for license details           *
00008  ***************************************************************************/
00009 
00010 #ifndef AO_USER_H
00011 #define AO_USER_H
00012 
00013 #include <aqofxconnect/aqofxconnect.h>
00014 #include <aqbanking/provider_be.h>
00015 
00016 #include <gwenhywfar/misc.h>
00017 #include <gwenhywfar/db.h>
00018 
00019 
00020 #define AO_USER_FLAGS_ACCOUNT_LIST     0x00000001
00021 #define AO_USER_FLAGS_STATEMENTS       0x00000002
00022 #define AO_USER_FLAGS_INVESTMENT       0x00000004
00023 #define AO_USER_FLAGS_BILLPAY          0x00000008
00024 #define AO_USER_FLAGS_EMPTY_BANKID     0x00000010
00025 #define AO_USER_FLAGS_EMPTY_FID        0x00000020
00026 #define AO_USER_FLAGS_FORCE_SSL3       0x00000040
00027 #define AO_USER_FLAGS_SEND_SHORT_DATE  0x00000080
00028 
00029 
00030 
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034 
00035 
00036 AQOFXCONNECT_API
00037 uint32_t AO_User_Flags_fromDb(GWEN_DB_NODE *db, const char *name);
00038 
00039 AQOFXCONNECT_API
00040 void AO_User_Flags_toDb(GWEN_DB_NODE *db, const char *name,
00041                         uint32_t fl);
00042 
00043 
00044 AQOFXCONNECT_API
00045 void AO_User_Extend(AB_USER *u, AB_PROVIDER *pro,
00046                     AB_PROVIDER_EXTEND_MODE em,
00047                     GWEN_DB_NODE *dbBackend);
00048 
00049 AQOFXCONNECT_API
00050 const char *AO_User_GetBankName(const AB_USER *u);
00051 
00052 AQOFXCONNECT_API
00053 void AO_User_SetBankName(AB_USER *u, const char *s);
00054 
00055 AQOFXCONNECT_API
00056 const char *AO_User_GetBrokerId(const AB_USER *u);
00057 
00058 AQOFXCONNECT_API
00059 void AO_User_SetBrokerId(AB_USER *u, const char *s);
00060 
00061 AQOFXCONNECT_API
00062 const char *AO_User_GetOrg(const AB_USER *u);
00063 
00064 AQOFXCONNECT_API
00065 void AO_User_SetOrg(AB_USER *u, const char *s);
00066 
00067 AQOFXCONNECT_API
00068 const char *AO_User_GetFid(const AB_USER *u);
00069 
00070 AQOFXCONNECT_API
00071 void AO_User_SetFid(AB_USER *u, const char *s);
00072 
00073 AQOFXCONNECT_API
00074 const char *AO_User_GetServerAddr(const AB_USER *u);
00075 
00076 AQOFXCONNECT_API
00077 void AO_User_SetServerAddr(AB_USER *u, const char *s);
00078 
00079 AQOFXCONNECT_API
00080 uint32_t AO_User_GetFlags(const AB_USER *u);
00081 
00082 AQOFXCONNECT_API
00083 void AO_User_SetFlags(AB_USER *u, uint32_t f);
00084 
00085 AQOFXCONNECT_API
00086 void AO_User_AddFlags(AB_USER *u, uint32_t f);
00087 
00088 AQOFXCONNECT_API
00089 void AO_User_SubFlags(AB_USER *u, uint32_t f);
00090 
00091 
00092 
00093 AQOFXCONNECT_API
00094 const char *AO_User_GetAppId(const AB_USER *u);
00095 
00096 AQOFXCONNECT_API
00097 void AO_User_SetAppId(AB_USER *u, const char *s);
00098 
00099 AQOFXCONNECT_API
00100 const char *AO_User_GetAppVer(const AB_USER *u);
00101 
00102 AQOFXCONNECT_API
00103 void AO_User_SetAppVer(AB_USER *u, const char *s);
00104 
00105 AQOFXCONNECT_API
00106 const char *AO_User_GetHeaderVer(const AB_USER *u);
00107 
00108 AQOFXCONNECT_API
00109 void AO_User_SetHeaderVer(AB_USER *u, const char *s);
00110 
00111 AQOFXCONNECT_API
00112 const char *AO_User_GetClientUid(const AB_USER *u);
00113 
00114 AQOFXCONNECT_API
00115 void AO_User_SetClientUid(AB_USER *u, const char *s);
00116 
00117 
00118 
00119 AQOFXCONNECT_API
00120 const char *AO_User_GetSecurityType(const AB_USER *u);
00121 
00122 AQOFXCONNECT_API
00123 void AO_User_SetSecurityType(AB_USER *u, const char *s);
00124 
00125 
00126 
00127 AQOFXCONNECT_API
00128 int AO_User_GetHttpVMajor(const AB_USER *u);
00129 
00130 AQOFXCONNECT_API
00131 void AO_User_SetHttpVMajor(AB_USER *u, int i);
00132 
00133 AQOFXCONNECT_API
00134 int AO_User_GetHttpVMinor(const AB_USER *u);
00135 
00136 AQOFXCONNECT_API
00137 void AO_User_SetHttpVMinor(AB_USER *u, int i);
00138 
00139 
00140 #ifdef __cplusplus
00141 }
00142 #endif
00143 
00144 
00145 #endif