diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/registry/reg_api.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c index cef14e2ca1..744e5eb6e3 100644 --- a/source3/registry/reg_api.c +++ b/source3/registry/reg_api.c @@ -24,6 +24,11 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_REGISTRY + +/********************************************************************** + * Helper functions + **********************************************************************/ + static WERROR fill_value_cache(struct registry_key *key) { if (key->values != NULL) { @@ -186,6 +191,11 @@ WERROR reg_openhive(TALLOC_CTX *mem_ctx, const char *hive, pkey); } + +/********************************************************************** + * The API functions + **********************************************************************/ + WERROR reg_openkey(TALLOC_CTX *mem_ctx, struct registry_key *parent, const char *name, uint32 desired_access, struct registry_key **pkey) @@ -627,6 +637,11 @@ WERROR reg_deletevalue(struct registry_key *key, const char *name) return WERR_OK; } + +/********************************************************************** + * Higher level utility functions + **********************************************************************/ + WERROR reg_deleteallvalues(struct registry_key *key) { WERROR err; |