mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Add some sectioning comments to reg_api.c
Michael
This commit is contained in:
parent
3e66127322
commit
d3c9c27374
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user