imexporter_be.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile: imexporter_be.h,v $
00003  -------------------
00004  cvs         : $Id: imexporter_be.h,v 1.6 2005/01/22 04:16:53 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_IMEXPORTER_BE_H
00019 #define AQBANKING_IMEXPORTER_BE_H
00020 
00021 
00022 #include <aqbanking/imexporter.h>
00023 #include <gwenhywfar/misc.h>
00024 
00025 #ifdef __cplusplus
00026 extern "C" {
00027 #endif
00028 
00029 typedef AB_IMEXPORTER* (*AB_IMEXPORTER_FACTORY_FN)(AB_BANKING *ab,
00030                                                    GWEN_DB_NODE *db);
00031 
00032 
00037 AQBANKING_API 
00038 AB_IMEXPORTER *AB_ImExporter_new(AB_BANKING *ab,
00039                                  const char *name);
00040 AQBANKING_API 
00041 void AB_ImExporter_free(AB_IMEXPORTER *ie);
00050 typedef int (*AB_IMEXPORTER_IMPORT_FN)(AB_IMEXPORTER *ie,
00051                                        AB_IMEXPORTER_CONTEXT *ctx,
00052                                        GWEN_BUFFEREDIO *bio,
00053                                        GWEN_DB_NODE *params);
00054 
00055 typedef int (*AB_IMEXPORTER_EXPORT_FN)(AB_IMEXPORTER *ie,
00056                                        AB_IMEXPORTER_CONTEXT *ctx,
00057                                        GWEN_BUFFEREDIO *bio,
00058                                        GWEN_DB_NODE *params);
00059 
00063 typedef int (*AB_IMEXPORTER_CHECKFILE_FN)(AB_IMEXPORTER *ie,
00064                                           const char *fname);
00065 
00066 
00076 AQBANKING_API 
00077 void AB_ImExporter_SetImportFn(AB_IMEXPORTER *ie,
00078                                AB_IMEXPORTER_IMPORT_FN f);
00079 
00080 AQBANKING_API 
00081 void AB_ImExporter_SetExportFn(AB_IMEXPORTER *ie,
00082                                AB_IMEXPORTER_EXPORT_FN f);
00083 
00084 AQBANKING_API
00085 void AB_ImExporter_SetCheckFileFn(AB_IMEXPORTER *ie,
00086                                   AB_IMEXPORTER_CHECKFILE_FN f);
00087 
00091 #ifdef __cplusplus
00092 }
00093 #endif
00094 
00095 
00096 
00097 #endif /* AQBANKING_IMEXPORTER_BE_H */
00098 
00099 

Generated on Sat Jan 7 04:22:41 2006 for aqbanking by  doxygen 1.4.6