00001 /*************************************************************************** 00002 $RCSfile: provider.h,v $ 00003 ------------------- 00004 cvs : $Id: provider.h,v 1.17 2005/05/01 13:44:27 aquamaniac Exp $ 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/misc2.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 GWEN_LIST_FUNCTION_LIB_DEFS(AB_PROVIDER, AB_Provider, AQBANKING_API) 00040 /* Do not terminate these lines with semicolon because they are 00041 macros, not functions, and ISO C89 does not allow a semicolon 00042 there. */ 00043 00044 typedef struct AB_PROVIDER_DESCRIPTION AB_PROVIDER_DESCRIPTION; 00045 GWEN_INHERIT_FUNCTION_LIB_DEFS(AB_PROVIDER_DESCRIPTION, AQBANKING_API) 00046 GWEN_LIST_FUNCTION_LIB_DEFS(AB_PROVIDER_DESCRIPTION, AB_ProviderDescription, 00047 AQBANKING_API) 00048 GWEN_LIST2_FUNCTION_LIB_DEFS(AB_PROVIDER_DESCRIPTION, AB_ProviderDescription, 00049 AQBANKING_API) 00050 00051 #ifdef __cplusplus 00052 } 00053 #endif 00054 00055 00056 #include <aqbanking/banking.h> 00057 #include <aqbanking/error.h> 00058 #include <aqbanking/job.h> 00059 #include <aqbanking/account.h> 00060 #include <aqbanking/transaction.h> 00061 00062 00063 #ifdef __cplusplus 00064 extern "C" { 00065 #endif 00066 00120 00124 AQBANKING_API 00125 const char *AB_Provider_GetName(const AB_PROVIDER *pro); 00126 00131 AQBANKING_API 00132 const char *AB_Provider_GetEscapedName(const AB_PROVIDER *pro); 00136 AQBANKING_API 00137 AB_BANKING *AB_Provider_GetBanking(const AB_PROVIDER *pro); 00138 00139 00140 AQBANKING_API 00141 GWEN_TYPE_UINT32 AB_Provider_GetFlags(const AB_PROVIDER *pro); 00142 00150 AQBANKING_API 00151 int AB_Provider_GetUserDataDir(const AB_PROVIDER *pro, GWEN_BUFFER *buf); 00152 00159 AQBANKING_API 00160 GWEN_DB_NODE *AB_Provider_GetData(AB_PROVIDER *pro); 00161 00162 00163 /* defgroup */ 00165 00166 #ifdef __cplusplus 00167 } 00168 #endif 00169 00170 00171 00172 00173 #endif /* AQBANKING_PROVIDER_H */ 00174 00175 00176 00177 00178 00179 00180 00181 00182