summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-10-22 17:21:36 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-10-22 17:21:36 +0000
commit47b378a217480ad4b9ee27029448e73412ca110e (patch)
tree1cf5b684e93a949bad7f988dd8f7a4e0ff4307b5 /include
parentb441f1c6a000da975589b002f38c1b57ca327e22 (diff)
add support for mifare ultralight
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1550 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'include')
-rw-r--r--include/rfid/rfid_protocol.h3
-rw-r--r--include/rfid/rfid_protocol_mifare_ul.h6
2 files changed, 8 insertions, 1 deletions
diff --git a/include/rfid/rfid_protocol.h b/include/rfid/rfid_protocol.h
index 5172a08..7d5dcff 100644
--- a/include/rfid/rfid_protocol.h
+++ b/include/rfid/rfid_protocol.h
@@ -4,6 +4,7 @@
#include <rfid/rfid_layer2.h>
#include <rfid/rfid_protocol_tcl.h>
+#include <rfid/rfid_protocol_mifare_ul.h>
struct rfid_protocol_handle;
@@ -58,7 +59,7 @@ int
rfid_protocol_read(struct rfid_protocol_handle *ph,
unsigned int page,
unsigned char *rx_data,
- unsigned int rx_len);
+ unsigned int *rx_len);
int
rfid_protocol_write(struct rfid_protocol_handle *ph,
diff --git a/include/rfid/rfid_protocol_mifare_ul.h b/include/rfid/rfid_protocol_mifare_ul.h
new file mode 100644
index 0000000..34d246a
--- /dev/null
+++ b/include/rfid/rfid_protocol_mifare_ul.h
@@ -0,0 +1,6 @@
+#ifndef _RFID_PROTOCOL_MFUL_H
+#define _RFID_PROTOCOL_MFUL_H
+
+struct rfid_protocol rfid_protocol_mful;
+
+#endif
personal git repositories of Harald Welte. Your mileage may vary