summaryrefslogtreecommitdiff
path: root/source4/lib/registry/hive.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-07 14:11:29 -0600
committerStefan Metzmacher <metze@samba.org>2008-01-07 08:18:07 -0600
commit47f6bbf8cf5bdd03c72c59d00e3e1eab8895590e (patch)
treeffbfa1586fa70dd22422e8e697985af51ec75fd4 /source4/lib/registry/hive.h
parent7f8276b06d5000d12c0d64167853a033b924af32 (diff)
downloadsamba-47f6bbf8cf5bdd03c72c59d00e3e1eab8895590e.tar.gz
samba-47f6bbf8cf5bdd03c72c59d00e3e1eab8895590e.tar.bz2
samba-47f6bbf8cf5bdd03c72c59d00e3e1eab8895590e.zip
r26689: registry: Return max_subkeynamelen, max_valnamelen and max_valbufsize in getkeyinfo().
(This used to be commit b06896d2378e536f5044dbe500a5232a89d6d0b5)
Diffstat (limited to 'source4/lib/registry/hive.h')
-rw-r--r--source4/lib/registry/hive.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/source4/lib/registry/hive.h b/source4/lib/registry/hive.h
index 1e05f6b013..6d9a69c7c5 100644
--- a/source4/lib/registry/hive.h
+++ b/source4/lib/registry/hive.h
@@ -135,7 +135,10 @@ struct hive_operations {
const char **classname,
uint32_t *num_subkeys,
uint32_t *num_values,
- NTTIME *last_change_time);
+ NTTIME *last_change_time,
+ uint32_t *max_subkeynamelen,
+ uint32_t *max_valnamelen,
+ uint32_t *max_valbufsize);
};
struct cli_credentials;
@@ -148,8 +151,9 @@ WERROR reg_open_hive(TALLOC_CTX *parent_ctx, const char *location,
struct hive_key **root);
WERROR hive_key_get_info(TALLOC_CTX *mem_ctx, const struct hive_key *key,
const char **classname, uint32_t *num_subkeys,
- uint32_t *num_values,
- NTTIME *last_change_time);
+ uint32_t *num_values, NTTIME *last_change_time,
+ uint32_t *max_subkeynamelen,
+ uint32_t *max_valnamelen, uint32_t *max_valbufsize);
WERROR hive_key_add_name(TALLOC_CTX *ctx, const struct hive_key *parent_key,
const char *name, const char *classname,
struct security_descriptor *desc,