ctplugin.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_H
00015 #define GWEN_CRYPT_TOKEN_PLUGIN_H
00016 
00017 
00018 #include <gwenhywfar/gwenhywfarapi.h>
00019 #include <gwenhywfar/plugin.h>
00020 #include <gwenhywfar/ct.h>
00021 
00022 
00023 
00024 #define GWEN_CRYPT_TOKEN_PLUGIN_TYPENAME "ct"
00025 #define GWEN_CRYPT_TOKEN_FOLDER "ct"
00026 
00027 
00028 #ifdef __cplusplus
00029 extern "C" {
00030 #endif
00031 
00032 
00033 GWENHYWFAR_API GWEN_CRYPT_TOKEN *GWEN_Crypt_Token_Plugin_CreateToken(GWEN_PLUGIN *pl, const char *name);
00034 
00035 
00036 
00057 GWENHYWFAR_API int GWEN_Crypt_Token_Plugin_CheckToken(GWEN_PLUGIN *pl, GWEN_BUFFER *name);
00058 
00059 GWENHYWFAR_API GWEN_CRYPT_TOKEN_DEVICE GWEN_Crypt_Token_Plugin_GetDeviceType(const GWEN_PLUGIN *pl);
00060 
00061 
00062 
00063 
00064 
00069 
00074 GWENHYWFAR_API int GWEN_Crypt_Token_PluginManager_CheckToken(GWEN_PLUGIN_MANAGER *cm,
00075                                                              GWEN_CRYPT_TOKEN_DEVICE devt,
00076                                                              GWEN_BUFFER *typeName,
00077                                                              GWEN_BUFFER *tokenName,
00078                                                              uint32_t guiid);
00079 
00080 GWENHYWFAR_API
00081 GWEN_PLUGIN_DESCRIPTION_LIST2 *GWEN_Crypt_Token_PluginManager_GetPluginDescrs(GWEN_PLUGIN_MANAGER *pm,
00082                                                                               GWEN_CRYPT_TOKEN_DEVICE devt);
00083 
00087 #ifdef __cplusplus
00088 }
00089 #endif
00090 
00091 
00092 
00093 #endif
00094 
00095 

Generated on Mon Jan 25 12:56:01 2010 for gwenhywfar by  doxygen 1.5.6