diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-07-09 13:55:44 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2013-07-24 20:33:09 +0200 |
commit | 65fadd46e49f8f8b21f0f2e094805a4bded9e914 (patch) | |
tree | 4b053c7d80c6c0a712e2179ddbb12ab87455b979 | |
parent | 2c8bd5ba4ad0b5e692de21d3cee4be68b7773c10 (diff) | |
download | samba-65fadd46e49f8f8b21f0f2e094805a4bded9e914.tar.gz |
lib/util: add 'ldb' debug class
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Björn Jacke <bj@sernet.de>
(cherry picked from commit baecc863de0ceb64187c6eb3545bf28706bd84fc)
-rw-r--r-- | lib/util/debug.c | 1 | ||||
-rw-r--r-- | lib/util/debug.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c index 34aa76fb5c9..a46b2753cfc 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 30df78732ac..f7ebfc02695 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 |