summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/librfid/rfid_asic_rc632.h2
-rw-r--r--include/librfid/rfid_reader.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/librfid/rfid_asic_rc632.h b/include/librfid/rfid_asic_rc632.h
index c78a720..d8adac7 100644
--- a/include/librfid/rfid_asic_rc632.h
+++ b/include/librfid/rfid_asic_rc632.h
@@ -65,6 +65,8 @@ struct rfid_asic_rc632 {
struct {
int (*setkey)(struct rfid_asic_handle *h,
const unsigned char *key);
+ int (*setkey_ee)(struct rfid_asic_handle *h,
+ const unsigned int addr);
int (*auth)(struct rfid_asic_handle *h, u_int8_t cmd,
u_int32_t serno, u_int8_t block);
} mifare_classic;
diff --git a/include/librfid/rfid_reader.h b/include/librfid/rfid_reader.h
index 1c53677..27bcef3 100644
--- a/include/librfid/rfid_reader.h
+++ b/include/librfid/rfid_reader.h
@@ -70,6 +70,7 @@ struct rfid_reader {
} iso15693;
struct rfid_mifare_classic_reader {
int (*setkey)(struct rfid_reader_handle *h, const unsigned char *key);
+ int (*setkey_ee)(struct rfid_reader_handle *h, const unsigned int addr);
int (*auth)(struct rfid_reader_handle *h, u_int8_t cmd,
u_int32_t serno, u_int8_t block);
} mifare_classic;
personal git repositories of Harald Welte. Your mileage may vary