X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flibrfid%2Frfid_reader_cm5121.h;h=e3e64c099cec9206019d48362b3ad6a06979e51e;hb=967687ffce29d0034a16be9a0babdc91bf3187cd;hp=8d9a3128bc12e01d0f71299d2b3f6d2e95a490ab;hpb=dc97c2a84a373026906696a8109e0ade7384b35d;p=librfid diff --git a/include/librfid/rfid_reader_cm5121.h b/include/librfid/rfid_reader_cm5121.h index 8d9a312..e3e64c0 100644 --- a/include/librfid/rfid_reader_cm5121.h +++ b/include/librfid/rfid_reader_cm5121.h @@ -1,6 +1,8 @@ #ifndef _RFID_READER_CM5121_H #define _RFID_READER_CM5121_H +#include + #define CM5121_CW_CONDUCTANCE 0x3f #define CM5121_MOD_CONDUCTANCE 0x3f #define CM5121_14443A_BITPHASE 0xa9 @@ -9,13 +11,12 @@ #define CM5121_14443B_BITPHASE 0xad #define CM5121_14443B_THRESHOLD 0xff - extern int PC_to_RDR_Escape(void *handle, - const unsigned char *tx_buf, unsigned int tx_len, - unsigned char *rx_buf, unsigned int *rx_len); + const unsigned char *tx_buf, size_t tx_len, + unsigned char *rx_buf, size_t *rx_len); -extern struct rfid_reader rfid_reader_cm5121; +extern const struct rfid_reader rfid_reader_cm5121; // extern struct rfid_asic_transport cm5121_ccid; #endif