1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-29 16:23:52 +03:00

r26689: registry: Return max_subkeynamelen, max_valnamelen and max_valbufsize in getkeyinfo().

This commit is contained in:
Jelmer Vernooij
2008-01-07 14:11:29 -06:00
committed by Stefan Metzmacher
parent 846876ad32
commit b06896d237
14 changed files with 174 additions and 45 deletions

View File

@@ -266,13 +266,17 @@ static WERROR local_get_key_info(TALLOC_CTX *mem_ctx,
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)
{
const struct local_key *local = (const struct local_key *)key;
return hive_key_get_info(mem_ctx, local->hive_key,
classname, num_subkeys, num_values,
last_change_time);
last_change_time, max_subkeynamelen,
max_valnamelen, max_valbufsize);
}
const static struct registry_operations local_ops = {