summaryrefslogtreecommitdiff
path: root/source4/lib/registry/registry.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-29 11:51:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:11 -0500
commit5e7a0fb5349422cfb782c0348f98505011d27391 (patch)
tree18f04740785403e0566ce3675178543b83ef9737 /source4/lib/registry/registry.h
parent0e90afb4e7737d60d902aee1df4cbeb85a7b693d (diff)
downloadsamba-5e7a0fb5349422cfb782c0348f98505011d27391.tar.gz
samba-5e7a0fb5349422cfb782c0348f98505011d27391.tar.bz2
samba-5e7a0fb5349422cfb782c0348f98505011d27391.zip
r10604: Put in the new registry "patchfile" code (similar to ldif
for LDB); not finished yet. (This used to be commit b405b27ba4bf4ddbaff9ca58926d94d1b2fd09f6)
Diffstat (limited to 'source4/lib/registry/registry.h')
-rw-r--r--source4/lib/registry/registry.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/source4/lib/registry/registry.h b/source4/lib/registry/registry.h
index 69f3606736..ebfb2caf5c 100644
--- a/source4/lib/registry/registry.h
+++ b/source4/lib/registry/registry.h
@@ -138,4 +138,27 @@ struct reg_init_function_entry {
struct reg_init_function_entry *prev, *next;
};
+struct reg_diff_value
+{
+ char *name;
+ enum { REG_DIFF_DEL_VAL, REG_DIFF_SET_VAL } changetype;
+ uint32_t type;
+ DATA_BLOB data;
+};
+
+struct reg_diff_key
+{
+ char *name;
+ enum { REG_DIFF_CHANGE_KEY, REG_DIFF_DEL_KEY } changetype;
+ uint32_t numvalues;
+ struct reg_diff_value *values;
+};
+
+struct reg_diff
+{
+ char *format;
+ uint32_t numkeys;
+ struct reg_diff_key *keys;
+};
+
#endif /* _REGISTRY_H */