diff options
Diffstat (limited to 'include/librfid/rfid.h')
-rw-r--r-- | include/librfid/rfid.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/librfid/rfid.h b/include/librfid/rfid.h index b1943d7..c3f8fc1 100644 --- a/include/librfid/rfid.h +++ b/include/librfid/rfid.h @@ -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 */ |