gwenhywfar
4.8.0beta
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
src
crypttoken
ctplugin_be.h
Go to the documentation of this file.
1
/***************************************************************************
2
$RCSfile$
3
-------------------
4
cvs : $Id: crypttoken.h 1113 2007-01-10 09:14:16Z martin $
5
begin : Wed Mar 16 2005
6
copyright : (C) 2005 by Martin Preuss
7
email : martin@libchipcard.de
8
9
***************************************************************************
10
* Please see toplevel file COPYING for license details *
11
***************************************************************************/
12
13
14
#ifndef GWEN_CRYPT_TOKEN_PLUGIN_BE_H
15
#define GWEN_CRYPT_TOKEN_PLUGIN_BE_H
16
17
18
#include <gwenhywfar/ctplugin.h>
19
20
21
22
23
typedef
GWEN_CRYPT_TOKEN
*
GWENHYWFAR_CB
24
(*
GWEN_CRYPT_TOKEN_PLUGIN_CREATETOKEN_FN
)(
GWEN_PLUGIN
*pl,
25
const
char
*name);
26
27
typedef
int
GWENHYWFAR_CB
28
(*
GWEN_CRYPT_TOKEN_PLUGIN_CHECKTOKEN_FN
)(
GWEN_PLUGIN
*pl,
29
GWEN_BUFFER
*name);
30
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
36
37
GWENHYWFAR_API
38
GWEN_PLUGIN
*
GWEN_Crypt_Token_Plugin_new
(
GWEN_PLUGIN_MANAGER
*mgr,
39
GWEN_CRYPT_TOKEN_DEVICE
devType,
40
const
char
*typeName,
41
const
char
*fileName);
42
43
44
GWENHYWFAR_API
45
GWEN_CRYPT_TOKEN_PLUGIN_CREATETOKEN_FN
GWEN_Crypt_Token_Plugin_SetCreateTokenFn
(
GWEN_PLUGIN
*pl,
46
GWEN_CRYPT_TOKEN_PLUGIN_CREATETOKEN_FN
fn);
47
48
GWENHYWFAR_API
49
GWEN_CRYPT_TOKEN_PLUGIN_CHECKTOKEN_FN
GWEN_Crypt_Token_Plugin_SetCheckTokenFn
(
GWEN_PLUGIN
*pl,
50
GWEN_CRYPT_TOKEN_PLUGIN_CHECKTOKEN_FN
fn);
51
52
#ifdef __cplusplus
53
}
54
#endif
55
56
57
58
59
#endif
60
Generated on Tue Nov 12 2013 10:50:20 for gwenhywfar by
1.8.1.2