summaryrefslogtreecommitdiff
path: root/include/librfid/rfid_reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/librfid/rfid_reader.h')
-rw-r--r--include/librfid/rfid_reader.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/librfid/rfid_reader.h b/include/librfid/rfid_reader.h
index b41672f..af2f4be 100644
--- a/include/librfid/rfid_reader.h
+++ b/include/librfid/rfid_reader.h
@@ -12,6 +12,22 @@ struct rfid_reader {
unsigned int l2_supported;
unsigned int proto_supported;
+ int (*get_api_version)(
+ struct rfid_reader_handle *h,
+ u_int8_t *version);
+
+ int (*get_environment)(
+ struct rfid_reader_handle *rh,
+ unsigned char num_bytes,
+ unsigned char *buf);
+
+ int (*set_environment)(
+ struct rfid_reader_handle *rh,
+ unsigned char num_bytes,
+ const unsigned char *buf);
+
+ int (*reset)(struct rfid_reader_handle *h);
+
int (*transceive)(struct rfid_reader_handle *h,
enum rfid_frametype frametype,
const unsigned char *tx_buf, unsigned int tx_len,
personal git repositories of Harald Welte. Your mileage may vary