lib/util: add 'ldb' debug class
authorStefan Metzmacher <metze@samba.org>
Tue, 9 Jul 2013 11:55:44 +0000 (13:55 +0200)
committerBjörn Jacke <bj@sernet.de>
Tue, 9 Jul 2013 13:18:53 +0000 (15:18 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Björn Jacke <bj@sernet.de>
lib/util/debug.c
lib/util/debug.h

index 34aa76fb5c9eef04bed3132f79326a6a852bf61b..a46b2753cfcae437179a51b98cca6aef91bf0264 100644 (file)
@@ -178,6 +178,7 @@ static const char *default_classname_table[] = {
        "registry",          /* DBGC_REGISTRY     */
        "scavenger",         /* DBGC_SCAVENGER    */
        "dns",               /* DBGC_DNS          */
+       "ldb",               /* DBGC_LDB          */
        NULL
 };
 
index 30df78732ac3ace902613cf20ebe895d142f65d6..f7ebfc026959f053a918ee9b0ce35ba0ab4840f1 100644 (file)
@@ -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