Welcome to little lamb

Code » limb » commit d54fb7d

obuffer.h: Rename OLVL_DEBUG_VERBOSE to OLVL_MAXIMUM

author Olivier Brunel
2023-04-02 17:24:05 UTC
committer Olivier Brunel
2023-05-20 18:06:34 UTC
parent f5c9a975091dd2829962fc107927cc665b62143b

obuffer.h: Rename OLVL_DEBUG_VERBOSE to OLVL_MAXIMUM

src/doc/obuffer.h.0.md +1 -1
src/doc/output.h.0.md +1 -1
src/liblimb/include/limb/obuffer.h +6 -6
src/liblimb/include/limb/output.h +1 -1

diff --git a/src/doc/obuffer.h.0.md b/src/doc/obuffer.h.0.md
index 0c707f7..58ae323 100644
--- a/src/doc/obuffer.h.0.md
+++ b/src/doc/obuffer.h.0.md
@@ -23,7 +23,7 @@ be writing to the buffer.
 The following constants are defined :
 
 : *OLVL_SILENT*, *OLVL_QUIET*, *OLVL_NORMAL*, *OLVL_VERBOSE*,
-: *OLVL_DEBUG*, *OLVL_DEBUG_VERBOSE*
+: *OLVL_DEBUG*, *OLVL_MAXIMUM*
 :: Different output levels
 
 ## Types
diff --git a/src/doc/output.h.0.md b/src/doc/output.h.0.md
index bbbac98..5afc8ce 100644
--- a/src/doc/output.h.0.md
+++ b/src/doc/output.h.0.md
@@ -34,7 +34,7 @@ The following functions/macros are defined :
 :: flushing the buffer afterwards
 
 : [dbgverb](3)
-:: Same as [dbg](3) but with *OLVL_DEBUG_VERBOSE*
+:: Same as [dbg](3) but with *OLVL_MAXIMUM*
 
 : [die](3)
 :: Same as [errdie](3) but prefixed with "*PROG*: "
diff --git a/src/liblimb/include/limb/obuffer.h b/src/liblimb/include/limb/obuffer.h
index 38c30d6..b2d2ef2 100644
--- a/src/liblimb/include/limb/obuffer.h
+++ b/src/liblimb/include/limb/obuffer.h
@@ -8,12 +8,12 @@
 #include <limb/int.h>
 
 enum olevel {
-    OLVL_SILENT         = 0,
-    OLVL_QUIET          = 50,
-    OLVL_NORMAL         = 100,
-    OLVL_VERBOSE        = 150,
-    OLVL_DEBUG          = 200,
-    OLVL_DEBUG_VERBOSE  = 250,
+    OLVL_SILENT     = 0,
+    OLVL_QUIET      = 50,
+    OLVL_NORMAL     = 100,
+    OLVL_VERBOSE    = 150,
+    OLVL_DEBUG      = 200,
+    OLVL_MAXIMUM    = 250,
 };
 
 typedef struct obuffer obuffer;
diff --git a/src/liblimb/include/limb/output.h b/src/liblimb/include/limb/output.h
index 6c43921..c5e8194 100644
--- a/src/liblimb/include/limb/output.h
+++ b/src/liblimb/include/limb/output.h
@@ -22,7 +22,7 @@ extern const char *PROG;
 #define out(...)            outmsg(OLVL_NORMAL, __VA_ARGS__, PUTMSG_LFF)
 #define verb(...)           outmsg(OLVL_VERBOSE, __VA_ARGS__, PUTMSG_LFF)
 #define dbg(...)            dbgmsg(OLVL_DEBUG, __VA_ARGS__, PUTMSG_LFF)
-#define dbgverb(...)        dbgmsg(OLVL_DEBUG_VERBOSE, __VA_ARGS__, PUTMSG_LFF)
+#define dbgverb(...)        dbgmsg(OLVL_MAXIMUM, __VA_ARGS__, PUTMSG_LFF)
 
 #define err(...)            errmsg(OLVL_NORMAL, __VA_ARGS__, PUTMSG_LFF)
 #define errverb(...)        errmsg(OLVL_VERBOSE, __VA_ARGS__, PUTMSG_LFF)