diff src/dmlib.h @ 2410:bc05bcfc4598

Add a C file with the generic BSD license text and a function for printing it out, for use in the tools.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 13 Jan 2020 22:26:24 +0200
parents bcd33c77c605
children 69a5af2eb1ea
line wrap: on
line diff
--- a/src/dmlib.h	Mon Jan 13 22:25:21 2020 +0200
+++ b/src/dmlib.h	Mon Jan 13 22:26:24 2020 +0200
@@ -124,8 +124,9 @@
 #endif
 
 // Defaults
-#define DM_PROG_AUTHOR      "By Matti 'ccr' Hamalainen (C) Copyright 2020 TNSP"
-#define DM_PROG_LICENSE     "Et all, see README / COPYING for more information."
+#define DM_PROG_AUTHOR      "By Matti 'ccr' Hamalainen (C) Copyright 2002-2020 TNSP"
+#define DM_PROG_LICENSE     "This program is distributed under a 3-clause BSD -style license."
+
 
 /* Error codes
  */
@@ -405,6 +406,7 @@
 extern int dmVerbosity;
 void       dmInitProg(char *name, char *desc, char *version, char *author, char *license);
 void       dmPrintBanner(FILE *outFile, const char *name, const char *usage);
+void       dmPrintLicense(FILE *outFile);
 
 void       dmMsgVA(int level, const char *fmt, va_list ap);
 void       dmMsg(int level, const char *fmt, ...)