00001 /*************************************************************************** 00002 $RCSfile$ 00003 ------------------- 00004 cvs : $Id: provider.h 953 2006-02-24 03:07:59Z aquamaniac $ 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 00018 #ifndef AQBANKING_PROVIDER_H 00019 #define AQBANKING_PROVIDER_H 00020 00021 00022 #include <gwenhywfar/misc.h> 00023 #include <gwenhywfar/list2.h> 00024 #include <gwenhywfar/inherit.h> 00025 #include <gwenhywfar/xml.h> 00026 #include <gwenhywfar/bufferedio.h> 00027 #include <aqbanking/error.h> /* for AQBANKING_API */ 00028 00029 00030 #define AB_PROVIDER_FLAGS_COMPLETE_DAY_REPORTS 0x00000001 00031 00032 00033 #ifdef __cplusplus 00034 extern "C" { 00035 #endif 00036 00037 typedef struct AB_PROVIDER AB_PROVIDER; 00038 GWEN_INHERIT_FUNCTION_LIB_DEFS(AB_PROVIDER, AQBANKING_API) 00039 00040 typedef struct AB_PROVIDER_DESCRIPTION AB_PROVIDER_DESCRIPTION; 00041 GWEN_INHERIT_FUNCTION_LIB_DEFS(AB_PROVIDER_DESCRIPTION, AQBANKING_API) 00042 GWEN_LIST_FUNCTION_LIB_DEFS(AB_PROVIDER_DESCRIPTION, AB_ProviderDescription, 00043 AQBANKING_API) 00044 GWEN_LIST2_FUNCTION_LIB_DEFS(AB_PROVIDER_DESCRIPTION, AB_ProviderDescription, 00045 AQBANKING_API) 00046 00047 #ifdef __cplusplus 00048 } 00049 #endif 00050 00051 00052 #include <aqbanking/banking.h> 00053 #include <aqbanking/error.h> 00054 #include <aqbanking/job.h> 00055 #include <aqbanking/account.h> 00056 #include <aqbanking/transaction.h> 00057 00058 00059 #ifdef __cplusplus 00060 extern "C" { 00061 #endif 00062 00115 00119 AQBANKING_API 00120 const char *AB_Provider_GetName(const AB_PROVIDER *pro); 00121 00126 AQBANKING_API 00127 const char *AB_Provider_GetEscapedName(const AB_PROVIDER *pro); 00131 AQBANKING_API 00132 AB_BANKING *AB_Provider_GetBanking(const AB_PROVIDER *pro); 00133 00134 00135 AQBANKING_API 00136 GWEN_TYPE_UINT32 AB_Provider_GetFlags(const AB_PROVIDER *pro); 00137 00147 AQBANKING_API 00148 int AB_Provider_GetUserDataDir(const AB_PROVIDER *pro, GWEN_BUFFER *buf); 00149 00156 AQBANKING_API 00157 GWEN_DB_NODE *AB_Provider_GetData(AB_PROVIDER *pro); 00158 00159 00160 /* defgroup */ 00162 00163 #ifdef __cplusplus 00164 } 00165 #endif 00166 00167 00168 00169 00170 #endif /* AQBANKING_PROVIDER_H */ 00171 00172 00173 00174 00175 00176 00177 00178 00179