From 6334c7cc5f686a6c13063190986914482f54784f Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 28 Sep 2007 23:05:52 +0000 Subject: r25417: Use DBGC_REGISTRY class. Guenther (This used to be commit 43ca04918a5a1b2379083dc624b346ceb8476a38) --- source3/lib/util_reg.c | 3 +++ source3/lib/util_reg_api.c | 3 +++ source3/lib/util_reg_smbconf.c | 3 +++ source3/registry/reg_api.c | 3 +++ source3/registry/reg_cachehook.c | 2 +- source3/registry/reg_db.c | 2 +- source3/registry/reg_dynamic.c | 2 +- source3/registry/reg_eventlog.c | 2 ++ source3/registry/reg_frontend.c | 2 +- source3/registry/reg_frontend_hilvl.c | 2 ++ source3/registry/reg_objects.c | 2 +- source3/registry/reg_perfcount.c | 2 +- source3/registry/reg_printing.c | 2 +- source3/registry/reg_shares.c | 2 +- source3/registry/reg_smbconf.c | 2 +- source3/registry/reg_util.c | 2 +- source3/registry/regfio.c | 3 +++ 17 files changed, 29 insertions(+), 10 deletions(-) (limited to 'source3') diff --git a/source3/lib/util_reg.c b/source3/lib/util_reg.c index ba4579f532..c319d7d31f 100644 --- a/source3/lib/util_reg.c +++ b/source3/lib/util_reg.c @@ -19,6 +19,9 @@ #include "includes.h" +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_REGISTRY + extern REGISTRY_OPS smbconf_reg_ops; const char *reg_type_lookup(enum winreg_Type type) diff --git a/source3/lib/util_reg_api.c b/source3/lib/util_reg_api.c index 243499cb99..fccc38ebc0 100644 --- a/source3/lib/util_reg_api.c +++ b/source3/lib/util_reg_api.c @@ -19,6 +19,9 @@ #include "includes.h" +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_REGISTRY + WERROR registry_pull_value(TALLOC_CTX *mem_ctx, struct registry_value **pvalue, enum winreg_Type type, uint8 *data, diff --git a/source3/lib/util_reg_smbconf.c b/source3/lib/util_reg_smbconf.c index 43006643a9..6b5a6af0d4 100644 --- a/source3/lib/util_reg_smbconf.c +++ b/source3/lib/util_reg_smbconf.c @@ -19,6 +19,9 @@ #include "includes.h" +#undef DBGC_CLASS +#define DBGC_CLASS DBGC_REGISTRY + extern REGISTRY_OPS smbconf_reg_ops; /* 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. -- cgit