summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2013-01-14 01:13:47 +0100
committerAmitay Isaacs <amitay@gmail.com>2013-05-16 21:40:08 +1000
commit4b010997486b059b90be1f69783a451f400d7df7 (patch)
treeab9b4972919347a3bdb6fbd3028a8eb27deb462b /lib
parent51533eedd7fa162bf8113f1f551064c01741e40e (diff)
downloadsamba-4b010997486b059b90be1f69783a451f400d7df7.tar.gz
samba-4b010997486b059b90be1f69783a451f400d7df7.tar.bz2
samba-4b010997486b059b90be1f69783a451f400d7df7.zip
debug: Add debugclass for DNS server
Signed-off-by: Kai Blin <kai@samba.org> Reviewed-By: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/util/debug.c1
-rw-r--r--lib/util/debug.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index 6207b610c8..34aa76fb5c 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -177,6 +177,7 @@ static const char *default_classname_table[] = {
"dmapi", /* DBGC_DMAPI */
"registry", /* DBGC_REGISTRY */
"scavenger", /* DBGC_SCAVENGER */
+ "dns", /* DBGC_DNS */
NULL
};
diff --git a/lib/util/debug.h b/lib/util/debug.h
index c61fd13165..feea0a8d94 100644
--- a/lib/util/debug.h
+++ b/lib/util/debug.h
@@ -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