File: gempc_ifdhandler.h

package info (click to toggle)
ifd-gempc 1.0.7-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 596 kB
  • sloc: ansic: 3,138; sh: 279; makefile: 147
file content (41 lines) | stat: -rw-r--r-- 968 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*****************************************************************
/
/ File   :   gempc_ifdhandler.h
/ Author :   Ludovic Rousseau <ludovic.rousseau@free.fr>
/ Date   :   22 october 2001
/ Purpose:   This provides reader specific low-level calls.
/ License:   See file LICENSE.BSD
/
/ $Id: gempc_ifdhandler.h,v 1.2 2004-07-03 21:02:42 rousseau Exp $
/
******************************************************************/

#ifndef _gempc_ifd_handler_h_
#define _gempc_ifd_handler_h_

#ifdef __cplusplus
extern "C" {
#endif

#include <ifdhandler.h>

void IFDSetEmv(DWORD lun);

/* do not use RESPONSECODE (long, 64 bits) when 32 bits are enough */
typedef int ifd_t;

typedef enum {
	STATUS_SUCCESS               = 0xFA,
	STATUS_UNSUCCESSFUL          = 0xFB,
	STATUS_COMM_ERROR            = 0xFC,
	STATUS_DEVICE_PROTOCOL_ERROR = 0xFD
} status_t;

#define PCSCLITE_MAX_READERS PCSCLITE_MAX_READERS_CONTEXTS

#ifdef __cplusplus
}
#endif

#endif /* _gempc_ifd_hander_h_ */