ctplugin_be.h
Go to the documentation of this file.
/***************************************************************************
$RCSfile$
-------------------
cvs : $Id: crypttoken.h 1113 2007-01-10 09:14:16Z martin $
begin : Wed Mar 16 2005
copyright : (C) 2005 by Martin Preuss
email : martin@libchipcard.de
***************************************************************************
* Please see toplevel file COPYING for license details *
***************************************************************************/
#ifndef GWEN_CRYPT_TOKEN_PLUGIN_BE_H
#define GWEN_CRYPT_TOKEN_PLUGIN_BE_H
#include <gwenhywfar/ctplugin.h>
typedef GWEN_CRYPT_TOKEN *GWENHYWFAR_CB
(*GWEN_CRYPT_TOKEN_PLUGIN_CREATETOKEN_FN)(GWEN_PLUGIN *pl,
const char *name);
typedef int GWENHYWFAR_CB
(*GWEN_CRYPT_TOKEN_PLUGIN_CHECKTOKEN_FN)(GWEN_PLUGIN *pl,
GWEN_BUFFER *name);
#ifdef __cplusplus
extern "C" {
#endif
GWENHYWFAR_API
GWEN_PLUGIN *GWEN_Crypt_Token_Plugin_new(GWEN_PLUGIN_MANAGER *mgr,
GWEN_CRYPT_TOKEN_DEVICE devType,
const char *typeName,
const char *fileName);
GWENHYWFAR_API
GWEN_CRYPT_TOKEN_PLUGIN_CREATETOKEN_FN GWEN_Crypt_Token_Plugin_SetCreateTokenFn(GWEN_PLUGIN *pl,
GWEN_CRYPT_TOKEN_PLUGIN_CREATETOKEN_FN fn);
GWENHYWFAR_API
GWEN_CRYPT_TOKEN_PLUGIN_CHECKTOKEN_FN GWEN_Crypt_Token_Plugin_SetCheckTokenFn(GWEN_PLUGIN *pl,
GWEN_CRYPT_TOKEN_PLUGIN_CHECKTOKEN_FN fn);
#ifdef __cplusplus
}
#endif
#endif
GWEN_CRYPT_TOKEN
struct GWEN_CRYPT_TOKEN GWEN_CRYPT_TOKEN
Definition ct.h:19
GWEN_CRYPT_TOKEN_DEVICE
GWEN_CRYPT_TOKEN_DEVICE
Definition ct.h:35
ctplugin.h
GWEN_Crypt_Token_Plugin_new
GWENHYWFAR_API GWEN_PLUGIN * GWEN_Crypt_Token_Plugin_new(GWEN_PLUGIN_MANAGER *mgr, GWEN_CRYPT_TOKEN_DEVICE devType, const char *typeName, const char *fileName)
GWEN_CRYPT_TOKEN_PLUGIN_CREATETOKEN_FN
GWEN_CRYPT_TOKEN *GWENHYWFAR_CB(* GWEN_CRYPT_TOKEN_PLUGIN_CREATETOKEN_FN)(GWEN_PLUGIN *pl, const char *name)
Definition ctplugin_be.h:24
GWEN_Crypt_Token_Plugin_SetCreateTokenFn
GWENHYWFAR_API GWEN_CRYPT_TOKEN_PLUGIN_CREATETOKEN_FN GWEN_Crypt_Token_Plugin_SetCreateTokenFn(GWEN_PLUGIN *pl, GWEN_CRYPT_TOKEN_PLUGIN_CREATETOKEN_FN fn)
GWEN_CRYPT_TOKEN_PLUGIN_CHECKTOKEN_FN
int GWENHYWFAR_CB(* GWEN_CRYPT_TOKEN_PLUGIN_CHECKTOKEN_FN)(GWEN_PLUGIN *pl, GWEN_BUFFER *name)
Definition ctplugin_be.h:28
GWEN_Crypt_Token_Plugin_SetCheckTokenFn
GWENHYWFAR_API GWEN_CRYPT_TOKEN_PLUGIN_CHECKTOKEN_FN GWEN_Crypt_Token_Plugin_SetCheckTokenFn(GWEN_PLUGIN *pl, GWEN_CRYPT_TOKEN_PLUGIN_CHECKTOKEN_FN fn)
GWEN_BUFFER
struct GWEN_BUFFER GWEN_BUFFER
A dynamically resizeable text buffer.
Definition buffer.h:38
GWENHYWFAR_API
#define GWENHYWFAR_API
Definition gwenhywfarapi.h:67
GWENHYWFAR_CB
#define GWENHYWFAR_CB
Definition gwenhywfarapi.h:89
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