- better layering abstraciton
[librfid] / include / rfid / rfid_layer2_iso14443b.h
index 72e6155..2bf8255 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _RFID_LAYER2_ISO14443B_H
 #define _RFID_LAYER2_ISO14443B_H
 
+#ifdef __LIBRFID__
+
 struct iso14443b_atqb {
        unsigned char fifty;
        unsigned char pupi[4];
@@ -43,13 +45,12 @@ struct iso14443b_attrib_hdr {
 struct iso14443b_handle {
        unsigned int tcl_capable; /* do we support T=CL */
 
-       unsigned char pupi[4];  /* Pseudo-Unique PICC Identifier */
        unsigned int cid;       /* Card ID */
 
        unsigned int fsc;       /* max. frame size card */
        unsigned int fsd;       /* max. frame size reader */
 
-       unsigned int fwt;       /* frame waiting time */
+       unsigned int fwt;       /* frame waiting time (in usec) */
 
        unsigned int mbl;       /* maximum buffer length */
 
@@ -76,8 +77,9 @@ enum {
        ISO14443B_STATE_HALTED,
 };
 
-
 #include <rfid/rfid_layer2.h>
 struct rfid_layer2 rfid_layer2_iso14443b;
 
+#endif /* __LIBRFID__ */
+
 #endif