X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flibrfid%2Frfid_asic_rc632.h;h=d8adac7884a002299ca7983558a9c139af30e71a;hb=967687ffce29d0034a16be9a0babdc91bf3187cd;hp=529b48c897e7c271f434fde0d4118c7e6636a558;hpb=a7c201deb99239d6d98a45b3cc642d8554231a22;p=librfid diff --git a/include/librfid/rfid_asic_rc632.h b/include/librfid/rfid_asic_rc632.h index 529b48c..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; @@ -94,6 +96,7 @@ struct rfid_asic_rc632_impl { extern struct rfid_asic_handle * rc632_open(struct rfid_asic_transport_handle *th); extern void rc632_close(struct rfid_asic_handle *h); +extern int rc632_register_dump(struct rfid_asic_handle *handle, u_int8_t *buf); /* register decoding inlines... */