- use C99 compiler flags
[librfid] / include / librfid / rfid.h
index b1943d7..c3f8fc1 100644 (file)
@@ -11,7 +11,9 @@ enum rfid_frametype {
        RFID_MIFARE_FRAME,
 };
 
-#if 1
+//#define DEBUG
+
+#ifdef DEBUG
 #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args)
 #define DEBUGPC(x, args ...) fprintf(stderr, x, ## args)
 #else
@@ -29,4 +31,11 @@ extern const char *rfid_hexdump(const void *data, unsigned int len);
 
 int rfid_init();
 
+enum rfid_opt_level {
+       RFID_LEVEL_ASIC,
+       RFID_LEVEL_READER,
+       RFID_LEVEL_LAYER2,
+       RFID_LEVEL_LAYER3,
+};
+
 #endif /* _RFID_H */