summaryrefslogtreecommitdiff
path: root/source3/registry/reg_db.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-09-02 00:34:12 +0200
committerMichael Adam <obnox@samba.org>2011-09-02 10:17:20 +0200
commitfff30e9f88f404bf3521f892e325222b2e8773aa (patch)
treef2f5d510f6d995d99f3c76d6fcdfafea2b3eef31 /source3/registry/reg_db.h
parent39c6de28fa5bdbd32c465a08e589deee3ee2c074 (diff)
downloadsamba-fff30e9f88f404bf3521f892e325222b2e8773aa.tar.gz
samba-fff30e9f88f404bf3521f892e325222b2e8773aa.tar.bz2
samba-fff30e9f88f404bf3521f892e325222b2e8773aa.zip
s3:registry: introduce a define REGDB_CODE_VERSION and use it in regdb code.
This is to not use the precise code version REGDB_VERSION_V3 explicitly in the code.
Diffstat (limited to 'source3/registry/reg_db.h')
-rw-r--r--source3/registry/reg_db.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/registry/reg_db.h b/source3/registry/reg_db.h
index 9782c1eab4..d0d9fd3931 100644
--- a/source3/registry/reg_db.h
+++ b/source3/registry/reg_db.h
@@ -27,6 +27,8 @@
#define REGDB_VERSION_V3 3 /* different definition of key existence, */
/* sorted subkeys cache removed. */
+#define REGDB_CODE_VERSION REGDB_VERSION_V3
+
#define REG_VALUE_PREFIX "SAMBA_REGVAL"
#define REG_SECDESC_PREFIX "SAMBA_SECDESC"
#define REG_SORTED_SUBKEYS_PREFIX "SAMBA_SORTED_SUBKEYS"