2 // mi2mu-global.hh -- declare global (sic) stuff for mi2mu
4 // copyright 1997 Jan Nieuwenhuizen <jan@digicash.com>
6 #ifndef MI2MU_GLOBAL_HH
7 #define MI2MU_GLOBAL_HH
12 #define monitor_p_g &cout
13 enum Verbose { QUIET_ver, BRIEF_ver, NORMAL_ver, VERBOSE_ver, DEBUG_ver };
14 extern Verbose level_ver;
16 // not what i want, all output goes through tors.
17 // set verbosity level.
18 #define LOGOUT(threshold) if (0) *monitor_p_g
20 #define LOGOUT(threshold) if (level_ver >= threshold) *monitor_p_g
23 extern Sources* source_l_g;
25 void message (String message_str); //, char const* context_ch_C);
26 void warning (String message_str); //, char const* context_ch_C);
27 void error (String message_str); //, char const* context_ch_C);
29 String mi2mu_version_str();
30 extern bool no_timestamps_b_g;;
32 #endif // MI2MU_GLOBAL_HH