/usr/include/aqbanking5/aqbanking/imexporter_be.h is in libaqbanking34-dev 5.4.3beta-2+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | /***************************************************************************
begin : Mon Mar 01 2004
copyright : (C) 2004-2010 by Martin Preuss
email : martin@libchipcard.de
***************************************************************************
* This file is part of the project "AqBanking". *
* Please see toplevel file COPYING of that project for license details. *
***************************************************************************/
/** @file imexporter_be.h
* @short This file is used by provider/importer/exporter plugins.
*/
#ifndef AQBANKING_IMEXPORTER_BE_H
#define AQBANKING_IMEXPORTER_BE_H
#include <aqbanking/imexporter.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/plugin.h>
/** @defgroup G_AB_BE_IMEXPORTER Generic Im- and Exporter
* @ingroup G_AB_BE_INTERFACE
*/
/*@{*/
#ifdef __cplusplus
extern "C" {
#endif
typedef AB_IMEXPORTER* (*AB_IMEXPORTER_FACTORY_FN)(AB_BANKING *ab);
/** @name Construction and Destruction
*
*/
/*@{*/
AQBANKING_API
AB_IMEXPORTER *AB_ImExporter_new(AB_BANKING *ab,
const char *name);
AQBANKING_API
void AB_ImExporter_free(AB_IMEXPORTER *ie);
/*@}*/
/** @name Manipulation of the Flags
*
*/
/*@{*/
AQBANKING_API
void AB_ImExporter_SetFlags(AB_IMEXPORTER *ie, uint32_t flags);
AQBANKING_API
void AB_ImExporter_AddFlags(AB_IMEXPORTER *ie, uint32_t flags);
AQBANKING_API
void AB_ImExporter_SubFlags(AB_IMEXPORTER *ie, uint32_t flags);
/*@}*/
/** @name Prototypes for Virtual Backend Functions
*
*/
/*@{*/
typedef int (*AB_IMEXPORTER_IMPORT_FN)(AB_IMEXPORTER *ie,
AB_IMEXPORTER_CONTEXT *ctx,
GWEN_SYNCIO *sio,
GWEN_DB_NODE *params);
typedef int (*AB_IMEXPORTER_EXPORT_FN)(AB_IMEXPORTER *ie,
AB_IMEXPORTER_CONTEXT *ctx,
GWEN_SYNCIO *sio,
GWEN_DB_NODE *params);
/**
* Checks whether the given file is possibly supported by the plugin.
*/
typedef int (*AB_IMEXPORTER_CHECKFILE_FN)(AB_IMEXPORTER *ie,
const char *fname);
/**
* This function should return a dialog (see @ref GWEN_DIALOG) which
* allows editing of the given profile.
* (introduced in AqBanking 4.3.0)
*/
typedef int (*AB_IMEXPORTER_GET_EDITPROFILE_DIALOG_FN)(AB_IMEXPORTER *ie,
GWEN_DB_NODE *params,
const char *testFileName,
GWEN_DIALOG **pDlg);
/*@}*/
/** @name Setters for Virtual Backend Functions
*
*/
/*@{*/
AQBANKING_API
void AB_ImExporter_SetImportFn(AB_IMEXPORTER *ie,
AB_IMEXPORTER_IMPORT_FN f);
AQBANKING_API
void AB_ImExporter_SetExportFn(AB_IMEXPORTER *ie,
AB_IMEXPORTER_EXPORT_FN f);
AQBANKING_API
void AB_ImExporter_SetCheckFileFn(AB_IMEXPORTER *ie,
AB_IMEXPORTER_CHECKFILE_FN f);
AQBANKING_API
void AB_ImExporter_SetGetEditProfileDialogFn(AB_IMEXPORTER *ie,
AB_IMEXPORTER_GET_EDITPROFILE_DIALOG_FN f);
/*@}*/
/** @name Handling of ImExporter Plugins
*
*/
/*@{*/
typedef AB_IMEXPORTER* (*AB_PLUGIN_IMEXPORTER_FACTORY_FN)(GWEN_PLUGIN *pl,
AB_BANKING *ab);
AQBANKING_API
GWEN_PLUGIN *AB_Plugin_ImExporter_new(GWEN_PLUGIN_MANAGER *pm,
const char *name,
const char *fileName);
AQBANKING_API
AB_IMEXPORTER *AB_Plugin_ImExporter_Factory(GWEN_PLUGIN *pl,
AB_BANKING *ab);
AQBANKING_API
void AB_Plugin_ImExporter_SetFactoryFn(GWEN_PLUGIN *pl,
AB_PLUGIN_IMEXPORTER_FACTORY_FN fn);
/*@}*/
#ifdef __cplusplus
}
#endif
/*@}*/ /* defgroup */
#endif /* AQBANKING_IMEXPORTER_BE_H */
|