From baecc863de0ceb64187c6eb3545bf28706bd84fc Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 9 Jul 2013 13:55:44 +0200 Subject: lib/util: add 'ldb' debug class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Metzmacher Reviewed-by: Björn Jacke --- lib/util/debug.c | 1 + lib/util/debug.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/util') diff --git a/lib/util/debug.c b/lib/util/debug.c index 34aa76fb5c..a46b2753cf 100644 --- a/lib/util/debug.c +++ b/lib/util/debug.c @@ -178,6 +178,7 @@ static const char *default_classname_table[] = { "registry", /* DBGC_REGISTRY */ "scavenger", /* DBGC_SCAVENGER */ "dns", /* DBGC_DNS */ + "ldb", /* DBGC_LDB */ NULL }; diff --git a/lib/util/debug.h b/lib/util/debug.h index 30df78732a..f7ebfc0269 100644 --- a/lib/util/debug.h +++ b/lib/util/debug.h @@ -81,9 +81,10 @@ bool dbghdr( int level, const char *location, const char *func); #define DBGC_REGISTRY 19 #define DBGC_SCAVENGER 20 #define DBGC_DNS 21 +#define DBGC_LDB 22 /* Always ensure this is updated when new fixed classes area added, to ensure the array in debug.c is the right size */ -#define DBGC_MAX_FIXED 21 +#define DBGC_MAX_FIXED 22 /* So you can define DBGC_CLASS before including debug.h */ #ifndef DBGC_CLASS -- cgit