|
libnfc 1.8.0
|
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. | |
| #define | WARN(...) warnx ("WARNING: " __VA_ARGS__ ) |
| Print a warn message. | |
| #define | ERR(...) warnx ("ERROR: " __VA_ARGS__ ) |
| Print a error message. | |
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.
@macro DBG
Definition at line 59 of file nfc-utils.h.
| #define ERR | ( | ... | ) | warnx ("ERROR: " __VA_ARGS__ ) |
| #define WARN | ( | ... | ) | warnx ("WARNING: " __VA_ARGS__ ) |