imexporter_be.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile$
00003  -------------------
00004  cvs         : $Id: imexporter_be.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_IMEXPORTER_BE_H
00019 #define AQBANKING_IMEXPORTER_BE_H
00020 
00021 
00022 #include <aqbanking/imexporter.h>
00023 #include <gwenhywfar/misc.h>
00024 
00029 
00030 
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034 
00035 typedef AB_IMEXPORTER* (*AB_IMEXPORTER_FACTORY_FN)(AB_BANKING *ab,
00036                                                    GWEN_DB_NODE *db);
00037 
00038 
00043 AQBANKING_API 
00044 AB_IMEXPORTER *AB_ImExporter_new(AB_BANKING *ab,
00045                                  const char *name);
00046 AQBANKING_API 
00047 void AB_ImExporter_free(AB_IMEXPORTER *ie);
00056 typedef int (*AB_IMEXPORTER_IMPORT_FN)(AB_IMEXPORTER *ie,
00057                                        AB_IMEXPORTER_CONTEXT *ctx,
00058                                        GWEN_BUFFEREDIO *bio,
00059                                        GWEN_DB_NODE *params);
00060 
00061 typedef int (*AB_IMEXPORTER_EXPORT_FN)(AB_IMEXPORTER *ie,
00062                                        AB_IMEXPORTER_CONTEXT *ctx,
00063                                        GWEN_BUFFEREDIO *bio,
00064                                        GWEN_DB_NODE *params);
00065 
00069 typedef int (*AB_IMEXPORTER_CHECKFILE_FN)(AB_IMEXPORTER *ie,
00070                                           const char *fname);
00071 
00072 
00082 AQBANKING_API 
00083 void AB_ImExporter_SetImportFn(AB_IMEXPORTER *ie,
00084                                AB_IMEXPORTER_IMPORT_FN f);
00085 
00086 AQBANKING_API 
00087 void AB_ImExporter_SetExportFn(AB_IMEXPORTER *ie,
00088                                AB_IMEXPORTER_EXPORT_FN f);
00089 
00090 AQBANKING_API
00091 void AB_ImExporter_SetCheckFileFn(AB_IMEXPORTER *ie,
00092                                   AB_IMEXPORTER_CHECKFILE_FN f);
00093 
00097 #ifdef __cplusplus
00098 }
00099 #endif
00100  /* defgroup */
00102 
00103 
00104 #endif /* AQBANKING_IMEXPORTER_BE_H */
00105 
00106 

Generated on Sun Apr 29 17:23:04 2007 for aqbanking by  doxygen 1.5.1