]> git.draconx.ca Git - rrace.git/blob - src/version.h
Implement the about dialog.
[rrace.git] / src / version.h
1 #ifndef RRACE_VERSION_H_
2 #define RRACE_VERSION_H_
3
4 #include <stdio.h>
5
6 /*
7  * Print a line containing the name of the program and the version of the
8  * package, followed by a line for each copyright notice to the specified file.
9  */
10 void version_print_head(const char *progname, FILE *f);
11
12 /*
13  * As with the above, but the string is put in a newly-allocated string which
14  * must be freed by the caller.  The resulting string has newline characters
15  * between each line but there is no newline after the final line.
16  */
17 char *version_format_head(const char *progname);
18
19 #endif