Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

aqofxconnect/provider.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile: provider.h,v $
00003                              -------------------
00004     cvs         : $Id: provider.h,v 1.1 2005/08/08 02:24:41 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 
00013 #ifndef AO_PROVIDER_H
00014 #define AO_PROVIDER_H
00015 
00016 
00017 #include <aqbanking/banking_be.h>
00018 #include <aqbanking/provider_be.h>
00019 #include <aqofxconnect/bank.h>
00020 
00021 
00022 #define AQOFXCONNECT_LOGDOMAIN "aqofxconnect"
00023 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027 
00028 typedef struct AO_PROVIDER AO_PROVIDER;
00029 
00030 
00031 AB_PROVIDER *AO_Provider_new(AB_BANKING *ab);
00032 
00033 AB_ACCOUNT_LIST2 *AO_Provider_GetAccounts(AB_PROVIDER *pro);
00034 
00035 int AO_Provider_AddAccount(AB_PROVIDER *pro, AB_ACCOUNT *a);
00036 int AO_Provider_RemoveAccount(AB_PROVIDER *pro, AB_ACCOUNT *a);
00037 int AO_Provider_HasAccount(AB_PROVIDER *pro,
00038                            const char *country,
00039                            const char *bankCode,
00040                            const char *accountNumber);
00041 
00042 AO_BANK_LIST *AO_Provider_GetBanks(const AB_PROVIDER *pro);
00043 int AO_Provider_AddBank(AB_PROVIDER *pro, AO_BANK *b);
00044 
00045 AO_BANK *AO_Provider_FindMyBank(AB_PROVIDER *pro,
00046                                 const char *country,
00047                                 const char *bid);
00048 AB_ACCOUNT *AO_Provider_FindMyAccount(AB_PROVIDER *pro,
00049                                       const char *country,
00050                                       const char *bankCode,
00051                                       const char *accountNumber);
00052 
00053 int AO_Provider_RequestAccounts(AB_PROVIDER *pro,
00054                                 const char *country,
00055                                 const char *bankId,
00056                                 const char *userId);
00057 
00058 #ifdef __cplusplus
00059 }
00060 #endif
00061 
00062 
00063 #endif
00064 

Generated on Thu Oct 6 14:49:08 2005 for aqbanking by  doxygen 1.4.4