diff options
| author | Wiimm <wiimm@wiimm.de> | 2021-02-03 16:42:38 +0100 |
|---|---|---|
| committer | Wiimm <wiimm@wiimm.de> | 2021-02-03 16:42:38 +0100 |
| commit | 69894f75254cd630e2e4fe1422044c6b7d6adb5f (patch) | |
| tree | 139b93491a16987905c53c4e10bc8b44034de278 /project/src/lib-std.h | |
| parent | a3d605bc52ba3e53720d0dee29a470661b35a1c2 (diff) | |
SZS 2.23a
Diffstat (limited to '')
| -rw-r--r-- | project/src/lib-std.h | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/project/src/lib-std.h b/project/src/lib-std.h index 2230199..2fcb06b 100644 --- a/project/src/lib-std.h +++ b/project/src/lib-std.h @@ -17,7 +17,7 @@ * This file is part of the SZS project. * * Visit https://szs.wiimm.de/ for project details and sources. * * * - * Copyright (c) 2011-2020 by Dirk Clemens <wiimm@wiimm.de> * + * Copyright (c) 2011-2021 by Dirk Clemens <wiimm@wiimm.de> * * * *************************************************************************** * * @@ -70,6 +70,30 @@ // /////////////////////////////////////////////////////////////////////////////// +/////////////// debugging helper /////////////// +/////////////////////////////////////////////////////////////////////////////// + +#undef LOG_SHA1_ENABLED +#undef LOG_SHA1 + +#if defined(TEST) || defined(DEBUG) + #define LOG_SHA1_ENABLED 1 +#elif HAVE_WIIMM_EXT + #define LOG_SHA1_ENABLED 0 +#else + #define LOG_SHA1_ENABLED 0 +#endif + +#if LOG_SHA1_ENABLED + #define LOG_SHA1(d,s,i) LogSHA1(__FUNCTION__,__FILE__,__LINE__,d,s,i) +#else + #define LOG_SHA1(d,s,i) +#endif + +void LogSHA1 ( ccp func, ccp file, uint line, cvp data, uint size, ccp info ); + +// +/////////////////////////////////////////////////////////////////////////////// /////////////// defines /////////////// /////////////////////////////////////////////////////////////////////////////// // also used by UI @@ -2149,7 +2173,7 @@ extern bool use_utf8; extern bool use_de; extern bool ctcode_enabled; extern bool lecode_enabled; -extern uint opt_ct_mode; // calculated by ctcode_enabled & lecode_enabled +extern uint opt_ct_mode; // calculated by ctcode_enabled & lecode_enabled extern int testmode; extern int force_count; extern uint opt_tiny; @@ -2178,6 +2202,10 @@ extern file_format_t fform_compr_force; extern file_format_t script_fform; extern ccp script_varname; extern int script_array; +extern LowerUpper_t opt_case; +extern int opt_pmodes; +extern uint opt_fmodes_include; +extern uint opt_fmodes_exclude; extern int opt_pt_dir; extern bool opt_links; extern bool opt_rm_aiparam; |
