gwenhywfar  4.7.0beta
ctfile_be.h
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Wed Mar 16 2005
3  copyright : (C) 2005-2010 by Martin Preuss
4  email : martin@libchipcard.de
5 
6  ***************************************************************************
7  * Please see toplevel file COPYING for license details *
8  ***************************************************************************/
9 
10 
11 #ifndef GWEN_CRYPT_TOKEN_FILE_BE_H
12 #define GWEN_CRYPT_TOKEN_FILE_BE_H
13 
14 
15 #include <gwenhywfar/ct_be.h>
16 
17 
18 
19 
20 typedef int GWENHYWFAR_CB
21  (*GWEN_CRYPT_TOKEN_FILE_READ_FN)(GWEN_CRYPT_TOKEN *ct, int fd, uint32_t gid);
22 
23 typedef int GWENHYWFAR_CB
24  (*GWEN_CRYPT_TOKEN_FILE_WRITE_FN)(GWEN_CRYPT_TOKEN *ct, int fd, int cre, uint32_t gid);
25 
26 
27 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
46 
48 GWEN_CRYPT_TOKEN *GWEN_Crypt_TokenFile_new(const char *typeName,
49  const char *tokenName);
50 
57 
60 
63 
64 
65 #ifdef __cplusplus
66 }
67 #endif
68 
69 
70 #endif