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 * This file is part of the project "AqBanking". * 00011 * Please see toplevel file COPYING of that project for license details. * 00012 ***************************************************************************/ 00013 00019 #ifndef AQBANKING_PROVIDER_H 00020 #define AQBANKING_PROVIDER_H 00021 00022 00023 #include <gwenhywfar/misc.h> 00024 #include <gwenhywfar/list2.h> 00025 #include <gwenhywfar/inherit.h> 00026 #include <gwenhywfar/xml.h> 00027 #include <gwenhywfar/bufferedio.h> 00028 #include <aqbanking/error.h> /* for AQBANKING_API */ 00029 00030 00031 #define AB_PROVIDER_FLAGS_COMPLETE_DAY_REPORTS 0x00000001 00032 00033 00034 #ifdef __cplusplus 00035 extern "C" { 00036 #endif 00037 00038 typedef struct AB_PROVIDER AB_PROVIDER; 00039 GWEN_INHERIT_FUNCTION_LIB_DEFS(AB_PROVIDER, AQBANKING_API) 00040 00041 typedef struct AB_PROVIDER_DESCRIPTION AB_PROVIDER_DESCRIPTION; 00042 GWEN_INHERIT_FUNCTION_LIB_DEFS(AB_PROVIDER_DESCRIPTION, AQBANKING_API) 00043 GWEN_LIST_FUNCTION_LIB_DEFS(AB_PROVIDER_DESCRIPTION, AB_ProviderDescription, 00044 AQBANKING_API) 00045 GWEN_LIST2_FUNCTION_LIB_DEFS(AB_PROVIDER_DESCRIPTION, AB_ProviderDescription, 00046 AQBANKING_API) 00047 00048 #ifdef __cplusplus 00049 } 00050 #endif 00051 00052 00053 #include <aqbanking/banking.h> 00054 #include <aqbanking/error.h> 00055 #include <aqbanking/job.h> 00056 #include <aqbanking/account.h> 00057 #include <aqbanking/transaction.h> 00058 00059 00060 #ifdef __cplusplus 00061 extern "C" { 00062 #endif 00063 00116 00120 AQBANKING_API 00121 const char *AB_Provider_GetName(const AB_PROVIDER *pro); 00122 00127 AQBANKING_API 00128 const char *AB_Provider_GetEscapedName(const AB_PROVIDER *pro); 00132 AQBANKING_API 00133 AB_BANKING *AB_Provider_GetBanking(const AB_PROVIDER *pro); 00134 00135 00136 AQBANKING_API 00137 uint32_t AB_Provider_GetFlags(const AB_PROVIDER *pro); 00138 00148 AQBANKING_API 00149 int AB_Provider_GetUserDataDir(const AB_PROVIDER *pro, GWEN_BUFFER *buf); 00150 00157 AQBANKING_API 00158 GWEN_DB_NODE *AB_Provider_GetData(AB_PROVIDER *pro); 00159 00160 00161 /* defgroup */ 00163 00164 #ifdef __cplusplus 00165 } 00166 #endif 00167 00168 00169 00170 00171 #endif /* AQBANKING_PROVIDER_H */ 00172 00173 00174 00175 00176 00177 00178 00179 00180