summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-07-15 22:27:07 +0000
committerGerald Carter <jerry@samba.org>2002-07-15 22:27:07 +0000
commit78750803d09fdef3e878e73da98d3e7bc338fcb5 (patch)
tree967242d55dee4b4c42358e15bd6b5b1bae4f4136 /source3/include
parentf8db5303395225f6c14c8f2e383a83adbd970df9 (diff)
downloadsamba-78750803d09fdef3e878e73da98d3e7bc338fcb5.tar.gz
samba-78750803d09fdef3e878e73da98d3e7bc338fcb5.tar.bz2
samba-78750803d09fdef3e878e73da98d3e7bc338fcb5.zip
splitting off storage/retrieval routines for abstracting the
registry view front end. Now to plug in the various hooks. (This used to be commit 9772acd9ad44af2800dfb9d8610c2d5c23eaceb4)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_reg.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/include/rpc_reg.h b/source3/include/rpc_reg.h
index 3f3db0f2ba..8ebfc888ed 100644
--- a/source3/include/rpc_reg.h
+++ b/source3/include/rpc_reg.h
@@ -63,6 +63,10 @@
#define HKEY_LOCAL_MACHINE 0x80000002
#define HKEY_USERS 0x80000003
+#define KEY_HKLM "HKLM"
+#define KEY_HKU "HKU"
+
+
/* Registry data types */
#define REG_NONE 0
@@ -82,6 +86,18 @@
#define REG_FORCE_SHUTDOWN 0x001
#define REG_REBOOT_ON_SHUTDOWN 0x100
+/* structure to store the registry handles */
+
+typedef struct _RegistryKey {
+
+ struct _RegistryKey *prev, *next;
+
+ fstring name; /* name of registry key */
+ POLICY_HND hnd;
+
+} Registry_Key;
+
+
/* REG_Q_OPEN_HKCR */
typedef struct q_reg_open_hkcr_info
{