Mercurial > hg > sidinfo
changeset 229:080219f105ce
Improve some comments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 03 Jan 2020 12:04:51 +0200 |
parents | 1962b236d596 |
children | 1e860046a4cc |
files | sidinfo.c |
diffstat | 1 files changed, 13 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/sidinfo.c Fri Jan 03 11:13:08 2020 +0200 +++ b/sidinfo.c Fri Jan 03 12:04:51 2020 +0200 @@ -11,16 +11,24 @@ #include <sys/types.h> #include <dirent.h> #ifdef HAVE_ICONV -# include <iconv.h> +# include <iconv.h> #endif +// // Some constants -#define SET_DEF_CHARSET "utf8" // NOTE! Do not change unless you are using iconv()!! - // The fallback converter does not handle other encodings. +// -#define SET_HVSC_DOCUMENTS "DOCUMENTS" -#define SET_SLDB_FILEBASE "Songlengths" +// Default character encoding to convert to +// NOTE! Do not change unless you are using iconv()!! +// The fallback converter does not handle other encodings. +#define SET_DEF_CHARSET "utf8" + +// HVSC documents directory +#define SET_HVSC_DOCUMENTS "DOCUMENTS" + +// Songlengths database filename prefix (.md5|.txt appended) +#define SET_SLDB_FILEBASE "Songlengths" enum