ctplugin_be.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile$
00003                              -------------------
00004     cvs         : $Id: crypttoken.h 1113 2007-01-10 09:14:16Z martin $
00005     begin       : Wed Mar 16 2005
00006     copyright   : (C) 2005 by Martin Preuss
00007     email       : martin@libchipcard.de
00008 
00009  ***************************************************************************
00010  *          Please see toplevel file COPYING for license details           *
00011  ***************************************************************************/
00012 
00013 
00014 #ifndef GWEN_CRYPT_TOKEN_PLUGIN_BE_H
00015 #define GWEN_CRYPT_TOKEN_PLUGIN_BE_H
00016 
00017 
00018 #include <gwenhywfar/ctplugin.h>
00019 
00020 
00021 
00022 
00023 typedef GWEN_CRYPT_TOKEN* GWENHYWFAR_CB
00024   (*GWEN_CRYPT_TOKEN_PLUGIN_CREATETOKEN_FN)(GWEN_PLUGIN *pl,
00025                                             const char *name);
00026 
00027 typedef int GWENHYWFAR_CB
00028   (*GWEN_CRYPT_TOKEN_PLUGIN_CHECKTOKEN_FN)(GWEN_PLUGIN *pl,
00029                                            GWEN_BUFFER *name);
00030 
00031 
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035 
00036 
00037 GWENHYWFAR_API
00038 GWEN_PLUGIN *GWEN_Crypt_Token_Plugin_new(GWEN_PLUGIN_MANAGER *mgr,
00039                                          GWEN_CRYPT_TOKEN_DEVICE devType,
00040                                          const char *typeName,
00041                                          const char *fileName);
00042 
00043 
00044 GWENHYWFAR_API
00045 GWEN_CRYPT_TOKEN_PLUGIN_CREATETOKEN_FN GWEN_Crypt_Token_Plugin_SetCreateTokenFn(GWEN_PLUGIN *pl,
00046                                                                                 GWEN_CRYPT_TOKEN_PLUGIN_CREATETOKEN_FN fn);
00047 
00048 GWENHYWFAR_API
00049 GWEN_CRYPT_TOKEN_PLUGIN_CHECKTOKEN_FN GWEN_Crypt_Token_Plugin_SetCheckTokenFn(GWEN_PLUGIN *pl,
00050                                                                               GWEN_CRYPT_TOKEN_PLUGIN_CHECKTOKEN_FN fn);
00051 
00052 #ifdef __cplusplus
00053 }
00054 #endif
00055 
00056 
00057 
00058 
00059 #endif
00060 

Generated on Wed Jul 9 13:12:27 2008 for gwenhywfar by  doxygen 1.5.6