diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-04-06 22:34:52 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-04-06 22:34:52 +0200 |
commit | 61f2d0e71b7df4ee6fdd1747c6149541d0411044 (patch) | |
tree | efe44564ba4cb2b1ea8b6a9a70660296cc109499 /src/shared.h | |
parent | 10a0bd03c08dd6b6023d26dd090352620c5cbd6e (diff) |
Add command-line arguments.
Diffstat (limited to 'src/shared.h')
-rw-r--r-- | src/shared.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 |