debug: Add debugclass for DNS server
authorKai Blin <kai@samba.org>
Mon, 14 Jan 2013 00:13:47 +0000 (01:13 +0100)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 16 May 2013 11:40:08 +0000 (21:40 +1000)
Signed-off-by: Kai Blin <kai@samba.org>
Reviewed-By: Amitay Isaacs <amitay@gmail.com>
lib/util/debug.c
lib/util/debug.h

index 6207b610c826ab9e4c1cdc8bfb70f2fd6a9653ad..34aa76fb5c9eef04bed3132f79326a6a852bf61b 100644 (file)
@@ -177,6 +177,7 @@ static const char *default_classname_table[] = {
        "dmapi",             /* DBGC_DMAPI        */
        "registry",          /* DBGC_REGISTRY     */
        "scavenger",         /* DBGC_SCAVENGER    */
+       "dns",               /* DBGC_DNS          */
        NULL
 };
 
index c61fd13165a468320fe3e931498ed340c1c1eb36..feea0a8d94e98c7d1cdc8396317a1928f8bca71e 100644 (file)
@@ -80,9 +80,10 @@ bool dbghdr( int level, const char *location, const char *func);
 #define DBGC_DMAPI             18
 #define DBGC_REGISTRY          19
 #define DBGC_SCAVENGER         20
+#define DBGC_DNS               21
 
 /* 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         20
+#define DBGC_MAX_FIXED         21
 
 /* So you can define DBGC_CLASS before including debug.h */
 #ifndef DBGC_CLASS