• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

imexporter_be.h

Go to the documentation of this file.
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_IMEXPORTER_BE_H
00020 #define AQBANKING_IMEXPORTER_BE_H
00021 
00022 
00023 #include <aqbanking/imexporter.h>
00024 #include <gwenhywfar/misc.h>
00025 #include <gwenhywfar/plugin.h>
00026 
00027 
00032 
00033 
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif
00037 
00038 typedef AB_IMEXPORTER* (*AB_IMEXPORTER_FACTORY_FN)(AB_BANKING *ab);
00039 
00040 
00045 AQBANKING_API 
00046 AB_IMEXPORTER *AB_ImExporter_new(AB_BANKING *ab,
00047                                  const char *name);
00048 AQBANKING_API 
00049 void AB_ImExporter_free(AB_IMEXPORTER *ie);
00058 typedef int (*AB_IMEXPORTER_IMPORT_FN)(AB_IMEXPORTER *ie,
00059                                        AB_IMEXPORTER_CONTEXT *ctx,
00060                                        GWEN_IO_LAYER *io,
00061                                        GWEN_DB_NODE *params,
00062                                        uint32_t guiid);
00063 
00064 typedef int (*AB_IMEXPORTER_EXPORT_FN)(AB_IMEXPORTER *ie,
00065                                        AB_IMEXPORTER_CONTEXT *ctx,
00066                                        GWEN_IO_LAYER *io,
00067                                        GWEN_DB_NODE *params,
00068                                        uint32_t guiid);
00069 
00073 typedef int (*AB_IMEXPORTER_CHECKFILE_FN)(AB_IMEXPORTER *ie,
00074                                           const char *fname,
00075                                           uint32_t guiid);
00076 
00077 
00087 AQBANKING_API 
00088 void AB_ImExporter_SetImportFn(AB_IMEXPORTER *ie,
00089                                AB_IMEXPORTER_IMPORT_FN f);
00090 
00091 AQBANKING_API 
00092 void AB_ImExporter_SetExportFn(AB_IMEXPORTER *ie,
00093                                AB_IMEXPORTER_EXPORT_FN f);
00094 
00095 AQBANKING_API
00096 void AB_ImExporter_SetCheckFileFn(AB_IMEXPORTER *ie,
00097                                   AB_IMEXPORTER_CHECKFILE_FN f);
00098 
00108 
00109 typedef AB_IMEXPORTER* (*AB_PLUGIN_IMEXPORTER_FACTORY_FN)(GWEN_PLUGIN *pl,
00110                                                           AB_BANKING *ab);
00111 
00112 
00113 AQBANKING_API
00114 GWEN_PLUGIN *AB_Plugin_ImExporter_new(GWEN_PLUGIN_MANAGER *pm,
00115                                       const char *name,
00116                                       const char *fileName);
00117 
00118 AQBANKING_API
00119 AB_IMEXPORTER *AB_Plugin_ImExporter_Factory(GWEN_PLUGIN *pl,
00120                                             AB_BANKING *ab);
00121 
00122 AQBANKING_API
00123 void AB_Plugin_ImExporter_SetFactoryFn(GWEN_PLUGIN *pl,
00124                                        AB_PLUGIN_IMEXPORTER_FACTORY_FN fn);
00125 
00129 #ifdef __cplusplus
00130 }
00131 #endif
00132  /* defgroup */
00134 
00135 
00136 #endif /* AQBANKING_IMEXPORTER_BE_H */
00137 
00138 

Generated on Tue Aug 3 2010 17:34:15 for aqbanking by  doxygen 1.7.1