diff options
author | Gerald (Jerry) Carter <jerry@samba.org> | 2008-01-14 15:10:14 -0600 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2008-01-14 15:10:14 -0600 |
commit | 9a50c929ba0de8c0d1f7fc515cc6b3d954a6c9d7 (patch) | |
tree | bfe689a52df86b727fe29cc59d8ef30b21ca8d3b /source3/registry/reg_frontend_hilvl.c | |
parent | 582bd8071f168190e0cf1f6d1637f79ebee287c3 (diff) | |
parent | edd4cb0373a668c422b3aa2a460c1004682f3d1d (diff) | |
download | samba-9a50c929ba0de8c0d1f7fc515cc6b3d954a6c9d7.tar.gz samba-9a50c929ba0de8c0d1f7fc515cc6b3d954a6c9d7.tar.bz2 samba-9a50c929ba0de8c0d1f7fc515cc6b3d954a6c9d7.zip |
Merge commit 'samba/v3-2-test' into v3-2-stable
(This used to be commit bb36b74a4e8fa63672031145b6d39d79468241d9)
Diffstat (limited to 'source3/registry/reg_frontend_hilvl.c')
-rw-r--r-- | source3/registry/reg_frontend_hilvl.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/source3/registry/reg_frontend_hilvl.c b/source3/registry/reg_frontend_hilvl.c index a4b78b24c0..73fcf87e17 100644 --- a/source3/registry/reg_frontend_hilvl.c +++ b/source3/registry/reg_frontend_hilvl.c @@ -214,3 +214,32 @@ WERROR regkey_set_secdesc(REGISTRY_KEY *key, return WERR_ACCESS_DENIED; } + +/** + * Check whether the in-memory version of the subkyes of a + * registry key needs update from disk. + */ +bool reg_subkeys_need_update(REGISTRY_KEY *key, REGSUBKEY_CTR *subkeys) +{ + if (key->hook && key->hook->ops && key->hook->ops->subkeys_need_update) + { + return key->hook->ops->subkeys_need_update(subkeys); + } + + return false; +} + +/** + * Check whether the in-memory version of the values of a + * registry key needs update from disk. + */ +bool reg_values_need_update(REGISTRY_KEY *key, REGVAL_CTR *values) +{ + if (key->hook && key->hook->ops && key->hook->ops->values_need_update) + { + return key->hook->ops->values_need_update(values); + } + + return false; +} + |