From 61f2d0e71b7df4ee6fdd1747c6149541d0411044 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Thu, 6 Apr 2017 22:34:52 +0200 Subject: Add command-line arguments. --- src/shared.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/shared.h') diff --git a/src/shared.h b/src/shared.h index 187edcc..46c900e 100644 --- a/src/shared.h +++ b/src/shared.h @@ -33,8 +33,11 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #include "eli.h" +#define PROGRAM_NAME "schachtmeister2" +#define PROGRAM_VERSION "v0.1.0" + #define eprintf(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__) -#define DEBUG(fmt, ...) fprintf(stderr, "%s: " fmt, __func__, ##__VA_ARGS__) +#define DEBUG(fmt, ...) fprintf(stderr, "[DEBUG] %s: " fmt, __func__, ##__VA_ARGS__) #define LOCALHOST_NETWORK 0x7F000000 #define LOCALHOST_MASK 0xFF000000 -- cgit