debug: Add debugclass for DNS server
authorKai Blin <kai@samba.org>
Mon, 14 Jan 2013 00:13:47 +0000 (01:13 +0100)
committerKai Blin <kai@samba.org>
Fri, 18 Jan 2013 09:58:58 +0000 (10:58 +0100)
Signed-off-by: Kai Blin <kai@samba.org>
lib/util/debug.c
lib/util/debug.h

index 7509f90c1f144e05c313a2d4c60f73263df2e69f..92f1c0a95d7563cf1844684c6722363b763b93a5 100644 (file)
@@ -176,6 +176,7 @@ static const char *default_classname_table[] = {
        "msdfs",             /* DBGC_MSDFS        */
        "dmapi",             /* DBGC_DMAPI        */
        "registry",          /* DBGC_REGISTRY     */
+       "dns",               /* DBGC_DNS          */
        NULL
 };
 
index d864c0f4f113af604d13012d90d2ba93a69c798c..4622b24998f93ced833b848af79aa7a27b3fb7ad 100644 (file)
@@ -79,9 +79,10 @@ bool dbghdr( int level, const char *location, const char *func);
 #define DBGC_MSDFS             17
 #define DBGC_DMAPI             18
 #define DBGC_REGISTRY          19
+#define DBGC_DNS               20
 
 /* 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         19
+#define DBGC_MAX_FIXED         20
 
 /* So you can define DBGC_CLASS before including debug.h */
 #ifndef DBGC_CLASS