summaryrefslogtreecommitdiff
path: root/source4/lib/registry/registry.h
diff options
context:
space:
mode:
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 */