diff -r 665b60727a89 -r 31fa205db85a src/settings.h --- a/src/settings.h Sat Jul 04 12:09:37 2026 +0200 +++ b/src/settings.h Sat Jul 04 12:28:16 2026 +0200 @@ -27,27 +27,31 @@ #ifndef SETTINGS_H_ #define SETTINGS_H_ -#include "stdinc.h" #include "string_list.h" #include "bfile_heuristics.h" #include "regex_parser.h" typedef struct { - string_list *includeSuffixes; - string_list *excludeSuffixes; - string_list *excludeDirs; + string_list *include_suffixes; + string_list *exclude_suffixes; + string_list *exclude_dirs; regex_parser *regex; - bfile_heuristics *bfileHeuristics; - char fileSeparator; + bfile_heuristics *bfile; bool recursive; - bool matchesOnly; + bool matches_only; bool verbose; bool confusing_lnlen; /* this flag is set by the scanner */ bool individual_sums; bool count_chars; - bool dirsOnly; + bool dirs_only; } settings; +#ifdef _WIN32 +#define FILE_SEPARATOR '\\' +#else +#define FILE_SEPARATOR '/' +#endif /* _WIN32 */ + #ifdef _cplusplus extern "C" { #endif