Last change
on this file since 4998 was 4998, checked in by Admin, 13 years ago |
Some more adjustments for a stricter variable size definition.
|
File size:
1.0 KB
|
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 <stdlib.h>
|
---|
10 | #include <stdio.h>
|
---|
11 | #include <ctype.h>
|
---|
12 | #include <unistd.h>
|
---|
13 |
|
---|
14 | #include <sys/time.h>
|
---|
15 | #include <sys/types.h>
|
---|
16 |
|
---|
17 | #include <pthread.h>
|
---|
18 | #include <memory.h>
|
---|
19 | #ifdef __FreeBSD__
|
---|
20 | #include <libusb.h>
|
---|
21 | #else
|
---|
22 | #include <libusb-1.0/libusb.h>
|
---|
23 | #endif
|
---|
24 | #include "../globals.h"
|
---|
25 | #include "atr.h"
|
---|
26 |
|
---|
27 | #include "smartreader_types.h"
|
---|
28 |
|
---|
29 | int32_t SR_Init (struct s_reader *reader);
|
---|
30 | int32_t SR_GetStatus (struct s_reader *reader,int32_t * in);
|
---|
31 | int32_t SR_Reset (struct s_reader *reader, ATR * atr);
|
---|
32 | int32_t SR_Transmit (struct s_reader *reader, BYTE * buffer, uint32_t size);
|
---|
33 | int32_t SR_Receive (struct s_reader *reader, BYTE * buffer, uint32_t size);
|
---|
34 | int32_t SR_SetBaudrate (struct s_reader *reader);
|
---|
35 | int32_t SR_SetParity (struct s_reader *reader, uint16_t parity);
|
---|
36 | int32_t SR_Close (struct s_reader *reader);
|
---|
37 | int32_t SR_FastReset(struct s_reader *reader, int32_t delay);
|
---|
38 |
|
---|
39 | #endif // __SMARTREADER__
|
---|
40 | #endif // HAVE_LIBUSB
|
---|
Note:
See
TracBrowser
for help on using the repository browser.