comparison th_util.c @ 4:67f4a4233372

Move defaults to header file.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 26 Mar 2008 05:10:20 +0200
parents bd61a80a6c54
children 41885619fc79
comparison
equal deleted inserted replaced
3:5a327a2988fa 4:67f4a4233372
9 #include "config.h" 9 #include "config.h"
10 #endif 10 #endif
11 #include "th_util.h" 11 #include "th_util.h"
12 #include <stdio.h> 12 #include <stdio.h>
13 13
14 /* 14 /* Default settings
15 * Default settings
16 */ 15 */
17 #ifdef TH_NO_DEFAULTS
18 #define TH_PROG_AUTHOR ""
19 #define TH_PROG_LICENSE ""
20 #else
21 #define TH_PROG_AUTHOR "By Matti 'ccr' Hämäläinen (C) Copyright 2008 TNSP"
22 #define TH_PROG_LICENSE "This software is licensed under GNU GPL version 2"
23 #endif
24
25 BOOL th_isInitialized = FALSE; 16 BOOL th_isInitialized = FALSE;
26 int th_verbosityLevel = 2; 17 int th_verbosityLevel = 2;
27 char *th_prog_name = NULL, 18 char *th_prog_name = NULL,
28 *th_prog_fullname = NULL, 19 *th_prog_fullname = NULL,
29 *th_prog_version = NULL, 20 *th_prog_version = NULL,