summaryrefslogtreecommitdiff
path: root/firmware/include/librfid/rfid.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/librfid/rfid.h')
-rw-r--r--firmware/include/librfid/rfid.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/firmware/include/librfid/rfid.h b/firmware/include/librfid/rfid.h
new file mode 100644
index 0000000..308f46e
--- /dev/null
+++ b/firmware/include/librfid/rfid.h
@@ -0,0 +1,24 @@
+#ifndef _RFID_H
+#define _RFID_H
+
+#include <os/dbgu.h>
+
+#define rfid_hexdump hexdump
+
+enum rfid_frametype {
+ RFID_14443A_FRAME_REGULAR,
+ RFID_14443B_FRAME_REGULAR,
+ RFID_MIFARE_FRAME,
+};
+
+struct rfid_asic_handle {
+};
+
+struct rfid_asic {
+};
+
+#define RAH NULL
+
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
+
+#endif
personal git repositories of Harald Welte. Your mileage may vary