summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-09-28 23:05:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:04 -0500
commit6334c7cc5f686a6c13063190986914482f54784f (patch)
tree7451a58654ee23ce0310557286dc24d254cf8975 /source3/registry
parentd3dd14b70e1b0d25c75513bb8c3f5ecca8515ed4 (diff)
downloadsamba-6334c7cc5f686a6c13063190986914482f54784f.tar.gz
samba-6334c7cc5f686a6c13063190986914482f54784f.tar.bz2
samba-6334c7cc5f686a6c13063190986914482f54784f.zip
r25417: Use DBGC_REGISTRY class.
Guenther (This used to be commit 43ca04918a5a1b2379083dc624b346ceb8476a38)
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_api.c3
-rw-r--r--source3/registry/reg_cachehook.c2
-rw-r--r--source3/registry/reg_db.c2
-rw-r--r--source3/registry/reg_dynamic.c2
-rw-r--r--source3/registry/reg_eventlog.c2
-rw-r--r--source3/registry/reg_frontend.c2
-rw-r--r--source3/registry/reg_frontend_hilvl.c2
-rw-r--r--source3/registry/reg_objects.c2
-rw-r--r--source3/registry/reg_perfcount.c2
-rw-r--r--source3/registry/reg_printing.c2
-rw-r--r--source3/registry/reg_shares.c2
-rw-r--r--source3/registry/reg_smbconf.c2
-rw-r--r--source3/registry/reg_util.c2
-rw-r--r--source3/registry/regfio.c3
14 files changed, 20 insertions, 10 deletions
diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c
index 93ac8a9c2a..8b832cfa91 100644
--- a/source3/registry/reg_api.c
+++ b/source3/registry/reg_api.c
@@ -21,6 +21,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_REGISTRY
+
static WERROR fill_value_cache(struct registry_key *key)
{
if (key->values != NULL) {
diff --git a/source3/registry/reg_cachehook.c b/source3/registry/reg_cachehook.c
index cbb7ec6b92..87bbdf504f 100644
--- a/source3/registry/reg_cachehook.c
+++ b/source3/registry/reg_cachehook.c
@@ -23,7 +23,7 @@
#include "adt_tree.h"
#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_RPC_SRV
+#define DBGC_CLASS DBGC_REGISTRY
static SORTED_TREE *cache_tree;
extern REGISTRY_OPS regdb_ops; /* these are the default */
diff --git a/source3/registry/reg_db.c b/source3/registry/reg_db.c
index 44e20908a4..8d1271df8b 100644
--- a/source3/registry/reg_db.c
+++ b/source3/registry/reg_db.c
@@ -22,7 +22,7 @@
#include "includes.h"
#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_RPC_SRV
+#define DBGC_CLASS DBGC_REGISTRY
static struct tdb_wrap *tdb_reg = NULL;
static int tdb_refcount;
diff --git a/source3/registry/reg_dynamic.c b/source3/registry/reg_dynamic.c
index 1f61d5b5ff..da12b1debb 100644
--- a/source3/registry/reg_dynamic.c
+++ b/source3/registry/reg_dynamic.c
@@ -22,7 +22,7 @@
#include "includes.h"
#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_RPC_SRV
+#define DBGC_CLASS DBGC_REGISTRY
struct reg_dyn_values {
const char *path;
diff --git a/source3/registry/reg_eventlog.c b/source3/registry/reg_eventlog.c
index e1b4f7b49e..e995ed2e96 100644
--- a/source3/registry/reg_eventlog.c
+++ b/source3/registry/reg_eventlog.c
@@ -22,6 +22,8 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_REGISTRY
/**********************************************************************
for an eventlog, add in the default values
diff --git a/source3/registry/reg_frontend.c b/source3/registry/reg_frontend.c
index 0c81d0a905..1a82db3673 100644
--- a/source3/registry/reg_frontend.c
+++ b/source3/registry/reg_frontend.c
@@ -22,7 +22,7 @@
#include "includes.h"
#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_RPC_SRV
+#define DBGC_CLASS DBGC_REGISTRY
extern REGISTRY_OPS printing_ops;
extern REGISTRY_OPS eventlog_ops;
diff --git a/source3/registry/reg_frontend_hilvl.c b/source3/registry/reg_frontend_hilvl.c
index bc2f66f25a..4ed409353f 100644
--- a/source3/registry/reg_frontend_hilvl.c
+++ b/source3/registry/reg_frontend_hilvl.c
@@ -25,6 +25,8 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_REGISTRY
static struct generic_mapping reg_generic_map =
{ REG_KEY_READ, REG_KEY_WRITE, REG_KEY_EXECUTE, REG_KEY_ALL };
diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c
index 5b294abb90..18eb6048ff 100644
--- a/source3/registry/reg_objects.c
+++ b/source3/registry/reg_objects.c
@@ -22,7 +22,7 @@
#include "includes.h"
#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_RPC_SRV
+#define DBGC_CLASS DBGC_REGISTRY
/**********************************************************************
diff --git a/source3/registry/reg_perfcount.c b/source3/registry/reg_perfcount.c
index ce67b68a83..afa1bf30e5 100644
--- a/source3/registry/reg_perfcount.c
+++ b/source3/registry/reg_perfcount.c
@@ -22,7 +22,7 @@
#include "includes.h"
#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_RPC_SRV
+#define DBGC_CLASS DBGC_REGISTRY
#define PERFCOUNT_MAX_LEN 256
diff --git a/source3/registry/reg_printing.c b/source3/registry/reg_printing.c
index 0cc134d034..3ced400721 100644
--- a/source3/registry/reg_printing.c
+++ b/source3/registry/reg_printing.c
@@ -22,7 +22,7 @@
#include "includes.h"
#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_RPC_SRV
+#define DBGC_CLASS DBGC_REGISTRY
/* registrt paths used in the print_registry[] */
diff --git a/source3/registry/reg_shares.c b/source3/registry/reg_shares.c
index be9f8dcb61..09691bc26a 100644
--- a/source3/registry/reg_shares.c
+++ b/source3/registry/reg_shares.c
@@ -22,7 +22,7 @@
#include "includes.h"
#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_RPC_SRV
+#define DBGC_CLASS DBGC_REGISTRY
/**********************************************************************
It is safe to assume that every registry path passed into on of
diff --git a/source3/registry/reg_smbconf.c b/source3/registry/reg_smbconf.c
index 09d11dd969..448d1d77e0 100644
--- a/source3/registry/reg_smbconf.c
+++ b/source3/registry/reg_smbconf.c
@@ -21,7 +21,7 @@
#include "includes.h"
#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_RPC_SRV
+#define DBGC_CLASS DBGC_REGISTRY
extern REGISTRY_OPS regdb_ops; /* these are the default */
diff --git a/source3/registry/reg_util.c b/source3/registry/reg_util.c
index 703ad7cb57..e911d6af8c 100644
--- a/source3/registry/reg_util.c
+++ b/source3/registry/reg_util.c
@@ -22,7 +22,7 @@
#include "includes.h"
#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_RPC_SRV
+#define DBGC_CLASS DBGC_REGISTRY
/***********************************************************************
Utility function for splitting the base path of a registry path off
diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c
index 16c4e3f311..6dca0ba862 100644
--- a/source3/registry/regfio.c
+++ b/source3/registry/regfio.c
@@ -20,6 +20,9 @@
#include "includes.h"
#include "regfio.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_REGISTRY
+
/*******************************************************************
*
* TODO : Right now this code basically ignores classnames.