libnfc
1.7.0-rc7
|
Provide some examples shared functions like print, parity calculation, options parsing. More...
#include <stdlib.h>
#include <string.h>
#include <err.h>
Go to the source code of this file.
Macros | |
#define | DBG(...) {} |
Print a message of standard output only in DEBUG mode. More... | |
#define | WARN(...) warnx ("WARNING: " __VA_ARGS__ ) |
Print a warn message. More... | |
#define | ERR(...) warnx ("ERROR: " __VA_ARGS__ ) |
Print a error message. More... | |
Provide some examples shared functions like print, parity calculation, options parsing.
Definition in file nfc-utils.h.
#define DBG | ( | ... | ) | {} |
Print a message of standard output only in DEBUG mode.
DBG
Definition at line 58 of file nfc-utils.h.
#define ERR | ( | ... | ) | warnx ("ERROR: " __VA_ARGS__ ) |
#define WARN | ( | ... | ) | warnx ("WARNING: " __VA_ARGS__ ) |