From a8afd734094b92cbe64e4ff0df3a4ce7b9e30375 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 20 Nov 2023 08:54:19 -0500 Subject: Use globals * continue_on_error set by omc config * always_update_base_environment set by omc config * Passing OMC_MSG_RESTRICT flag to msg() will print only in verbose mode --- include/utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/utils.h') diff --git a/include/utils.h b/include/utils.h index 0c4e308..15684e8 100644 --- a/include/utils.h +++ b/include/utils.h @@ -41,6 +41,8 @@ char *git_describe(const char *path); #define OMC_MSG_L1 1 << 3 #define OMC_MSG_L2 1 << 4 #define OMC_MSG_L3 1 << 5 +#define OMC_MSG_RESTRICT 1 << 6 ///< Restrict to verbose mode + void msg(unsigned type, char *fmt, ...); void debug_shell(); -- cgit