- better layering abstraciton
[librfid] / include / rfid / rfid_protocol_tcl.h
index f0dbcdc..f754ad9 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _RFID_PROTOCOL_TCL_H
 #define _RFID_PROTOCOL_TCL_H
 
+#ifdef __LIBRFID__
+
 enum tcl_transport_rate {
        TCL_RATE_106    = 0x01,
        TCL_RATE_212    = 0x02,
@@ -13,7 +15,6 @@ enum tcl_transport_transcieve_flags {
        TCL_TRANSP_F_RX_CRC     = 0x02, 
 };
 
-
 struct tcl_handle {
        /* derived from ats */
        unsigned char *historical_bytes; /* points into ats */
@@ -64,4 +65,6 @@ enum tcl_pcd_state {
 
 struct rfid_protocol rfid_protocol_tcl;
 
+#endif /* __LIBRFID__ */
+
 #endif