diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-09-08 13:44:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:35 -0500 |
commit | 93454ff3d8177fb71443808f01740dbbe7e46dd8 (patch) | |
tree | 6394eb6a72b7c318788b4636dd7995a9154322f9 /source4/lib/registry/common | |
parent | ec952cde0501b15c5e14a3c06333f97dc77dc1f0 (diff) | |
download | samba-93454ff3d8177fb71443808f01740dbbe7e46dd8.tar.gz samba-93454ff3d8177fb71443808f01740dbbe7e46dd8.tar.bz2 samba-93454ff3d8177fb71443808f01740dbbe7e46dd8.zip |
r2257: Tab completion support in regshell (complete command names and key names
in the current key)
(This used to be commit 83f9f8eaa4825bb49e2b160a1a810080ecae4d39)
Diffstat (limited to 'source4/lib/registry/common')
-rw-r--r-- | source4/lib/registry/common/reg_objects.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/lib/registry/common/reg_objects.c b/source4/lib/registry/common/reg_objects.c index d042c74e47..d911b4650b 100644 --- a/source4/lib/registry/common/reg_objects.c +++ b/source4/lib/registry/common/reg_objects.c @@ -103,6 +103,16 @@ char *reg_key_name( REG_KEY *key ) return key->name; } +char *reg_key_class( REG_KEY *key ) +{ + return key->class_name; +} + +NTTIME reg_key_last_modified( REG_KEY *key ) +{ + return key->last_mod; +} + REG_KEY *reg_key_dup(REG_KEY *key) { key->ref++; |