#include <unistd.h>
#include <stdio.h>
+#include <librfid/rfid.h>
+
+#ifndef LIBRFID_FIRMWARE
+
#include <librfid/rfid_asic.h>
-#include <include/ccid/ccid-driver.h>
+#include "ccid-driver.h"
/* this is the sole function required by rfid_reader_cm5121.c */
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)
{
int rc;
ccid_driver_t ch = handle;
}
return 0;
}
+
+#endif /* LIBRFID_FIRMWARE */