Mercurial > hg > nnchat
comparison th_util.h @ 240:e85d453e82eb
Merged.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 20 Apr 2011 15:46:42 +0300 |
parents | 578730eebe07 |
children | 1807059fb8f2 |
comparison
equal
deleted
inserted
replaced
239:b7e7ed741a18 | 240:e85d453e82eb |
---|---|
36 | 36 |
37 #ifdef TH_NO_DEFAULTS | 37 #ifdef TH_NO_DEFAULTS |
38 #define TH_PROG_AUTHOR NULL | 38 #define TH_PROG_AUTHOR NULL |
39 #define TH_PROG_LICENSE NULL | 39 #define TH_PROG_LICENSE NULL |
40 #else | 40 #else |
41 #define TH_PROG_AUTHOR "By Matti 'ccr' Hämäläinen (C) Copyright 2010 TNSP" | 41 #define TH_PROG_AUTHOR "By Matti 'ccr' Hämäläinen (C) Copyright 2011 TNSP" |
42 #define TH_PROG_LICENSE "This software is licensed under GNU GPL version 2" | 42 #define TH_PROG_LICENSE "This software is licensed under GNU GPL version 2" |
43 #endif | 43 #endif |
44 | 44 |
45 | 45 |
46 /* Replacement for assert() */ | 46 /* Replacement for assert() */ |
52 # endif | 52 # endif |
53 #endif | 53 #endif |
54 | 54 |
55 /* Global variables | 55 /* Global variables |
56 */ | 56 */ |
57 extern int th_verbosityLevel; | 57 extern int th_verbosityLevel; |
58 extern char *th_prog_name, | 58 extern char *th_prog_name, |
59 *th_prog_fullname, | 59 *th_prog_fullname, |
60 *th_prog_version, | 60 *th_prog_version, |
61 *th_prog_author, | 61 *th_prog_author, |
62 *th_prog_license; | 62 *th_prog_license; |
63 | 63 |
64 /* Functions | 64 /* Functions |
65 */ | 65 */ |
66 void th_init(char *progName, char *progFullName, char *progVersion, | 66 void th_init(char *progName, char *progFullName, char *progVersion, |
67 char *progAuthor, char *progLicense); | 67 char *progAuthor, char *progLicense); |
68 void THERR(const char *, ...); | 68 void THERR(const char *, ...); |
69 void THMSG(int, const char *, ...); | 69 void THMSG(int, const char *, ...); |
70 void THPRINT(int, const char *, ...); | 70 void THPRINT(int, const char *, ...); |
71 | 71 |
72 void THERR_V(const char *, va_list); | 72 void THERR_V(const char *, va_list); |