summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-17 00:57:53 +0100
committerMichael Adam <obnox@samba.org>2008-01-17 16:25:11 +0100
commitb6eaf05479fb757da5e8a717c02a6f6c44c42ab5 (patch)
treefe629183fb84d6e336d3b4320f5834cd1d6cfb2b
parent1a15320dcdf72884a4250d535e46315bcf1aa9ee (diff)
downloadsamba-b6eaf05479fb757da5e8a717c02a6f6c44c42ab5.tar.gz
samba-b6eaf05479fb757da5e8a717c02a6f6c44c42ab5.tar.xz
samba-b6eaf05479fb757da5e8a717c02a6f6c44c42ab5.zip
Add some sectioning comments to reg_api.c
Michael (This used to be commit d3c9c273740b42e5da101f53d4df3aee70cdacf7)
-rw-r--r--source3/registry/reg_api.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c
index cef14e2ca10..744e5eb6e30 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;