summaryrefslogtreecommitdiff
path: root/source4/lib/registry/common/registry.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-04-05 10:28:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:50:40 -0500
commit5c49a23a298d37462fc81b470ac35a3fb0ff631e (patch)
tree402a6a8cf0d6c9f8e79e97e84b36d70644d166de /source4/lib/registry/common/registry.h
parent2e022b2c857b982cc0622fe0df414368c8af0af9 (diff)
downloadsamba-5c49a23a298d37462fc81b470ac35a3fb0ff631e.tar.gz
samba-5c49a23a298d37462fc81b470ac35a3fb0ff631e.tar.bz2
samba-5c49a23a298d37462fc81b470ac35a3fb0ff631e.zip
r36: - Start using memory pools in the registry library
- Remove obsolete file (This used to be commit d85b8fb3b74b236fb03cf0931a0f585eec74536a)
Diffstat (limited to 'source4/lib/registry/common/registry.h')
-rw-r--r--source4/lib/registry/common/registry.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/registry/common/registry.h b/source4/lib/registry/common/registry.h
index 4b29006217..3565a7a585 100644
--- a/source4/lib/registry/common/registry.h
+++ b/source4/lib/registry/common/registry.h
@@ -40,6 +40,7 @@ struct reg_key_s {
int cache_values_count;
REG_KEY **cache_subkeys;
int cache_subkeys_count;
+ TALLOC_CTX *mem_ctx;
int ref;
};
@@ -52,6 +53,7 @@ struct reg_val_s {
REG_HANDLE *handle;
REG_KEY *parent;
void *backend_data;
+ TALLOC_CTX *mem_ctx;
int ref;
};
@@ -107,6 +109,7 @@ struct reg_handle_s {
REG_SUBTREE *subtrees;
char *location;
void *backend_data;
+ TALLOC_CTX *mem_ctx;
};
struct reg_init_function_entry {