summaryrefslogtreecommitdiff
path: root/common-utils/common-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'common-utils/common-utils.h')
-rw-r--r--common-utils/common-utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common-utils/common-utils.h b/common-utils/common-utils.h
index c5cd411..626fd1b 100644
--- a/common-utils/common-utils.h
+++ b/common-utils/common-utils.h
@@ -33,6 +33,13 @@
#define TAB " "
#define BIGTAB " "
+#define VERBOSITY_NONE 0 /* nothing */
+#define VERBOSITY_ERROR 1 /* errors only */
+#define VERBOSITY_WARNING 2 /* errors and warnings */
+#define VERBOSITY_ALL 3 /* errors, warnings and other info */
+
+#define VERBOSITY_DEFAULT VERBOSITY_ERROR
+
typedef struct {
char **t; /* the text rows */
int n; /* number of rows */