dbio_be.h
Go to the documentation of this file.
/***************************************************************************
$RCSfile$
-------------------
cvs : $Id: dbio.h 1107 2007-01-07 21:17:05Z martin $
begin : Wed Mar 31 2004
copyright : (C) 2004 by Martin Preuss
email : martin@libchipcard.de
***************************************************************************
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public *
* License as published by the Free Software Foundation; either *
* version 2.1 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
* Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public *
* License along with this library; if not, write to the Free Software *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
* MA 02111-1307 USA *
* *
***************************************************************************/
#ifndef GWENHYWFAR_DBIO_BE_H
#define GWENHYWFAR_DBIO_BE_H
#include <gwenhywfar/dbio.h>
typedef int (*GWEN_DBIO_IMPORTFN)(GWEN_DBIO *dbio,
GWEN_SYNCIO *sio,
GWEN_DB_NODE *db,
GWEN_DB_NODE *params,
uint32_t flags);
typedef int (*GWEN_DBIO_EXPORTFN)(GWEN_DBIO *dbio,
GWEN_SYNCIO *sio,
GWEN_DB_NODE *db,
GWEN_DB_NODE *params,
uint32_t flags);
typedef GWEN_DBIO_CHECKFILE_RESULT(*GWEN_DBIO_CHECKFILEFN)(GWEN_DBIO *dbio, const char *fname);
GWENHYWFAR_API
GWEN_PLUGIN *GWEN_DBIO_Plugin_new(GWEN_PLUGIN_MANAGER *pm,
const char *name,
const char *fileName);
GWENHYWFAR_API
void GWEN_DBIO_Plugin_SetFactoryFn(GWEN_PLUGIN *pl,
GWEN_DBIO_PLUGIN_FACTORYFN f);
GWENHYWFAR_API
GWEN_DBIO *GWEN_DBIO_new(const char *name, const char *descr);
GWENHYWFAR_API
void GWEN_DBIO_SetImportFn(GWEN_DBIO *dbio, GWEN_DBIO_IMPORTFN f);
GWENHYWFAR_API
void GWEN_DBIO_SetExportFn(GWEN_DBIO *dbio, GWEN_DBIO_EXPORTFN f);
GWENHYWFAR_API
void GWEN_DBIO_SetCheckFileFn(GWEN_DBIO *dbio, GWEN_DBIO_CHECKFILEFN f);
#endif
GWEN_DB_NODE
struct GWEN_DB_NODE GWEN_DB_NODE
Definition db.h:228
dbio.h
This file provides the GWEN DB import/export framework.
GWEN_DBIO_CHECKFILE_RESULT
GWEN_DBIO_CHECKFILE_RESULT
Definition dbio.h:79
GWEN_DBIO
struct GWEN_DBIO GWEN_DBIO
Definition dbio.h:43
GWEN_DBIO_PLUGIN_FACTORYFN
GWEN_DBIO *(* GWEN_DBIO_PLUGIN_FACTORYFN)(GWEN_PLUGIN *pl)
Definition dbio.h:92
GWEN_DBIO_SetCheckFileFn
GWENHYWFAR_API void GWEN_DBIO_SetCheckFileFn(GWEN_DBIO *dbio, GWEN_DBIO_CHECKFILEFN f)
GWEN_DBIO_IMPORTFN
int(* GWEN_DBIO_IMPORTFN)(GWEN_DBIO *dbio, GWEN_SYNCIO *sio, GWEN_DB_NODE *db, GWEN_DB_NODE *params, uint32_t flags)
Definition dbio_be.h:40
GWEN_DBIO_CHECKFILEFN
GWEN_DBIO_CHECKFILE_RESULT(* GWEN_DBIO_CHECKFILEFN)(GWEN_DBIO *dbio, const char *fname)
Definition dbio_be.h:52
GWEN_DBIO_SetImportFn
GWENHYWFAR_API void GWEN_DBIO_SetImportFn(GWEN_DBIO *dbio, GWEN_DBIO_IMPORTFN f)
GWEN_DBIO_SetExportFn
GWENHYWFAR_API void GWEN_DBIO_SetExportFn(GWEN_DBIO *dbio, GWEN_DBIO_EXPORTFN f)
GWEN_DBIO_Plugin_SetFactoryFn
GWENHYWFAR_API void GWEN_DBIO_Plugin_SetFactoryFn(GWEN_PLUGIN *pl, GWEN_DBIO_PLUGIN_FACTORYFN f)
GWEN_DBIO_Plugin_new
GWENHYWFAR_API GWEN_PLUGIN * GWEN_DBIO_Plugin_new(GWEN_PLUGIN_MANAGER *pm, const char *name, const char *fileName)
GWEN_DBIO_EXPORTFN
int(* GWEN_DBIO_EXPORTFN)(GWEN_DBIO *dbio, GWEN_SYNCIO *sio, GWEN_DB_NODE *db, GWEN_DB_NODE *params, uint32_t flags)
Definition dbio_be.h:46
GWEN_DBIO_new
GWENHYWFAR_API GWEN_DBIO * GWEN_DBIO_new(const char *name, const char *descr)
GWENHYWFAR_API
#define GWENHYWFAR_API
Definition gwenhywfarapi.h:67
GWEN_PLUGIN_MANAGER
struct GWEN_PLUGIN_MANAGER GWEN_PLUGIN_MANAGER
Definition plugin.h:37
GWEN_PLUGIN
struct GWEN_PLUGIN GWEN_PLUGIN
Definition plugin.h:36
GWEN_SYNCIO
struct GWEN_SYNCIO GWEN_SYNCIO
Definition syncio.h:40