diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-07-09 13:55:44 +0200 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2013-07-09 15:18:53 +0200 |
commit | baecc863de0ceb64187c6eb3545bf28706bd84fc (patch) | |
tree | 8b820a4bf2f4d90f7f10f35f14411e353ef24ef6 /lib | |
parent | e6f79b94891c3fe432739a479fde753002500938 (diff) | |
download | samba-baecc863de0ceb64187c6eb3545bf28706bd84fc.tar.gz samba-baecc863de0ceb64187c6eb3545bf28706bd84fc.tar.bz2 samba-baecc863de0ceb64187c6eb3545bf28706bd84fc.zip |
lib/util: add 'ldb' debug class
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Björn Jacke <bj@sernet.de>
Diffstat (limited to 'lib')
-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 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 |