Mercurial > hg > th-libs
diff th_util.h @ 45:e031a062b731
Separate program "banner" printing from th_args_help() to th_print_banner().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 03 Oct 2011 15:37:53 +0300 |
parents | 06a72c643460 |
children | 598609fb49b0 |
line wrap: on
line diff
--- a/th_util.h Mon Oct 03 00:28:55 2011 +0300 +++ b/th_util.h Mon Oct 03 15:37:53 2011 +0300 @@ -13,6 +13,7 @@ #endif #include "th_types.h" +#include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <sys/types.h> @@ -65,6 +66,8 @@ */ void th_init(char *progName, char *progFullName, char *progVersion, char *progAuthor, char *progLicense); +void th_print_banner(FILE *outFile, const char *binName, const char *progUsage); + void THERR(const char *, ...); void THMSG(int, const char *, ...); void THPRINT(int, const char *, ...);