From 43ca04918a5a1b2379083dc624b346ceb8476a38 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Fri, 28 Sep 2007 23:05:52 +0000 Subject: [PATCH] r25417: Use DBGC_REGISTRY class. Guenther --- source/lib/util_reg.c | 3 +++ source/lib/util_reg_api.c | 3 +++ source/lib/util_reg_smbconf.c | 3 +++ source/registry/reg_api.c | 3 +++ source/registry/reg_cachehook.c | 2 +- source/registry/reg_db.c | 2 +- source/registry/reg_dynamic.c | 2 +- source/registry/reg_eventlog.c | 2 ++ source/registry/reg_frontend.c | 2 +- source/registry/reg_frontend_hilvl.c | 2 ++ source/registry/reg_objects.c | 2 +- source/registry/reg_perfcount.c | 2 +- source/registry/reg_printing.c | 2 +- source/registry/reg_shares.c | 2 +- source/registry/reg_smbconf.c | 2 +- source/registry/reg_util.c | 2 +- source/registry/regfio.c | 3 +++ 17 files changed, 29 insertions(+), 10 deletions(-) diff --git a/source/lib/util_reg.c b/source/lib/util_reg.c index ba4579f5324..c319d7d31f0 100644 --- a/source/lib/util_reg.c +++ b/source/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/source/lib/util_reg_api.c b/source/lib/util_reg_api.c index 243499cb991..fccc38ebc01 100644 --- a/source/lib/util_reg_api.c +++ b/source/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/source/lib/util_reg_smbconf.c b/source/lib/util_reg_smbconf.c index 43006643a9b..6b5a6af0d43 100644 --- a/source/lib/util_reg_smbconf.c +++ b/source/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/source/registry/reg_api.c b/source/registry/reg_api.c index 93ac8a9c2aa..8b832cfa917 100644 --- a/source/registry/reg_api.c +++ b/source/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/source/registry/reg_cachehook.c b/source/registry/reg_cachehook.c index cbb7ec6b92b..87bbdf504fc 100644 --- a/source/registry/reg_cachehook.c +++ b/source/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/source/registry/reg_db.c b/source/registry/reg_db.c index 44e20908a46..8d1271df8b8 100644 --- a/source/registry/reg_db.c +++ b/source/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/source/registry/reg_dynamic.c b/source/registry/reg_dynamic.c index 1f61d5b5ff8..da12b1debbf 100644 --- a/source/registry/reg_dynamic.c +++ b/source/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/source/registry/reg_eventlog.c b/source/registry/reg_eventlog.c index e1b4f7b49e7..e995ed2e964 100644 --- a/source/registry/reg_eventlog.c +++ b/source/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/source/registry/reg_frontend.c b/source/registry/reg_frontend.c index 0c81d0a9053..1a82db3673b 100644 --- a/source/registry/reg_frontend.c +++ b/source/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/source/registry/reg_frontend_hilvl.c b/source/registry/reg_frontend_hilvl.c index bc2f66f25a7..4ed409353f8 100644 --- a/source/registry/reg_frontend_hilvl.c +++ b/source/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/source/registry/reg_objects.c b/source/registry/reg_objects.c index 5b294abb904..18eb6048ffe 100644 --- a/source/registry/reg_objects.c +++ b/source/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/source/registry/reg_perfcount.c b/source/registry/reg_perfcount.c index ce67b68a835..afa1bf30e51 100644 --- a/source/registry/reg_perfcount.c +++ b/source/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/source/registry/reg_printing.c b/source/registry/reg_printing.c index 0cc134d0343..3ced400721a 100644 --- a/source/registry/reg_printing.c +++ b/source/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/source/registry/reg_shares.c b/source/registry/reg_shares.c index be9f8dcb61a..09691bc26a8 100644 --- a/source/registry/reg_shares.c +++ b/source/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/source/registry/reg_smbconf.c b/source/registry/reg_smbconf.c index 09d11dd969b..448d1d77e0d 100644 --- a/source/registry/reg_smbconf.c +++ b/source/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/source/registry/reg_util.c b/source/registry/reg_util.c index 703ad7cb57d..e911d6af8c0 100644 --- a/source/registry/reg_util.c +++ b/source/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/source/registry/regfio.c b/source/registry/regfio.c index 16c4e3f3118..6dca0ba8620 100644 --- a/source/registry/regfio.c +++ b/source/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. -- 2.34.1