Last change
on this file since 6098 was 6098, checked in by corsair, 12 years ago |
applied oopepe's ins7e11_restart_patch.patch.txt. Thx!
|
File size:
941 bytes
|
Line | |
---|
1 | /*
|
---|
2 | ifd_smartreader.h
|
---|
3 | Header file for Argolis smartreader+.
|
---|
4 | */
|
---|
5 | #if defined(LIBUSB)
|
---|
6 | #ifndef __SMARTREADER__
|
---|
7 | #define __SMARTREADER__
|
---|
8 |
|
---|
9 | #include <memory.h>
|
---|
10 | #ifdef __FreeBSD__
|
---|
11 | #include <libusb.h>
|
---|
12 | #else
|
---|
13 | #include <libusb-1.0/libusb.h>
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | #include "atr.h"
|
---|
17 |
|
---|
18 | #include "smartreader_types.h"
|
---|
19 |
|
---|
20 | int32_t SR_Init (struct s_reader *reader);
|
---|
21 | int32_t SR_GetStatus (struct s_reader *reader,int32_t * in);
|
---|
22 | int32_t SR_Reset (struct s_reader *reader, ATR * atr);
|
---|
23 | int32_t SR_Transmit (struct s_reader *reader, BYTE * buffer, uint32_t size);
|
---|
24 | int32_t SR_Receive (struct s_reader *reader, BYTE * buffer, uint32_t size);
|
---|
25 | int32_t SR_SetBaudrate (struct s_reader *reader);
|
---|
26 | int32_t SR_SetParity (struct s_reader *reader, uint16_t parity);
|
---|
27 | int32_t SR_Close (struct s_reader *reader);
|
---|
28 | int32_t SR_FastReset(struct s_reader *reader, int32_t delay);
|
---|
29 | int32_t SR_FastReset_With_ATR(struct s_reader *reader, ATR *atr);
|
---|
30 |
|
---|
31 | #endif // __SMARTREADER__
|
---|
32 | #endif // HAVE_LIBUSB
|
---|
Note:
See
TracBrowser
for help on using the repository browser.