svn commit: samba r25417 - in branches: SAMBA_3_2/source/lib
SAMBA_3_2/source/registry SAMBA_3_2_0/source/lib
SAMBA_3_2_0/source/registry
gd at samba.org
gd at samba.org
Fri Sep 28 23:05:56 GMT 2007
Author: gd
Date: 2007-09-28 23:05:52 +0000 (Fri, 28 Sep 2007)
New Revision: 25417
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25417
Log:
Use DBGC_REGISTRY class.
Guenther
Modified:
branches/SAMBA_3_2/source/lib/util_reg.c
branches/SAMBA_3_2/source/lib/util_reg_api.c
branches/SAMBA_3_2/source/lib/util_reg_smbconf.c
branches/SAMBA_3_2/source/registry/reg_api.c
branches/SAMBA_3_2/source/registry/reg_cachehook.c
branches/SAMBA_3_2/source/registry/reg_db.c
branches/SAMBA_3_2/source/registry/reg_dynamic.c
branches/SAMBA_3_2/source/registry/reg_eventlog.c
branches/SAMBA_3_2/source/registry/reg_frontend.c
branches/SAMBA_3_2/source/registry/reg_frontend_hilvl.c
branches/SAMBA_3_2/source/registry/reg_objects.c
branches/SAMBA_3_2/source/registry/reg_perfcount.c
branches/SAMBA_3_2/source/registry/reg_printing.c
branches/SAMBA_3_2/source/registry/reg_shares.c
branches/SAMBA_3_2/source/registry/reg_smbconf.c
branches/SAMBA_3_2/source/registry/reg_util.c
branches/SAMBA_3_2/source/registry/regfio.c
branches/SAMBA_3_2_0/source/lib/util_reg.c
branches/SAMBA_3_2_0/source/lib/util_reg_api.c
branches/SAMBA_3_2_0/source/lib/util_reg_smbconf.c
branches/SAMBA_3_2_0/source/registry/reg_api.c
branches/SAMBA_3_2_0/source/registry/reg_cachehook.c
branches/SAMBA_3_2_0/source/registry/reg_db.c
branches/SAMBA_3_2_0/source/registry/reg_dynamic.c
branches/SAMBA_3_2_0/source/registry/reg_eventlog.c
branches/SAMBA_3_2_0/source/registry/reg_frontend.c
branches/SAMBA_3_2_0/source/registry/reg_frontend_hilvl.c
branches/SAMBA_3_2_0/source/registry/reg_objects.c
branches/SAMBA_3_2_0/source/registry/reg_perfcount.c
branches/SAMBA_3_2_0/source/registry/reg_printing.c
branches/SAMBA_3_2_0/source/registry/reg_shares.c
branches/SAMBA_3_2_0/source/registry/reg_smbconf.c
branches/SAMBA_3_2_0/source/registry/reg_util.c
branches/SAMBA_3_2_0/source/registry/regfio.c
Changeset:
Modified: branches/SAMBA_3_2/source/lib/util_reg.c
===================================================================
--- branches/SAMBA_3_2/source/lib/util_reg.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/lib/util_reg.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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)
Modified: branches/SAMBA_3_2/source/lib/util_reg_api.c
===================================================================
--- branches/SAMBA_3_2/source/lib/util_reg_api.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/lib/util_reg_api.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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,
Modified: branches/SAMBA_3_2/source/lib/util_reg_smbconf.c
===================================================================
--- branches/SAMBA_3_2/source/lib/util_reg_smbconf.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/lib/util_reg_smbconf.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -19,6 +19,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_REGISTRY
+
extern REGISTRY_OPS smbconf_reg_ops;
/*
Modified: branches/SAMBA_3_2/source/registry/reg_api.c
===================================================================
--- branches/SAMBA_3_2/source/registry/reg_api.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/registry/reg_api.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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) {
Modified: branches/SAMBA_3_2/source/registry/reg_cachehook.c
===================================================================
--- branches/SAMBA_3_2/source/registry/reg_cachehook.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/registry/reg_cachehook.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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 */
Modified: branches/SAMBA_3_2/source/registry/reg_db.c
===================================================================
--- branches/SAMBA_3_2/source/registry/reg_db.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/registry/reg_db.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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;
Modified: branches/SAMBA_3_2/source/registry/reg_dynamic.c
===================================================================
--- branches/SAMBA_3_2/source/registry/reg_dynamic.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/registry/reg_dynamic.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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;
Modified: branches/SAMBA_3_2/source/registry/reg_eventlog.c
===================================================================
--- branches/SAMBA_3_2/source/registry/reg_eventlog.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/registry/reg_eventlog.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -22,6 +22,8 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_REGISTRY
/**********************************************************************
for an eventlog, add in the default values
Modified: branches/SAMBA_3_2/source/registry/reg_frontend.c
===================================================================
--- branches/SAMBA_3_2/source/registry/reg_frontend.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/registry/reg_frontend.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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;
Modified: branches/SAMBA_3_2/source/registry/reg_frontend_hilvl.c
===================================================================
--- branches/SAMBA_3_2/source/registry/reg_frontend_hilvl.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/registry/reg_frontend_hilvl.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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 };
Modified: branches/SAMBA_3_2/source/registry/reg_objects.c
===================================================================
--- branches/SAMBA_3_2/source/registry/reg_objects.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/registry/reg_objects.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -22,7 +22,7 @@
#include "includes.h"
#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_RPC_SRV
+#define DBGC_CLASS DBGC_REGISTRY
/**********************************************************************
Modified: branches/SAMBA_3_2/source/registry/reg_perfcount.c
===================================================================
--- branches/SAMBA_3_2/source/registry/reg_perfcount.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/registry/reg_perfcount.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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
Modified: branches/SAMBA_3_2/source/registry/reg_printing.c
===================================================================
--- branches/SAMBA_3_2/source/registry/reg_printing.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/registry/reg_printing.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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[] */
Modified: branches/SAMBA_3_2/source/registry/reg_shares.c
===================================================================
--- branches/SAMBA_3_2/source/registry/reg_shares.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/registry/reg_shares.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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
Modified: branches/SAMBA_3_2/source/registry/reg_smbconf.c
===================================================================
--- branches/SAMBA_3_2/source/registry/reg_smbconf.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/registry/reg_smbconf.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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 */
Modified: branches/SAMBA_3_2/source/registry/reg_util.c
===================================================================
--- branches/SAMBA_3_2/source/registry/reg_util.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/registry/reg_util.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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
Modified: branches/SAMBA_3_2/source/registry/regfio.c
===================================================================
--- branches/SAMBA_3_2/source/registry/regfio.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2/source/registry/regfio.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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.
Modified: branches/SAMBA_3_2_0/source/lib/util_reg.c
===================================================================
--- branches/SAMBA_3_2_0/source/lib/util_reg.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/lib/util_reg.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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)
Modified: branches/SAMBA_3_2_0/source/lib/util_reg_api.c
===================================================================
--- branches/SAMBA_3_2_0/source/lib/util_reg_api.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/lib/util_reg_api.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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,
Modified: branches/SAMBA_3_2_0/source/lib/util_reg_smbconf.c
===================================================================
--- branches/SAMBA_3_2_0/source/lib/util_reg_smbconf.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/lib/util_reg_smbconf.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -19,6 +19,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_REGISTRY
+
extern REGISTRY_OPS smbconf_reg_ops;
/*
Modified: branches/SAMBA_3_2_0/source/registry/reg_api.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/reg_api.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/registry/reg_api.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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) {
Modified: branches/SAMBA_3_2_0/source/registry/reg_cachehook.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/reg_cachehook.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/registry/reg_cachehook.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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 */
Modified: branches/SAMBA_3_2_0/source/registry/reg_db.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/reg_db.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/registry/reg_db.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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;
Modified: branches/SAMBA_3_2_0/source/registry/reg_dynamic.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/reg_dynamic.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/registry/reg_dynamic.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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;
Modified: branches/SAMBA_3_2_0/source/registry/reg_eventlog.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/reg_eventlog.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/registry/reg_eventlog.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -22,6 +22,8 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_REGISTRY
/**********************************************************************
for an eventlog, add in the default values
Modified: branches/SAMBA_3_2_0/source/registry/reg_frontend.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/reg_frontend.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/registry/reg_frontend.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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;
Modified: branches/SAMBA_3_2_0/source/registry/reg_frontend_hilvl.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/reg_frontend_hilvl.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/registry/reg_frontend_hilvl.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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 };
Modified: branches/SAMBA_3_2_0/source/registry/reg_objects.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/reg_objects.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/registry/reg_objects.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -22,7 +22,7 @@
#include "includes.h"
#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_RPC_SRV
+#define DBGC_CLASS DBGC_REGISTRY
/**********************************************************************
Modified: branches/SAMBA_3_2_0/source/registry/reg_perfcount.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/reg_perfcount.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/registry/reg_perfcount.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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
Modified: branches/SAMBA_3_2_0/source/registry/reg_printing.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/reg_printing.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/registry/reg_printing.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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[] */
Modified: branches/SAMBA_3_2_0/source/registry/reg_shares.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/reg_shares.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/registry/reg_shares.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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
Modified: branches/SAMBA_3_2_0/source/registry/reg_smbconf.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/reg_smbconf.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/registry/reg_smbconf.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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 */
Modified: branches/SAMBA_3_2_0/source/registry/reg_util.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/reg_util.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/registry/reg_util.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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
Modified: branches/SAMBA_3_2_0/source/registry/regfio.c
===================================================================
--- branches/SAMBA_3_2_0/source/registry/regfio.c 2007-09-28 23:03:08 UTC (rev 25416)
+++ branches/SAMBA_3_2_0/source/registry/regfio.c 2007-09-28 23:05:52 UTC (rev 25417)
@@ -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.
More information about the samba-cvs
mailing list