• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

user.h

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

Generated on Tue Aug 3 2010 17:34:15 for aqbanking by  doxygen 1.7.1