summaryrefslogtreecommitdiff
path: root/include/rfid/rfid_reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rfid/rfid_reader.h')
-rw-r--r--include/rfid/rfid_reader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rfid/rfid_reader.h b/include/rfid/rfid_reader.h
index 5f6c314..98c03a1 100644
--- a/include/rfid/rfid_reader.h
+++ b/include/rfid/rfid_reader.h
@@ -12,9 +12,9 @@ struct rfid_reader {
int (*transcieve)(struct rfid_reader_handle *h,
const unsigned char *tx_buf, unsigned int tx_len,
unsigned char *rx_buf, unsigned int *rx_len,
- unsigned int timeout, unsigned int flags);
+ u_int64_t timeout, unsigned int flags);
struct rfid_reader_handle * (*open)(void *data);
- int (*close)(void *data);
+ void (*close)(struct rfid_reader_handle *h);
struct rfid_14443a_reader {
int (*init)(struct rfid_reader_handle *h);
personal git repositories of Harald Welte. Your mileage may vary